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 (as it
will come as u...@system.example.com).

Don't specify relayhost in main.cf.

However, if external users connect to send mail through this Postfix
server, they need to be relayed through a different host.

This requires Postfix version 2.6 or later.

Use sender_dependent_relayhost_maps. Return DUNNO for
u...@system.example.com, and mail.isp.net for everyone else.

(...)

http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps

According to that documentation page, "sender_dependent_relayhost_maps" is "is available in Postfix 2.3 and later" - you mention Postfix 2.6 though.

Is this a documentation typo, or is "DUNNO" only supported as of Postfix 2.6?

I run Postfix 2.3 on this machine.

Reply via email to