Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail setup woes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ebergstr
n00b
n00b


Joined: 08 Feb 2003
Posts: 1

PostPosted: Sat Feb 08, 2003 8:56 am    Post subject: qmail setup woes Reply with quote

My networking setup is trivial. I am on no local network. My machine is known only as localhost.localdomain. I connect to the internet and I use fetchmail; that's it.

My most difficult problem so far setting up gentoo has been getting fetchmail to work. I had been using it daily before I overwrote RedHat with gentoo a few days ago. I just copied my archived .fetchmailrc and started trying to set up qmail. Here are the steps I've taken so far:

1. unmerged ssmtp
2. emerged qmail
3. as directed by the message displayed when the qmail emerge finished:
3.1 ran "rc-update add /etc/init.d/svscan default" though I'm not sure if that was what I was supposed to do to "enable the /etc/init.d/svscan rc file"
3.2 made the two symbolic links as directed (verbatim)
4. ran "ebuild /usr/portage/net-mail/qmail-1.03-r8 config" blindly hoping for the best -- I saw a similar command suggested in these forums
5. checked out lifewithqmail.org and made a few small changes:
5.1 filled out the various /var/qmail/alias/.qmail-* files (example: echo eric > /var/qmail/alias/.qmail-postmaster)
5.2 for both root and my user account I did "/var/qmail/bin/maildirmake .maildir"
6. ran a few tests:
6.1 tried sending a msg from root to my user account (on the same machine). when I looked at /var/log/qmail/qmail-send/current things looked ok but the message was never received. There were no error messages.
6.2 tried sending a message to one of my non-local email addresses. Again, I got no error message but the mail never arrived and looking in the log file, I found "delivery 1: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/"
7. tried fetchmail and here's what happened: fetchmail found the remote mail server and noticed there were messages to download. then began to download them but failed with this message:

3 messages for b1fzrm23 at pop3.sympatico.ca (14325 octets).
reading message b1fzrm23@pop3.sympatico.ca:1 of 3 (5699 octets) fetchmail: fetchmail: getaddrinfo(localhost.smtp)
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from pop3.sympatico.ca
fetchmail: Query status=10 (SMTP)

Checking the fetchmail man page I found that the status code 10 means:

The fetchmail run failed while trying to do an SMTP port open or transaction.

So now I am at a loss. I hope someone here can help.
Back to top
View user's profile Send private message
jedioetzi
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2003
Posts: 91
Location: Bolzano

PostPosted: Mon Apr 19, 2004 3:23 pm    Post subject: Reply with quote

Hi !

just the same problem :roll:

per default the smtpd in qmail is not started.
add i in the following way:

cd /service
ln -s /var/qmail/supervise/qmail-smtpd qmail-smtpd
/etc/init.d/svscan restart

now it should work!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum