exim.conf screwed up?
She who must be obeyed asked me to generate a list of family birthdays, so I
whipped up a perl script to read a flat file at the beginning of each month
and report via mail on who's up... However, it seems that my exim.conf is not
up to snuff. When I enter proper addresses into my script (i.e.
jeffelkins@earthlink.net) delivery fails with a munged address of:
jeffelkins.net@elkins.org --- It works if addresses in the perl script are
left unqualified, pointing to local accounts -- jeff works jeff@elkins.org
fails. Mail seems to work fine otherwise.
Where might I have screwed up?
#!/usr/bin/perl
open(MAIL,"|exim -bm -f jeff -t");
print MAIL "To: jeff@elkins.org\n";
print MAIL "From: jeff@elkins.org\n";
print MAIL "CC: jeffelkins@earthlink.net\n";
print MAIL "Subject: Birthdays\n";
print MAIL "X-Generated-By: bday\n";
print MAIL "Upcoming Birthdays\n";
print MAIL "==================\n";
open (BDAY,"/tmp/bday.tmp");
while (<BDAY>) {
print MAIL $_;
}
close (bday);
close (MAIL);
exim log:
<= jeff@elkins.org U=root P=local S=415
<= jeff@elkins.org U=mail P=spam-scanned S=733 id=E19xnfb-0000I5-00@elkins.org
=> jeff.org <jeff.org@elkins.org> D=spamcheck T=spamc_delivery
** jeff.org@elkins.org: unknown local-part "jeff.org" in domain "elkins.org"
<= <> R=19xnfe-0000IA-00 U=mail P=local S=1536
Error message sent to jeff@elkins.org
Completed
Reply to: