Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] postfix not using access
Patrick Shanahan:
openSUSE 13.1 x86_64

Recently solved an apache2 log problem w/wpad.dat entries by changing my account from wildcard to non-wildcard. May or may not be
related, but ever since that date postfix appears to not be utilizing
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access,
smtpd_recipient_restrictions = permit_mynetworks,
check_client_access hash:/etc/postfix/access,

Using the same access file for senders, clients and recipients?
Better to use separate files.

What is your network config in

<address> REJECT spam not accepted here
<address> REJECT spam not accepted here
<address> REJECT spam not accepted here
<address> REJECT spam not accepted here
<address> REJECT spam not accepted here
<address> REJECT spam not accepted here

My mail logs contained entries "REJECT spam not accepted here"
but no more. A search of the mail logs for <address> shows no rejections
with any code/reason.

Hard to tell for sure without context but it appears that postfix did
read access. postfix will generally complain loudly if it can't read a
file given it in

Also. REJECT does not appear to be a valid action. For a reject action
you should use a numerical rejection code. Postfix should log complaints
about invalid actions in access, etc. Read the access file or the
postfix documentation in /usr/share/doc/packages/postfix*/ for more info.

What has happened and why is "access" no longer being used by postfix.
Yes, I run "postmap /etc/postfix/access" after every edit and restart
postfix service.

What is it doing differently from before? Rejecting mail? Not rejecting

This is perhaps best asked on the postfix-users mailing list where the
experts are. You must subscribe to post anything. But be sure to Read
The Fine Manual(s), the debugging how-to and the debugging readme first.

Subscribe at or send mail to
majordomo@xxxxxxxxxxx with the subject "subscribe postfix-users"

When you post the question include the output of postconf -n (or
postconf -nf if your contains long lines) and access because
that's the first thing they'll want to look at.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups