Re: Re: Address Rewriting for relayed emails

2010-12-02 Thread Michael . H . Grimm

Thanks for the config hint.

It works fine if I add an email address like this to generic

laserjetscan...@domain.local notificati...@domain.com

It does not work if I want to do the following:

@domain.com notificati...@domain.com

It then appears to rewrite the recipients address as well and not only the  
senders address.

So the account notificati...@domain.com receives it's own emails.

Can I restrict the rule to the sender only?

Kind regards
Michael

On Nov 29, 2010 5:10pm, John Adams mailingli...@belfin.ch wrote:

Am 29.11.2010 16:24, schrieb michael.h.gr...@googlemail.com:




Dear all,





Is it possible to configure postfix for the following scenario?



Our ERP-System wants to send emails over a dedicated account to it's



users. As it tries to send the email as the current user, using the



users address, the e-mail gets rejected by our provider (who is running



Exchange).



As the providers security policy doesn't allow me to grant the Exchange



Send as permission to the ERP-Account I want to do the following:





Configure an internal postfix installation to accept these faked emails



Forward them to the Exchange server



replacing the faked senders address with the valid address of the



account dedicated to the ERP-System.





Is this possible?



I guess I have to use the Address Rewriting capabilities in Postfix. But



where to start?





Kind regards and many thanks in advance



Michael






man generic



u...@domain address



Replace u...@domain by address. This form has the highest Precedence.





HTH



John




Address Rewriting for relayed emails

2010-11-29 Thread Michael . H . Grimm

Dear all,

Is it possible to configure postfix for the following scenario?
Our ERP-System wants to send emails over a dedicated account to it's users.  
As it tries to send the email as the current user, using the users address,  
the e-mail gets rejected by our provider (who is running Exchange).
As the providers security policy doesn't allow me to grant the  
Exchange Send as permission to the ERP-Account I want to do the following:


Configure an internal postfix installation to accept these faked emails
Forward them to the Exchange server
replacing the faked senders address with the valid address of the account  
dedicated to the ERP-System.


Is this possible?
I guess I have to use the Address Rewriting capabilities in Postfix. But  
where to start?


Kind regards and many thanks in advance
Michael