True, but you don't need sendmail to do that. telnet to a mail server and you can put whatever you like in the from field(HELO MAILTO FROM etc. I forget the exact syntax.) I once forged a mail to a friend to seem like it was from his boss. It was April fools day :) Regards Anders On Friday 08 June 2001 20:12, Ben Rosenberg wrote:
* Anders Johansson (andjoh@cicada.linux-site.net) [010608 11:06]: ->I don't think this is about relaying. Spoofing a from-address can be done ->without any relay at all. -> ->I just found this out. I had been getting strange entries in my maillog from ->sourceforge servers, and their admins told me it had to do with SMTP ->callback. i.e. finding out if the from-address is valid or not. I think this ->is what's required. But it has nothing to do with relaying, I'm *almost* ->certain :). ->
You can masq the domain your coming from like this with Sendmail. Most server operators prefer *not* to receive mails from unresolvable domains (such as your localhost.localdomain).
-- MASQUERADE_AS(`mail.com') FEATURE(`masquerade_envelope') --
For further reading you can check this out.
Read http://www.hserus.net/pop_smtp.html
Regards,