Re: double bounce messages 'from'

2017-01-18 Thread Dominic Raferd
On 16 January 2017 at 15:11, Wietse Venema wrote: > > Dominic Raferd: > > One of the few remaining issues on my postfix server is that > > double-bounce messages don't come from the 'right' envelope sender. > > man 5 postconf | less '+/^double_bounce_sender' > > This also is

Re: Autoresponder?

2017-01-18 Thread @lbutlr
On 2017-01-17 (23:36 MST), @lbutlr wrote: > > On 2017-01-16 (05:54 MST), Ralph Corderoy wrote: >> >>> So, how would I do this with only sending a single "bounce" to any >>> email address? >> >> Pipe to vacation(1), e.g. the user's ~/.forward: > >

Re: LMTP Virtual aliases not known error

2017-01-18 Thread Viktor Dukhovni
> On Jan 18, 2017, at 10:41 AM, Dick Middleton wrote: > >> You have: >> >> receive_override_options = no_address_mappings >> >> consult the docs and adjust accordingly. >> > Well spotted, thanks ever so much, I was getting quite frustrated. > > Is that there with

Re: LMTP Virtual aliases not known error

2017-01-18 Thread Dick Middleton
On 01/18/17 15:14, Viktor Dukhovni wrote: > > > On Jan 18, 2017, at 8:56 AM, Dick Middleton wrote: > > > > > > You have: > >receive_override_options = no_address_mappings > > consult the docs and adjust accordingly. > Well spotted, thanks ever so much, I was getting quite

Re: LMTP Virtual aliases not known error

2017-01-18 Thread Viktor Dukhovni
> On Jan 18, 2017, at 8:56 AM, Dick Middleton wrote: > > You have: receive_override_options = no_address_mappings consult the docs and adjust accordingly. -- Viktor.

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

2017-01-18 Thread Noel Jones
On 1/18/2017 5:11 AM, Petr Bena wrote: > 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 =

Re: returned emails

2017-01-18 Thread Wietse Venema
postfix: > I have had a look at a protocol recording, and there are some > interesting MAIL FROM commands. > I shall investigate this area some more. How does postfix decide what to > send in the MAIL FROM command ? It sends the bits in the envelope address. This information is received with -

LMTP Virtual aliases not known error

2017-01-18 Thread Dick Middleton
Hi, I'm just changing over from after-queue content filter to before-queue and it mostly works. However messages sent from the server localhost using mailx (I assume that's sendmail) do not have addresses rewritten from virtual_alias_maps. I was wondering what the recommended way to

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,

Re: Make postfix log to show how sender rewriting happens

2017-01-18 Thread Burn Zero
Thank you so much for the info and it works now. :) On Fri, Dec 23, 2016 at 7:59 PM, /dev/rob0 wrote: > > On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni > > wrote: > > > > > > > On Dec 20, 2016, at 12:53 AM, Burn Zero > > > >

Re: Make postfix log to show how sender rewriting happens

2017-01-18 Thread Burn Zero
Thank you viktor. It works fantastically now. On Tue, Dec 20, 2016 at 7:35 PM, Viktor Dukhovni wrote: > > > On Dec 20, 2016, at 12:53 AM, Burn Zero wrote: > > > > As you can see the orig_to parameter shows the original id to which > the email