Hi.
I am trying to block only specific addresses.
The Hash file only contains this someaddress.domain.com REJECT Reason
My main.cf looks like this
smtpd_client_restrictions = smtpd_helo_restrictions = smtpd_sender_restrictions = smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces check_recipient_access hash:/etc/postfix/BlockingList reject rbl_client zen.spamhaus.org permit
The above config allows nothing to come through
But it sends email fine if i use the following main.cf
smtpd_client_restrictions = permit_mynetworks permit_inet_interfaces reject_rbl_client zen.spamhaus.org
Could someone please assist on how i can block just a specific recipient. Im sure im missing something simple.
Thank you
On 06 Sep 2013, at 07:36 , LDK ljdk@users.sf.net wrote:
I am trying to block only specific addresses. The Hash file only contains this someaddress.domain.com REJECT Reason My main.cf looks like this smtpd_client_restrictions = smtpd_helo_restrictions = smtpd_sender_restrictions = smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces check_recipient_access hash:/etc/postfix/BlockingList reject rbl_client zen.spamhaus.org permit
I use a pcre table instead of a hash (much easier to maintain manually). The format is:
/^www\@mail.example.com/ 550 Invalid Webmail return address /^www$/ 550 Invalid Webmail return address
(Please subscribe to postfix-users http://www.postfix.org/lists.html to ask questions about postfix).
-- ɹןʇnqן lbutler@covisp.net 303.219.0564
Do you really have
reject rbl_client zen.spamhaus.org
as in "reject space rbl_client"?
If yes, this would explain it - it should be recect_rbl_client (with underscores)
Log in to post a comment.
Hi.
I am trying to block only specific addresses.
The Hash file only contains this
someaddress.domain.com REJECT Reason
My main.cf looks like this
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces check_recipient_access hash:/etc/postfix/BlockingList reject rbl_client zen.spamhaus.org permit
The above config allows nothing to come through
But it sends email fine if i use the following main.cf
smtpd_client_restrictions = permit_mynetworks permit_inet_interfaces reject_rbl_client zen.spamhaus.org
Could someone please assist on how i can block just a specific recipient.
Im sure im missing something simple.
Thank you
On 06 Sep 2013, at 07:36 , LDK ljdk@users.sf.net wrote:
I use a pcre table instead of a hash (much easier to maintain manually). The format is:
/^www\@mail.example.com/ 550 Invalid Webmail return address
/^www$/ 550 Invalid Webmail return address
(Please subscribe to postfix-users http://www.postfix.org/lists.html to ask questions about postfix).
--
ɹןʇnqן
lbutler@covisp.net
303.219.0564
Do you really have
as in "reject space rbl_client"?
If yes, this would explain it - it should be recect_rbl_client (with underscores)