public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <michael@orlitzky.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Postfix to relay mail even if acting as primary MX host?
Date: Thu, 13 Oct 2011 13:56:45 -0400	[thread overview]
Message-ID: <4E97265D.2080309@orlitzky.com> (raw)
In-Reply-To: <CAA2qdGXNUVVqnkWTfx+VfURV_hn89-V59yaZViEk2XM1-E6aKQ@mail.gmail.com>

On 10/13/2011 06:17 AM, Pandu Poluan wrote:
> 
> I found this:
> 
> http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup
> 
> is that the configuration I should use?
> 

More or less. I think you may even be able to simplify it a little. I'm
honestly not sure what that warning is referring to, you might ask on
the postfix list, I'm kinda curious. Anyway, the relay* settings work
the way you think they do. We have the same setup here. This is part of
the config on mx1.example.com.

  local_transport = error:local mail delivery is disabled.
  mydestination =
  relay_domains = cdb:/etc/postfix/maps/relay_domains
  relay_recipient_maps = cdb:/etc/postfix/maps/relay_recipient_maps
  relayhost = mail1.example.com
  virtual_transport = error:virtual mail delivery is disabled.

You can set relayhost to do what you want:

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



  reply	other threads:[~2011-10-13 17:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 10:11 [gentoo-user] Postfix to relay mail even if acting as primary MX host? Pandu Poluan
2011-10-13 10:17 ` [gentoo-user] " Pandu Poluan
2011-10-13 17:56   ` Michael Orlitzky [this message]
2011-10-14  1:02     ` Pandu Poluan
2011-10-15  1:13 ` [gentoo-user] " kashani
2011-10-15  5:00   ` Pandu Poluan
2011-10-15 20:41     ` kashani

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=4E97265D.2080309@orlitzky.com \
    --to=michael@orlitzky.com \
    --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