Ram:
> I have a postfix gateway that relays mails for various senders and for
> some mails it generates NDR's when the mail is not deliverable
>
> Can I configure postfix to bounce the message and retain the original
> subject with the current message
> Something like
>
> Undelivered Mail:
list...@tutanota.com:
> 23. May 2016 18:48 by njo...@megan.vbhcs.org:
>
> > Yes, exactly right idea, but your expressions could use some improvement
>
> Thanks it helped!
>
> >IF /^(To|From|Cc|Reply-To): /
Why not:
/^(To|From|Cc|Reply-To): *(addr1|addr2|addr3)/
> Is the space between ": /
I have a postfix gateway that relays mails for various senders and for
some mails it generates NDR's when the mail is not deliverable
Can I configure postfix to bounce the message and retain the original
subject with the current message
Something like
Undelivered Mail:
23. May 2016 18:48 by njo...@megan.vbhcs.org:
> Yes, exactly right idea, but your expressions could use some improvement
Thanks it helped!
>IF /^(To|From|Cc|Reply-To): /
Is the space between ": /" always needed? I think yes.
That worked!
Thank you!
-Original Message-
From: Wietse Venema [mailto:wie...@porcupine.org]
Sent: Tuesday, May 24, 2016 8:42 AM
To: Gomes, Rich
Cc: Postfix users
Subject: Re: postfix ignoring access file?
Gomes, Rich:
> mynetworks = 0.0.0.0/24
That matches IP addresses with a 24-bit
Gomes, Rich:
> mynetworks = 0.0.0.0/24
That matches IP addresses with a 24-bit prefix of 0.0.0.
For a correct wildcard see this quote from "man 5 cidr_table"
network_address/network_mask result
When a search string matches the specified network block, use
the corresponding res
That didn't work. I chose 0.0.0.0 on purpose just so it would be open to
everything (it internal so no risk on internet access) but that didn't work
either.
-bash-4.1$ sudo postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_min_user = yes
command_directory = /usr
Gomes, Rich:
> Please Help
>
> I have implemented this method but it has had an unexpected and unwelcome
> effect.
> All external mail (email not in the relay_domains file) is being blocked with
> the following error:
>
> NOQUEUE: reject: RCPT from unknown[10.40.80.11]: 554 5.7.1
> : Relay acc