Re: How to alter content-filter for messages that are already queued

2017-06-13 Thread Petr Bena
This seems to do the trick! Thanks On 06/13/17 14:19, Tobi wrote: Did you try to re-queue such a message? postsuper -r QUEUE_ID or postsuper -r ALL (to re-queue all) On 06/13/17 13:19, Petr Bena wrote: Hello, Someone smart added garbage to our postfix config, which resulted in following

How to alter content-filter for messages that are already queued

2017-06-13 Thread Petr Bena
Hello, Someone smart added garbage to our postfix config, which resulted in following errors in log: postfix/smtp[29793]: fatal: garbage after numerical service in server description: [127.0.0.1]:27, scan:127.0.0.1:10025 The extra string starting with comma was obviously wrong. Before we n

Re: How to effectively block communication to all domains except whitelisted?

2017-01-19 Thread Petr Bena
On 01/19/17 09:53, Petr Bena wrote: > On 01/18/17 15:35, Noel Jones wrote: >> If you need more help, please show "postconf -nf" and "postconf -Mf" >> >> >> >> -- Noel Jones > Hi Noel, > > Here is the output: > > # postconf -nf

Re: How to effectively block communication to all domains except whitelisted?

2017-01-19 Thread Petr Bena
On 01/18/17 15:35, Noel Jones wrote: > If you need more help, please show "postconf -nf" and "postconf -Mf" > > > > -- Noel Jones Hi Noel, Here is the output: # postconf -nf alias_maps = hash:/etc/aliases always_add_missing_headers = yes bounce_notice_recipient = postmaster bounce_queue_lifeti

How to effectively block communication to all domains except whitelisted?

2017-01-18 Thread Petr Bena
I am currently solving a problem where I was requested to block all outgoing mail (from our mail server) to all domain except few listed domains. I configured smtpd_recipient_restrictions as smtpd_recipient_restrictions = check_recipient_access hash:/opt/zimbra/postfix/conf/recipient_domains, rej