EnvToSMTP
- From: Joe Brennan <joekevil@xxxxxxxxx>
- Date: Wed, 11 Jul 2012 06:49:51 -0700 (PDT)
I'm experimenting with rewriting the recipient address of one specific domain in EnvToSMTP.
If I do
/usr/sbin/sendmail -d21.1 -bt
I can see it working as I want:
EnvToSMTP jb51 < @ lionmailmx . cc . columbia . edu . >EnvToSMTP input: jb51 < @ lionmailmx . cc . columbia . edu . >
PseudoToReal input: jb51 < @ lionmailmx . cc . columbia . edu . >
PseudoToReal returns: jb51 < @ lionmailmx . cc . columbia . edu . >
MasqSMTP input: jb51 < @ lionmailmx . cc . columbia . edu . >
MasqSMTP returns: jb51 < @ lionmailmx . cc . columbia . edu . >
EnvToSMTP returns: jb51 < @ columbia . edu . >
If I do
/usr/sbin/sendmail -d21.1 -bs
After I give the RCPT command, this excerpt shows the same input giving different output:
rewrite: ruleset EnvToSMTP input: jb51 < @ lionmailmx . cc . columbia . edu . >
rewrite: ruleset PseudoToReal input: jb51 < @ lionmailmx . cc . columbia . edu . >
rewrite: ruleset PseudoToReal returns: jb51 < @ lionmailmx . cc . columbia . edu . >
rewrite: ruleset MasqSMTP input: jb51 < @ lionmailmx . cc . columbia . edu . >
rewrite: ruleset MasqSMTP returns: jb51 < @ lionmailmx . cc . columbia . edu . >
rewrite: ruleset EnvToSMTP returns: jb51 < @ lionmailmx . cc . columbia . edu . >
I did restart the daemon! I can't figure out why the rule behaves differently in those two tests.
Joseph Brennan
Columbia University I T
.
- Follow-Ups:
- Re: EnvToSMTP [debugging sendmail.cf rewriting]
- From: Andrzej Adam Filip
- Re: EnvToSMTP [debugging sendmail.cf rewriting]
- Prev by Date: Re: Cannot open /etc/mail/local-host-names
- Next by Date: Re: EnvToSMTP [debugging sendmail.cf rewriting]
- Previous by thread: Re: Cannot open /etc/mail/local-host-names
- Next by thread: Re: EnvToSMTP [debugging sendmail.cf rewriting]
- Index(es):
Relevant Pages
|