D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] [Fwd: Sendmail rewrites email addresses]

 


Hi everyone,

I'm writing a really simple perl script and having sendmail problems. Basicly, i am opening a pipe to send mail and writing out what i want but the to address is being rewritten for example:-

print SENDMAIL "To: robin@xxxxxxxxxxxxxxxxxxxxx\n";

this ends up as to=<robin.demon.co.uk@xxxxxxxxxxxxxxxxxxxxxxxx> and the mail bounces.

What am i doing wrong? and how do i stop sendmail rewriting the address in the firstplace?


(Sorry i sent this from the wrong email account at work to start with so it has 
bounced to someone.)


Many thanks

Robin







--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html