configuration for postfix when using dovecot/lmtp + ldap

2020-08-01 Thread Felix Rubio
Hi everybody, I have a postfix server that is serving two domains, a main domain (domainA.org) and a hosted domain (domainB.org), that is using dovecot for authentication and lmtp. I have set up an openldap to be used as a backend for the managed identities. Currently, all @domainB.org addres

Does the canonical_maps rewriting apply before the restrictions in smtpd_relay_restrictions?

2020-08-01 Thread deoren
Hi, I'm likely overlooking this (I'm still digging), but do the restrictions in smtpd_relay_restrictions apply before the rewriting configured for canonical_maps takes place? I'm trying to rewrite the sender address for a system before its mail is relayed and it appears that the reject_non_f

Re: Does the canonical_maps rewriting apply before the restrictions in smtpd_relay_restrictions?

2020-08-01 Thread Wietse Venema
deoren: > Hi, > > I'm likely overlooking this (I'm still digging), but do the restrictions > in smtpd_relay_restrictions apply before the rewriting configured for > canonical_maps takes place? Before. The smtpd_mumble_restrictions peek at the canonical and virtual maps to determine if the befor

Using cleanup service to strip headers

2020-08-01 Thread John Regan
Hi, I have postfix-3.5.2 on fedora and trying to strip internal submission headers using the cleanup service and can't get it working. In master.cf: auth-cleanup unix n - - - 0 cleanup -o syslog_name=postfix/auth-cleanup -o header_checks=pcre:/etc/postfix/aut

Re: Connection Caching Per-Destination

2020-08-01 Thread Greg Sims
> > I looked for domains that *are not* using the outlook: transport but > > are using the outlook.com relay servers. There are 383 such domains > > -- the vast majority are one email address per domain. These domains > > are competing for the limited number of outlook.com connections and > > the

Re: Using cleanup service to strip headers

2020-08-01 Thread Benny Pedersen
John Regan skrev den 2020-08-01 21:23: In master.cf [3]: auth-cleanup unix n - - - 0 cleanup -o syslog_name=postfix/auth-cleanup -o header_checks=pcre:/etc/postfix/auth_header_checks.pcre header_checks is port 25 incomming, not outgoing What am I doing w

Re: Connection Caching Per-Destination

2020-08-01 Thread Wietse Venema
Greg Sims: > > > I looked for domains that *are not* using the outlook: transport but > > > are using the outlook.com relay servers. There are 383 such domains > > > -- the vast majority are one email address per domain. These domains > > > are competing for the limited number of outlook.com conn

Re: Connection Caching Per-Destination

2020-08-01 Thread Greg Sims
> > I changed master.cf to 3 processes for outlook: in hopes of reducing > > MaxConnections feedback -- I can not go much smaller. > > This has been asked before: when Outlook puts you in the penalty > box and starts ratelimiting your new connections, was that because > a) you exceeded a limit for