Looks like postfix was not compiled with tcpwrappers so I’m trying to figure out how to restrict incoming email from two domains on a couple of boxes.
Basically our domain, and google. Any suggestions, or should I be poking about on the postfix user forums.
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
These forums are peer-to-peer, best effort, volunteer run and that if your issue
is urgent or not getting a response, you might try one of the following options:
Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
If this is a reply to a duplicate posting or otherwise posted in error, please
ignore and accept our apologies and rest assured we will issue a stern reprimand
to our posting bot…
That expertise would appear to NOT be here, or maybe the holiday month has
kept folks with that expertise at bay.
It may be worth posting in the openSUSE forums, not because they have
anything to do with SLES, but because folks who work with Postfix on that
side may know if you can compile and add a library to the system to enable
the functionality without rebuilding all of Postfix, or they may just know
of alternate ways to do what you are after, maybe with anti-spam software
that can sit between Postfix and the inter-tubes.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…
Looks like postfix was not compiled with tcpwrappers so I’m trying to
figure out how to restrict incoming email from two domains on a couple
of boxes.
Basically our domain, and google. Any suggestions, or should I be
poking about on the postfix user forums.
SLES 11sp4 and SLEs 12sp1[/color]
From a quick search I think you can achieve this by adding domains to
/etc/postfix/access although this seems to require an entry for each
domain you want to block (rather than block all then allow specific).
However it looks like if you change smtpd_sender_restrictions in
/etc/postfix/main.cfg to pcre:/etc/postfix/access (from
hash:/etc/postfix/access) you my then be able to reject based on regular
expressions, in particular “!/pattern/flags result”.
HTH.
Simon
SUSE Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.