I have just done a fresh install of qmail and vpopmail, on Mandrake 9.1,
following Dave Sill, http://web.infoave.net/~dsill/lwq.html for the qmail
installation. qmail is running fine; i.e. all four daemons are running and
inst_check reports that all is well.
I also managed to install vpopmail and add domains and users. Booth messages
injected locally (using qmail-inject) and incomming messages via smtp (from
KMail on another machine) duely arrive in the appropriate Maildir/new.
However, when I attempt to send to an extern email-address (from KMail) qmail
responds with the error message: "sorry, that domain isn't in my list of
allowed rcpthosts (#5.7.1.)".
OK, the messaage is from qmail, but I think it is related to vpopmail, as I
also have qmail (without vpopmail) running on another PC, and on with that
machine I have no problems sending to external addresses.
I installed vpopmail as follows:
./configure --enable-file-sync=y --enable-roaming-users=y
into /etc/tcp.smtp and added
40 * * * * /home/vpopmail/bin/clearopensmtp 2>&1 /dev/null
The last response to
[vchkpw] smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)
I have also tried that, but it didn't make any difference.
Booth the above response and the vpopmail install instructions mention
but I can find anything about /home/vpopmail/etc/tcp.smtp
What's the latter for?
Any ideas what's wrong?
In case it helps, here is the output from /var/qmail/bin/qmail-showctl:
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 502, 504, 505, 0, 506, 507, 508, 509.
group ids: 502, 503.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mydomain.net.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is mydomain.net.
defaulthost: (Default.) Default host name is mydomain.net.
doublebouncehost: (Default.) 2B recipient host: mydomain.net.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mydomain.net.
helohost: (Default.) SMTP client HELO host name is mydomain.net.
idhost: (Default.) Message-ID host name is mydomain.net.
localiphost: (Default.) Local IP address becomes mydomain.net.
me: My name is mydomain.net.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is mydomain.net.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
SMTP clients may send messages to recipients at mydomain.net.
SMTP clients may send messages to recipients at amotherdomain.net.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mydomain.net.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
Virtual domain: mydomain.net:mydomain.net
Virtual domain: anotherdomain.net:anotherdomain.net
concurrencyincoming: I have no idea what this file does.
rcpthosts.lock: I have no idea what this file does.
defaultdelivery: I have no idea what this file does.
virtualdomains.lock: I have no idea what this file does.