>You don't need (or want) any deny entries. You're not trying to deny anyone a
>connection to your SMTP server; you're just trying to set RELAYCLIENT for
>certain clients.


Ok .. lets see if I've got this right, .. so if a client makes a smtp connection trough
tcpserver and it's host (ip) does not exist in the tcp.smtp.cdb it will be passed to
qmail-smtpd without the RELAYCLIENT which compares the recipient to rcpthosts
and denies it if it doesn't exist. ? What happens if this variable is set by a 
bootscript
and exported ? .. will the qmail-smtpd read it for every connection and allow relaying
for everyone ? (Just a hypotetic question!)

>If you have a control/rcpthosts file with the hosts you'd like to receive mail
>for and you're running tcpserver with the correct arguments, then it will work
>with the entries in tcp.smtp you've provided above. How are you starting
>tcpserver for qmail-smtpd?


Our control/rcpthosts and control/virtualdomains contains every domain we host, and
the virtualdomains setup works perfectly .. it recieves mail for all hosted domains and
the qmail-pop3d delivers it trough vchkpw without any problems.
Or at least .. that was before tcpserver :)

Here are the startup scripts from rc.local

/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 82 -g 81 0 smtp 
/var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &

/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup pop.intrafish.no 
/home/popusers/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

And here's the tcp.smtp
195.204.144.:allow,RELAYCLIENT=""
193.71.71.:allow,RELAYCLIENT=""
:allow

Now .. I've just tried to remove the two entries in tcp.smtp leaving only the :allow
and rebuild the cdb ... then I relayed a remote message trough the server without any
problems at all. (DOH?)

>tcpserver does work correctly. Most likely, you're not using it correctly.


I don't doubt that one for a second .. that's why I'm seeking help :)

-Roger

Reply via email to