EnvToSMTP



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


.



Relevant Pages

  • Re: Suggestions for setting up HA
    ... to let you do away with the recipient address rewriting ... I assume you're asking for a way to have sendmail automatically ... actual destination host determine the rewriting of the recipient address ...
    (comp.mail.sendmail)
  • Re: alternatives for branching
    ... completely rewriting the app (splitting it into multiple parts, ... Ben, there are many web frameworks, and after experimenting with ... I really like HOP in general, and the dispatch table ...
    (comp.lang.perl.misc)