public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] postfix 'myorigin' and default user@domain
Date: Tue, 22 Nov 2005 13:06:51 +0930	[thread overview]
Message-ID: <1132630612.11040.11.camel@orpheus> (raw)

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



                 reply	other threads:[~2005-11-22  3:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1132630612.11040.11.camel@orpheus \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox