bug-mailfromd


Search for: Advanced

Re: [Bug-mailfromd] srs (sender rewrite)


> But I searched a bit on this[1], maybe the marcros ${rcpt_mailer},
> ${rcpt_host} hold the correct destination?

That depends on what you call "destination". According to
Sendmail Installation and Operation Guide, section 5.2:

      ${rcpt_addr}
           The address part of the resolved  triple  of  the
           address given for the SMTP RCPT command.  Defined
           in the SMTP server only after a RCPT command.

      ${rcpt_host}
           The host from the resolved triple of the  address
           given  for the SMTP RCPT command.  Defined in the
           SMTP server only after a RCPT command.

      ${rcpt_mailer}
           The  mailer  from  the  resolved  triple  of  the
           address given for the SMTP RCPT command.  Defined
           in the SMTP server only after a RCPT command.

Regards,
Sergey