Re: Sender Rewriting Scheme and backup MX

2021-11-19 Thread Matus UHLAR - fantomas
"Matus" == Matus UHLAR <- fantomas > writes: Matus> is it not. To be precise: Matus> SRS is to be used when you accept mail for one address and re-send to Matus> another address (in different domain/on different server). Matus> this is not the case for backup MX. On 18.11.21 18:28, Togan Muft

Re: Sender Rewriting Scheme and backup MX

2021-11-19 Thread Togan Muftuoglu
> "Viktor" == Viktor Dukhovni writes: >> On 18 Nov 2021, at 12:28 pm, Togan Muftuoglu wrote: >> >> Thanks for the clarification. One more thing having the backup MX listed in >> the SPF records of the domain and opendkim signing the relayed mails does >> not break the validations in the prim

Re: Sender Rewriting Scheme and backup MX

2021-11-18 Thread Wietse Venema
Viktor Dukhovni: > > On 18 Nov 2021, at 12:28 pm, Togan Muftuoglu wrote: > > > > Thanks for the clarification. One more thing having the backup MX listed in > > the SPF records of the domain and opendkim signing the relayed mails does > > not > > break the validations in the primary MX when it r

Re: Sender Rewriting Scheme and backup MX

2021-11-18 Thread Viktor Dukhovni
> On 18 Nov 2021, at 12:28 pm, Togan Muftuoglu wrote: > > Thanks for the clarification. One more thing having the backup MX listed in > the SPF records of the domain and opendkim signing the relayed mails does not > break the validations in the primary MX when it receives mail from the backup, >

Re: Sender Rewriting Scheme and backup MX

2021-11-18 Thread Togan Muftuoglu
> "Matus" == Matus UHLAR <- fantomas > writes: Matus> is it not. To be precise: Matus> SRS is to be used when you accept mail for one address and re-send to Matus> another address (in different domain/on different server). Matus> this is not the case for backup MX. Thanks for the clarifica

Re: Sender Rewriting Scheme and backup MX

2021-11-18 Thread Matus UHLAR - fantomas
On 18.11.21 17:10, Togan Muftuoglu wrote: Should Sender Rewriting Scheme be enabled for a server acting as backup MX. no, SRS is supposed to be implemented for outgoing. not incoming mail. My understanding is SRS is needed if the mail server acts as forwarder. But in the case of a backup MX

Sender Rewriting Scheme and backup MX

2021-11-18 Thread Togan Muftuoglu
Hi, Should Sender Rewriting Scheme be enabled for a server acting as backup MX. Just to be specific I want one of my servers to solely act as a backup MX for the domain. My understanding is SRS is needed if the mail server acts as forwarder. But in the case of a backup MX it is not a forwarder

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 > > > > wrote: > > > > > > > > As you can see the orig_to parameter shows

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 was sent and the to= parameter explains the rewrit

Re: Make postfix log to show how sender rewriting happens

2016-12-23 Thread /dev/rob0
> 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 was sent and the to= parameter explains the > > > rewritten email id. I ca

Re: Make postfix log to show how sender rewriting happens

2016-12-23 Thread Burn Zero
Thank you. But when I use smtpd_end_of_data_restrictions = check_sender_access static:INFO I get, postfix/smtpd[13668]: warning: unknown smtpd restriction: "INFO postfix/smtpd[13668]: 12E9F6420F: reject: END-OF-MESSAGE from host[x.x.x.x]: 451 4.3.5 Server configuration error; fro

Re: Make postfix log to show how sender rewriting happens

2016-12-20 Thread Viktor Dukhovni
> 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 was sent and the to= parameter explains the rewritten email id. I can > clearly see the email rewriting happened. Similarly, I want to get the log > entries f

Re: Make postfix log to show how sender rewriting happens

2016-12-20 Thread Wietse Venema
Burn Zero: > I guess you didn't get my question. Pardon me if it wasn't clear. Yes it was. The pointers that I gave will show you the result of all Postfix address rewriting, without actually sending email. If you want more functionality, you are welcome to contribute the code, or to use a differ

Re: Make postfix log to show how sender rewriting happens

2016-12-19 Thread Burn Zero
I guess you didn't get my question. Pardon me if it wasn't clear. I use postfix rewrite feature to rewrite sender and recipient address. When I receive email from outside, my recipient rewrite is done using recipient_canonical file. I also check the same in log, Sep 12 17:23:32 rewritehost postfi

Re: Make postfix log to show how sender rewriting happens

2016-12-19 Thread Wietse Venema
Documentation: http://www.postfix.org/ADDRESS_REWRITING_README.html#debugging Command: $ sendmail -f sender -bv recipient Wietse

Make postfix log to show how sender rewriting happens

2016-12-19 Thread Burn Zero
Hi, I'm using postfix SMTP server and I'm rewriting sender and recipient addresses. From the postfix logs, I can see the recipient address rewriting logs, Sep 12 17:23:32 rewritehost postfix/smtp[1223]: 28A6701362: to=, *orig_to*=, relay=relay.host[xxx.xxx.xxx.xxx]:25, delay=56, delays=51/0/4.5/0

postsrsd: new sender rewriting scheme daemon

2012-12-18 Thread Timo Röhling
Hello list, I am developing a daemon to handle the sender rewriting scheme (SRS) with Postfix. SRS can be added to Postfix via {sender,recipient}_canonical_maps. The concept is very similar to Fruneau's postfix tools. I wrote the daemon for my own mail server (and I've been runn

Re: Sender rewriting

2008-07-29 Thread mouss
mouss wrote: you need to learn regexp. @* means one or more '@'. oops. zero or more not one or more...

Re: Sender rewriting

2008-07-28 Thread Daniel Bareiro
On Sunday, 27 July 2008 17:29:41 +0200, mouss wrote: Hi mouss. >> I am trying to configure my home Postfix so that the outgoing mail to >> an external email from a user of my LAN are rewritten to a valid >> account of mail, which would be to me especially useful if I would >> want to send some ty

Re: Sender rewriting

2008-07-27 Thread mouss
Daniel Bareiro wrote: Hi all! I am trying to configure my home Postfix so that the outgoing mail to an external email from a user of my LAN are rewritten to a valid account of mail, which would be to me especially useful if I would want to send some type of notification to a external mail by mea

Sender rewriting

2008-07-27 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! I am trying to configure my home Postfix so that the outgoing mail to an external email from a user of my LAN are rewritten to a valid account of mail, which would be to me especially useful if I would want to send some type of notification to