Hi all.
I'm new to all that qmail stuff, but I got through the installation of
qmail, vpopmail and relay-ctrl. Nearly everything works fine, but...
Before I installed relay-ctrl, smtpd interactet with the rcpthosts-file
and told unconfigured domains "this domain is not in my rcpthosts-file".
After installing relay-ctrl the mailer accepts *every* mail but didn't
send them. All the mails to unallowed domainnames (or IPs that didn't
pop before) immediately will be routed to /dev/null. :-)
But I need the "this domain is not in my rcpthosts-file" message,
because many of our clients use MS Outlook, with that great "smtp before
pop"-feature, and all this mails will be received by /dev/null and won't
be sended.
Maybe the fault is in the smtp.rules. I can't use IPs there, cause all
the poeple connect with dynamic IPs.
Here are my smtp.rules:
web:/etc/tcpcontrol # more smtp.rules
:allow,RELAYCLIENT=""
When I use ':deny' instead, no mailserver can connect, and never any
mailserver will pop before. ;-)
Here are other relevant files:
web:/var/qmail/supervise/qmail-smtpd # more run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcpcontrol/smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
web:/var/qmail/supervise/qmail-pop3d # more run
#!/bin/sh
exec env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R 0 pop3 \
/var/qmail/bin/qmail-popup pop.k3-networx.org \
/home/vpopmail/bin/vchkpw /usr/sbin/relay-ctrl-allow \
/var/qmail/bin/qmail-pop3d Maildir 2>&1
web:/etc/tcpcontrol # more smtp.rules
:allow,RELAYCLIENT=""
Keep in mind that relay-ctrl itself is working fine, it records IPs and
these recorded IPs can mail.
Now I've RTFM for half a week, found many websites, checked the
installation again and again and again, but I can't find the outpoint.
:-(
So if someone has a suggestion I would be glad to hear (read) it.
cya,
Tom