PDA

View Full Version : [ubuntu] Postfix sending to aliases


bp1509
September 22nd, 2008, 06:45 PM
d

MJN
September 23rd, 2008, 05:32 AM
It could be because you are not specifying the domain as part of the RCPT TO: address.

To experiment further, try adding a domain to the address - ideally one which matches the domains that Postfix is the final destination for (i.e. one that appears in $mydestination).

Incidentally, why is t9.com not listed in $mydestination? Do you not accept mail for <someone>@t9.com? The default behaviour of Postfix, for locally submitted mail without a domain portion, is to append $myorigin to the address. In your case this is set to mailname and hence t9.com. However, Postfix does not think it is the final destination for t9.com thus is probably ignoring the alias maps altogether.

Mathew

bp1509
September 23rd, 2008, 11:34 AM
d

MJN
September 23rd, 2008, 12:10 PM
If Postfix isn't the final destination for this mail then it won't be envoking any of the alias mappings.

Try testing as mentioned - sending to, say, rancid-admin-cisco@localhost.t8.com and see if the logged behaviour changes.

Mathew