Hi

I got a situation where I need to relay ALMOST all mail through another mail server. The catch is that I want a few specific sender mail addresses to send directly from the postfix itself (as if I didn't have a relayhost directive). I've fooled around woth sender_dependent_relayhost_maps and tried to get it to work, but I've yet to hit a solution.

So, basically, I want something like this:

main.cf
relayhost = [mail.somehost.com]
sender_dependent_relayhost_maps = hash:mapmap

mapmap:
[EMAIL PROTECTED] <something here that makes it skip relayhost>


I've tried with using blank "smtp:" without success, also tried skipping global relayhost, setting blank value for above and adding * [mail.somehost.com] in the end of the file, bu tno succes..

Any hints?

Thanks

--
Johan

Reply via email to