Re: [exim] relay and rewrite

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Meredith
Data:  
A: exim-users
Assumpte: Re: [exim] relay and rewrite
On Fri, 18 Mar 2005 12:42:45 +0100, gunnar.ahlberg@??? wrote:
> Could someone help me with the following:
>
> All mail sent by this server using sendmail (from php, mailman and local


If you're using Sendmail, how is configuring Exim doing to help ?

> 1) How do I configure exim to send mail to this server with the sender
> field to be the one accepted by our relay host (admin@???)


One possibility are rewrite rules :-

begin rewrite
*@server.domain.net    admin@???        F


This would have to be tested (it's come out of my memory so could easily be
wrong), and you may want to tinker with it to rewrite exactly what you want.
"F" rewrites the envelope from. See the documentation.

> 2) Will the receiver be able to reply to the original sender?


Depends what you rewrite! By just changing the envelope you should be ok
though (assuming that 'whatever@???' is a valid address).

--
Mike Meredith, Senior Informatics Officer
University of Portsmouth: Hostmaster, Postmaster and Security
If someone else can run arbitary code on your computer
without your permission, it's not YOUR computer any more.