ssmtp should rewrite To: addresses that include the current hosts FQDN, or anything that would map back to it, perhaps by cutting off the domain and treating the address as just a local account with the uid rules for such.
I don't think its the job of the MTA to munge the headers that a users has specified. Recently a number of bugs and wishes have come to me that involve much the same thing. While ssmtp will try to do the "right" thing to get the email where it needs to go (including munging MAIL FROM and RCPT TO), I do not want to have it replace user specified addresses in the mail headers as this will invariably upset someone else who wants to specify exactly what goes in there. I know a configuration setting would negate this, but again it comes down to my feeling on what ssmtp should and shouldn't play with. Matt. BTW: I know it already munges the From: field!----- Original Message -----
I don't think its the job of the MTA to munge the headers that a users has specified. Recently a number of bugs and wishes have come to me that involve much the same thing. While ssmtp will try to do the "right" thing to get the email where it needs to go (including munging MAIL FROM and RCPT TO), I do not want to have it replace user specified addresses in the mail headers as this will invariably upset someone else who wants to specify exactly what goes in there. I know a configuration setting would negate this, but again it comes down to my feeling on what ssmtp should and shouldn't play with. Matt. BTW: I know it already munges the From: field!----- Original Message -----