View Single Post

  #2 (permalink)  
Old 08-14-2004
Steve
 
Posts: n/a
Default Re: perl sendmail -t adds hostname to To: field!

On Sat, 14 Aug 2004 08:16:42 +0000, Chris Fortune wrote:

> Hello,
> Linux RH9
> Exim 4.34 #1
>
> Does anybody know why this is happening?
>
> !#/usr/bin/perl
> open (MAIL, "|sendmail -t") or die $!;
> print MAIL "To: <joe@blow.com>\n";
> print MAIL "blah blah, etc.....
>
> It shows up in the mail queue as
>
> To: joe@blow.com@subdomain.myhostname.com
>
> Thanks in advance.


Theres a option line in exim about adding a domain name to unqualified
addresses, you haven't got this turned on have you?

Reply With Quote