Ranjan Maitra wrote:
> > > Oct  1 14:08:00 localhost postfix/smtpd[4142479]: fatal: in parameter 
> > > smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at 
> > > least one working instance of: reject_unauth_destination, 
> > > defer_unauth_destination, reject, defer, defer_if_permit or 
> > > check_relay_domains
> 
> My apologies: how do I do this/what should I do here?

Since you haven't shared your postfix configuration but just parts of
it in the master.cf then we can only point to the documentation.

Start here and read these:

    http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions

    http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions

What is the value of these for you?  This will produce some output
which shows the current configuration.

    postconf smtpd_recipient_restrictions smtpd_relay_restrictions

For my use I leave smtpd_relay_restrictions set to the default value
and then set smtpd_recipient_restrictions.  That's one valid
combination.  But there are others.

At the least I would think something like this:

smtpd_recipient_restrictions =
        permit_mynetworks,
        reject_unauth_destination,
        reject_invalid_hostname,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain

But in real use I have a much longer list with a lot more there for
blocking spam and other things.  You should understand it before using
it and adjust it as needed for your environment.

Bob

Reply via email to