public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] postfix 'myorigin' and default user@domain
@ 2005-11-22  3:36 Iain Buchanan
  0 siblings, 0 replies; only message in thread
From: Iain Buchanan @ 2005-11-22  3:36 UTC (permalink / raw
  To: gentoo-user

Hi,

I have a tricky postfix configuration question.  I want:

1. mail from postfix on my machine to appear to be from host
"server.com" (my machine is "host.server.com")

2. mail to 'user' (with unspecified host) on my machine to go to
"user@host.server.com" (my machine) not "user@server.com")

I can do 1. with "myorigin" in /etc/postfix/main.cf, but that also makes
cron jobs and such that don't specify a host, to mail to user@server.com
instead of locally to user@host.server.com :

# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.

Is there any way around this? Perhaps with a different MTA?

MTIA!
-- 
Iain Buchanan <iaindb@netspace.net.au>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-22  3:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22  3:36 [gentoo-user] postfix 'myorigin' and default user@domain Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox