View previous topic :: View next topic |
Author |
Message |
ebergstr n00b
Joined: 08 Feb 2003 Posts: 1
|
Posted: Sat Feb 08, 2003 8:56 am Post subject: qmail setup woes |
|
|
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 |
|
|
jedioetzi Tux's lil' helper
Joined: 15 Jul 2003 Posts: 91 Location: Bolzano
|
Posted: Mon Apr 19, 2004 3:23 pm Post subject: |
|
|
Hi !
just the same problem
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 |
|
|
|