Re: Postfix configuration (mail to root)
- From: Magnus Therning <magnus@xxxxxxxxxxxx>
- Date: Sat, 30 Sep 2006 17:52:57 +0100
On Fri, Sep 29, 2006 at 20:07:18 +0300, Andrei Popescu wrote:
Magnus Therning <magnus@xxxxxxxxxxxx> wrote:
This is how I've configured it:
% cat /etc/mailname
my.remote.host
% hostname -f
my.local.host
Maybe I'm wrong, but it seems to me that /etc/mailname should also be
'my.local.host'
But then I can't send emails because a lot of servers out there do a
lookup on the server name in the envelope header and my.local.host is on
a private LAN and can't be looked up.
Basically, the setup I want is:
root and other local accounts are delivered locally
non-local accounts are forwarded to the relayhost
To have the latter work I need to make sure that the envelope header
contains an address with a domain that can be looked up on the internet.
That's what I get by sticking my.remote.host in /etc/mailname. However,
that seems to screw up local delivery :-(
I can't see that this is a very unique situation, AFAICS that is exactly
what Internet With Smart Host is when I run 'dpkg-reconfigure postfix'.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@xxxxxxxxxxxx Jabber: magnus.therning@xxxxxxxxx
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
As we enjoy great advantages from the inventions of others we should
be glad of an opportunity to serve others by any invention of
ours, and this we should do freely and generously.
-- Benjamin Franklin
Attachment:
pgpsoyI4nFPCX.pgp
Description: PGP signature
- Follow-Ups:
- Re: Postfix configuration (mail to root)
- From: Andrei Popescu
- Re: Postfix configuration (mail to root)
- References:
- Postfix configuration (mail to root)
- From: Magnus Therning
- Re: Postfix configuration (mail to root)
- From: Magnus Therning
- Re: Postfix configuration (mail to root)
- From: Andrei Popescu
- Postfix configuration (mail to root)
- Prev by Date: Re: capturing terminal scrollback buffer?
- Next by Date: Re: idsoftware games
- Previous by thread: Re: Postfix configuration (mail to root)
- Next by thread: Re: Postfix configuration (mail to root)
- Index(es):
Relevant Pages
|