Postfix a local user

Dan Bar Daniel.Bar na seznam.cz
Čtvrtek Listopad 7 23:53:22 CET 2002


"Mato" <linuxik na zem.sk> píše v diskusním příspěvku
news:200211070645.gA76jHVo081398 na web2.zoznam.sk...
> Ahoj!
>
> Ked posilam mail v ramci mojej local domen Postfix kontroluje local usera
> pre moju domenu.
>
> Ale ako urobit, aby ked nenajde uzivatela s mojou domenou v passwd, tak
aby
> ho poslal dalej relayhost-u?
>
> Dakujem
>

Nevim jestli je to presne to po cem patrate, snad ...

Non-existent users


When the local delivery agent finds that a message recipient does not exist,
the message is normally bounced to the sender ("user unknown"). Sometimes it
is desirable to forward mail for non-existing recipients to another machine.
For this purpose you can specify an alternative destination with the
luser_relay configuration parameter.

Alternatively, mail for non-existent recipients can be delegated to an
entirely different message transport, as specified with the
fallback_transport configuration parameter. For details, see the local
delivery agent.


luser_relay can specify one address. It is subjected to $name expansions.
The most useful examples are:




$user na other.host

The bare username, without address extension, is prepended to @other.host.
For example, mail for username+foo is sent to username na other.host.


$mailbox na other.host

The entire original recipient localpart, including address extension, is
prepended to @other.host. For example, mail for username+foo is sent to
username+foo na other.host.


sysadmin+$user

The bare username, without address extension, is appended to sysadmin. For
example, mail for username+foo is sent to sysadmin+username.


sysadmin+$mailbox

The entire original recipient localpart, including address extension, is
appended to sysadmin. For example, mail for username+foo is sent to
sysadmin+username+foo.


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.404 / Virová báze: 228 - datum vydání: 16.10.2002





Další informace o konferenci Linux