Re: relayhost and sending some mail directly?

2009-12-19 Thread Dasza Seyda
If you set mylocaldomain in mydestination or virtual_mailbox_domains of your main.cf then Postfix should not relay the mail. I want the mail to be sent. If you want that Postfix smtp client sends emails based on sender to different relay servers then http://www.postfix.org/SASL_README.html

Re: relayhost and sending some mail directly?

2009-12-19 Thread Dasza Seyda
On 19.12.2009 14:52, Wietse Venema wrote: Dasza Seyda: Let's suppose that system-generated mails all will have @system.example.com domain. If I send this system-generated mail: user$ echo test | mail -s test myacco...@yahoo.tld I would like to have it delivered directly, without any relays

relayhost and sending some mail directly?

2009-12-18 Thread Dasza Seyda
If I add a relayhost to main.cf: relayhost = relayhost.example.com all main will be delivered through relayhost.example.com. Now, I would like to deliver mail i.e. for @mylocaldomain directly, not through relayhost - how should I do it? I tried sender_dependent_relayhost_maps, but I'm not