Hello.
I've installed the relaymailfrom patch.
I want to deny any relay except for the domains listed in
control/relaymailfrom.
I'm using the tcpserver. How do I do this?
I have read this :
----------------
To give a client relay access, add an entry to /etc/tcp.smtp like:
IP address of client:allow,RELAYCLIENT=""
Then rebuild the SMTP access database by doing:
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
----------------
But I want to stop all relaying except for the ones listed in relaymailfrom.
Can I do what I want using this?
--------------------
*:allow,RELAYBYADDRESS=""
:deny
---------------------