Robert Schetterer:
> Hi @ll,
> merry X-mas
> 
> i have a webserver with some customers
> using binary sendmail command deliver out mail to local postfix from the
> www-data apache with i.e perl scripts, by ignorance of the customers the
> often dont debug their scripts ( in time )
> is there a setup which rejects mails from sendmail binary
> like in i.e. smtpd
> 
> smtpd_recipient_restrictions = reject_unknown_recipient_domain,
>                                reject_non_fqdn_recipient,
> 
> or are their any other good advices
> for rejecting mail from sendmail binary with wrong recipient syntax or
> domain?

With Postfix, the only way to get this is by using the SMTP port
instead of the command line. The Postfix sendmail command currently
does not have a "try smtp before maildrop queue" option.

An alternative is to use a mini-sendmail command that submits
directly to the SMTP port (but that will break when Postfix is not
running).

        Wietse

Reply via email to