Hi,

I have an imap server where users can set to forward their mails to personal
mails..but our main smtp server does not allow to send mails with not
allowed sender address. Forwarded emails have sender address that is mostly
not allowed (because its address of any sender from the world:).

From: some...@extern.tld
Rcpt: m...@our.dom

Its forwarded to my external mail
From: some...@extern.tld
Rcpt to: m...@extern2.com

but i need
From: m...@our.dom
Rcpt to: m...@extern2.com


First I wanted to use sender_canonical_maps but thats not possible because I
have to search in database m...@our.dom - recipient...

Shortly: I have to change sender address to result of query where key is
rcpt address. It looks canonical_maps does not allow this...

Thank you very much for any suggestions!! :)


-- 
Radim Roška
Sent from Prague, Cst, Czech Republic

Reply via email to