D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Postfix - users on split sites



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adrian Midgley wrote:
|
| I want to persuade Postfix to sned mail for local users locally - easy
enough,
| but to relay mail for some users who are not on this network to the ISP's
| SMTP relay host.

Relay host? Are you sure - if you send email to an SMTP relay host when
you are not on their network it'll say "relaying not allowed".

| But I want the domain to be the same , which is the bit that I'm stuck
on at
| present.
|
| IE
| smith@xxxxxxxxxx mail stays here, on osborne.defoam.net or
| jupiter.defoam.net , whereas brown'defoam.net goes to Freesere or in a
day or
| two Eclipse, thence to www.defoam.net on the internet, and gets
grabbed from
| there.

If you just want to forward email;

$EDITOR /etc/aliases
brown:  brown@xxxxxxxxxxx

or per user
$EDITOR ~/.forward

It gets slightly more involved if you have multiple domains to handle so
"brown" is a different "brown" in different domains, but the Postfix
documentation is pretty good on this.

But I'm slightly unclear what you mean - start with where the email
originates, and where it should be picked up from, and we'll fill in the
blanks on how it should get there.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFA3w5cGFXfHI9FVgYRAnq9AJoDVEsgLWwFmXlBf7G0IE6M2XrKVACgyxUf
hh/GC4NvPG+KOa/xFyo4JeE=
=O4W5
-----END PGP SIGNATURE-----

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly