OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: Transport Based on Destination MX record and not Destination Domain?

From: Rodre Ghorashi-Zadeh (rodrico7hotmail.com)
Date: Thu Aug 21 2008 - 13:35:16 CDT


>
> first remove (or hold) the old mail or requeue it. then make sure the
> message passes via the smtpd where you added the check_mx_access call.
> As Noel said, use postmap to test your map, and if needed use -v to get
> more logs.
>
>
>
postmap outputs the correct mapping:

postmap -q 208.65.144.3 cidr:/etc/postfix/smarthost.cidr
FILTER smtp:mail.shawcable.com

and the message passes through the smtpd with the check_recipient_mx_access call:

Aug 21 11:20:34 czhqma01 postfix/smtpd[10312]:>>> START Sender address RESTRICTIONS <<<
Aug 21 11:20:34 czhqma01 postfix/smtpd[10312]: generic_checks: name=check_recipient_mx_access
Aug 21 11:20:34 czhqma01 postfix/smtpd[10312]: generic_checks: name=check_recipient_mx_access status=0
Aug 21 11:20:34 czhqma01 postfix/smtpd[10312]:>>> END Sender address RESTRICTIONS <<<

but it doesn't seem to be picking up on it. What else can I try?

~Rod
_________________________________________________________________
If you like crossword puzzles, then you'll love Flexicon, a game which combines four overlapping crossword puzzles into one!
http://g.msn.ca/ca55/208