OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "append_at_myorigin" not working

From: Joel CARNAT (joelcarnat.net)
Date: Sat Mar 04 2006 - 05:26:09 CST


Le 4/3/2006, "Magnus Bäck" <magnusdsek.lth.se> a écrit:

>On Saturday, March 04, 2006 at 10:59 CET,
> Joel CARNAT <joelcarnat.net> wrote:
>
>> Using (from shell) : `echo test | mailx -s test root`
>> makes the mail being delivered to root$myhostname rather than to
>> root$mydomain, which I expected after reading about
>> "append_at_myorigin".
>
>Show logs.
>

Mar 4 12:20:40 postfix sendmail[78]: k24BKee9000078: from=ptijo,
size=29, class=0, nrcpts=1,
msgid=<200603041120.k24BKee9000078postfix.here.com>,
relay=ptijolocalhost
Mar 4 12:20:40 postfix postfix/smtpd[1784]: connect from
localhost.here.com[127.0.0.1]
Mar 4 12:20:40 postfix postfix/smtpd[1784]: 682D123C62:
client=localhost.here.com[127.0.0.1]
Mar 4 12:20:40 postfix postfix/cleanup[22111]: 682D123C62:
message-id=<200603041120.k24BKee9000078postfix.here.com>
Mar 4 12:20:40 postfix postfix/qmgr[21156]: 682D123C62:
from=<ptijopostfix.here.com>, size=562, nrcpt=1 (queue active)
Mar 4 12:20:40 postfix sendmail[78]: k24BKee9000078: to=root,
ctladdr=ptijo (2000/100), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30029, relay=localhost.here.com. [127.0.0.1], dsn=2.0.0, stat=Sent
(Ok: queued as 682D123C62)
Mar 4 12:20:40 postfix postfix/smtpd[1784]: disconnect from
localhost.here.com[127.0.0.1]
Mar 4 12:20:40 postfix postfix/local[11374]: 682D123C62:
to=<rootpostfix.here.com>, relay=local, delay=0, status=sent (delivered
to mailbox)
Mar 4 12:20:40 postfix postfix/qmgr[21156]: 682D123C62: removed

>[...]
>
>> virtual_mailbox_domains = $transport_maps
>
>Never list $transport_maps in virtual_mailbox_domains. This does not
>make sense and it will break your mail system horribly if you need to
>list some other domain in your transport table.
>

hum... all my domains are virtual ones.
where do I list them ? in another hash table ; and leave $transport_maps
empty ?