Dear All,

 

I know that while we define the relay policy in ~/control/qmail-smtpd.rules,
then qmail can relay mails from the specify IP address, for example:

 

127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-queue"

172.16.0.14:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-queue"

:allow,MAXRCPTCOUNT="0",QMAILQUEUE="/var/qmail/bin/qmail-queue "

 

The above configure allow IP 172.16.0.14 relay all email, I want know is it
possible to control that the IP 172.16.0.14 only allow relay email to the
specify domain name?

 

For example,
172.16.0.14:allow,RELAYCLIENT="",MAILTO="abc.com,yahoo.com",QMAILQUEUE="/var
/qmail/bin/qmail-queue".

 

Thanks.

Best wishes,

 

Dika.Ye



 

Reply via email to