Send "from" as smarthost or direct delivery
-
I would like to have one user which can send-as email@own-server and email@smarthost.
I want to choose this with the “from” field in WebApp. How can i do this?In mail.cf i heave relayhost=mysmarthostserver and spooler.cfg has always_send_delegates = yes.
How can i make postfix “see” how i want to send the Mail?
Thanks. -
Hi @DocMAX ,
since you have already overridden always_send_delegates (which for company environment I would not recommend since kopano-spooler does not check if the user is allowed to send anymore) the puzzle piece you are probably looking for is http://tapoueh.org/blog/2010/09/postfix-sender_dependent_relayhost_maps/ (just a random blog post about it)
-
WONDERFULL! It worked! Thank you very much!