On 19/03/17 02:26, Dirk Stöcker wrote: > Hello, > > I'm operating a bug tracker which sends out emails to participants > notifying of ticket changes. For new submitters it often happened, that > they simply did reply by mail which wont work with this instance. > > Now I changed our setup a bit > > In postfix main.cf: > smtpd_recipient_restrictions = ...check_recipient_access > hash:/etc/postfix/recipient_access... > > and > recipient_access: > t...@mail.tld reject This trac does not have an e-mail input functionality. > > This works like a charm, but then today something new did pop up. Sender > verify. It seems there are mail servers outside which connect back to > the original server and check for errors: > > 550-Verification failed for <t...@email.tld> 550-Previous > (cached) callout verification failure 550 Sender verify failed (in > reply to > RCPT TO command)
I would move your check_recipient_access to smtpd_data_restrictions, then it should work that it will not reject until the DATA command, but servers performing address verification will have bailed by that point. So you end up rejecting actual messages but not verification probes. Peter