Index: [thread] [date] [author] [stats]
  From: Juergen Daubert <jue@jue.li>
  To  : <masqmail@marmaro.de>
  Date: Mon, 31 Jan 2011 16:19:12 +0100

Re: [masqmail] rewrite MAIL FROM

On Mon, Jan 31, 2011 at 02:50:49PM +0100, inne wrote:
> Hello,

Hello,

> i will use masqmail to delivery all local mail-traffic to an remote
> mail-account (like inne@alice-dsl.net, ive got from my ISP). So ive
> define an /etc/aliases that does. But the ISP dont accept the MAIL FROM
> value like root@E611. Can i rewrite this value (to inne@alice-dsl.net)?

Sure, rewriting headers depending on the route configuration is one 
off the biggest strengths of masqmail. Look at masqmail.route(5) and 
set at least map_h_from_addresses.


Greetings
Juergen

-- 
Juergen Daubert  |  mailto:jue@jue.li  
Korb, Germany    |  http://jue.li/crux


Index: [thread] [date] [author] [stats]