* Sebastian Gil <[email protected]>:
> Dear all,
> 
> I've searched google and found some information but can't get this to work,
> I'm not an expert (nor a begginer, is the first time I configure postfix).
> 
> I've configured postfix to relay to my smtp server. In order to work I need
> to send mails from [email protected] . There is no rule, all
> mail senders should be rewritten.
> 
> I've tried to rewrite sender's email using sender_canonical_maps =
> regexp:/etc/postfix/sender_canonical

That sounds good!
 
> In /etc/postfix/sender_canonical I've tried a lot of combinations, but none
> works

Like which? What does the sender look like WITHOUT rewriting?

Something like:
/^.*@name.of.the.machine$/ [email protected]
should work wonders.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | http://www.charite.de
            

Reply via email to