December 19, 2009

omit sender verify

To help clear things up i have put all the instructions together, hope this helps.

1) Create a file that will be the actual whitelist. In this example it is /etc/whitelist_senders - the addresses need to be listed one entry per line, either the email address or use the wildcard to do an entire domain - *@domain.tld
To create the file:
Code:

touch /etc/whitelist_senders


2) in WHM, in the top most edit box add (if there is anything else in the text box add this bellow it):
Code:

addresslist whitelist_senders = wildlsearch;/etc/whitelist_senders

3) still in WHM. scroll down to where there are three text boxes together. This is the begin ACL section. In the middle box scroll down until you find:
Code:

#sender verifications are required for all messages that are not sent to lists

require verify = sender/callout
accept domains = +local_domains
endpass

and change it to:
Code:

#sender verifications are required for all messages that are not sent to lists

deny
!verify = sender/callout
!senders = +whitelist_senders

accept domains = +local_domains
endpass

4) still in the middle box scroll down to the end and change:
Code:

#!!# ACL that is used after the DATA command
check_message:
require verify = header_sender
accept

to this:
Code:

#!!# ACL that is used after the DATA command
check_message:
deny
!verify = header_sender
!senders = +whitelist_senders
accept

5) Save and exit. Now try to send and receive email to make sure everything is still working. If all is ok add the address in question to the whitelist and see if it works.

Quote:
Then put the sender addresses in the file /etc/whitelist_senders, one per line, e.g.

someone@domain1.tld
*@domain2.tld

No comments:

Post a Comment