Re: Strange issue with reject_unverified_recipient (LMTP/Dovecot)

2017-10-15 Thread Wietse Venema
Jozef Matick?: > Hello Wietse, > > Not sure I understand. > The problem I have is when I have address_verify_negative_cache = no. > Postfix is then deferring sender with 450 Address verification in > progress despite the fact Dovecot (LMTP) is replying to Postfix with 550 > User doesn't exists

Re: Blocking mail from clients who

2017-10-15 Thread Bill Shirley
> /.*@mydomain.tld/ REJECT The leading .* is not needed.  You should escape the period before tld (\.).  You can also send a message: /@.*example\.com$/    REJECT You are not me (40,000). This works for me.  Note: I'm using pcre instead of regexp. Bill On 10/15/2017 1:04 PM, Dominic

Re: Strange issue with reject_unverified_recipient (LMTP/Dovecot)

2017-10-15 Thread Jozef Matický
Hello Wietse, Not sure I understand. The problem I have is when I have address_verify_negative_cache = no. Postfix is then deferring sender with 450 Address verification in progress despite the fact Dovecot (LMTP) is replying to Postfix with 550 User doesn't exists (with

Re: Blocking mail from clients who

2017-10-15 Thread Dominic Raferd
On 15 October 2017 at 17:34, Gerben Wierda wrote: > My main restrictions in main.cf are (on macOS Server) > > smtpd_client_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > check_client_access regexp:/Library/Server/Mail/Config/postfix/rna_rbl_ >

n00b To The Mechanics

2017-10-15 Thread cacook
I've run Linux on all my machines for 18 years, but have never needed to understand the workings of email, as I've always used shared hosting and cPanel.  Now I'm setting up my own server and I'd like to understand the actual mechanics of email. I've read several Postfix docs including

Re: Blocking mail from clients who

2017-10-15 Thread Robert Schetterer
Am 15.10.2017 um 18:34 schrieb Gerben Wierda: > My main restrictions in main.cf are (on macOS Server) > > smtpd_client_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > check_client_access > regexp:/Library/Server/Mail/Config/postfix/rna_rbl_whitelist_clients, > reject_rbl_client

Blocking mail from clients who

2017-10-15 Thread Gerben Wierda
My main restrictions in main.cf are (on macOS Server) smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access regexp:/Library/Server/Mail/Config/postfix/rna_rbl_whitelist_clients, reject_rbl_client zen.spamhaus.org,

Re: recommended smtp proxy script?

2017-10-15 Thread Matus UHLAR - fantomas
On 13/10/17 10:40, Matus UHLAR - fantomas wrote: the only important part is - you apparently should not use milter on submission ports. Am 13.10.2017 um 20:42 schrieb Daniele Nicolodi: Why? On 13/10/17 15:30, Robert Schetterer wrote: some milters are fine to use with submission others

Re: Strange issue with reject_unverified_recipient (LMTP/Dovecot)

2017-10-15 Thread Wietse Venema
Jozef Matick?: > Hello Andreas, > > Had some users complaining about mailboxes (and catch-alls) they created > were not accepting e-mails - Postfix, due to caching, was rejecting the > e-mail as if the mailbox wouldn't exist (apparently due to a fact > someone was trying to send an e-mail to

Re: Strange issue with reject_unverified_recipient (LMTP/Dovecot)

2017-10-15 Thread A. Schulze
Am 15.10.2017 um 15:29 schrieb Jozef Matický: > Hello Andreas, > > Had some users complaining about mailboxes (and catch-alls) they created were > not accepting e-mails - Postfix, due to caching, was rejecting the e-mail as > if the mailbox wouldn't exist (apparently due to a fact someone was

Re: Strange issue with reject_unverified_recipient (LMTP/Dovecot)

2017-10-15 Thread Wietse Venema
A. Schulze: > > The problem I have is when I set address_verify_negative_cache = no. ... > > It looks like when there is status=undeliverable-but-not-cached There is no such reply. In reality, the reply is that the address probe is in progress (DEL_RCPT_STAT_TODO). This is what happens: 1.

Re: Strange issue with reject_unverified_recipient (LMTP/Dovecot)

2017-10-15 Thread Jozef Matický
Hello Andreas, Had some users complaining about mailboxes (and catch-alls) they created were not accepting e-mails - Postfix, due to caching, was rejecting the e-mail as if the mailbox wouldn't exist (apparently due to a fact someone was trying to send an e-mail to that mailbox before it even

Re: Strange issue with reject_unverified_recipient (LMTP/Dovecot)

2017-10-15 Thread A. Schulze
Am 14.10.2017 um 23:23 schrieb Jozef Matický: > Hello, > > I've been struggling with this for about a week now. > In smtpd_recipient_restrictions I have reject_unverified_recipient. > For recipient address verification I'm using Dovecot's LMTP. > Everything is working as expected when