[Exim] Problem calling exim with -t: To: user doesn't get pr…

Pàgina inicial
Delete this message
Reply to this message
Autor: Al Fisher
Data:  
A: exim-users
Assumpte: [Exim] Problem calling exim with -t: To: user doesn't get processed
Hi All

I'm using this noddy perl script:

#!/usr/bin/perl

sub mail_details
{
my ($mail_output, $now) = @_;

my $email_from = "aluicious\@hotmail.com;
my $email_to = "aluicious\@hotmail.com";
$| = 1;
open(MAIL,"| /usr/exim/bin/exim -d9 -f \'$email_from\' -t \'$email_to\'");

print MAIL <<_EOM_;
To: $email_to
Cc: tonko\@breathemail.net
Bcc: stavros\@arsenalfc.net
Subject: **debugging ignore**

$mail_output
Debugging ... please ignore

_EOM_

close(MAIL);

return;
}

&mail_details;

.. which has been ripped out of a bigger system to try to debug this problem
I'm having with exim 3.02 & the -t option. Partial debug output looks like
this:

Exim version 3.02 debug level 9 uid=0 gid=1
probably ndbm
sender address = aluicious@???
set_process_info: 24570 3.02 accepting a local non-SMTP message from
<aluicious@hotmail.
com>
Sender: aluicious@???
Recipients:
aluicious@???
search_tidyup called
>>Original headers:

To: aluicious@???
Cc: tonko@???
Bcc: stavros@???
Subject: test

rewrite_one_header: type=T:
To: aluicious@???
rewrite_one_header: type=C:
Cc: tonko@???
search_tidyup called
>>Final headers:

P Received: from root by lamb with local (Exim 3.02 #1)
        id 11lYVo-0006OI-00; Wed, 10 Nov 1999 14:14:12 +0000
T To: aluicious@???
C Cc: tonko@???
* Bcc: stavros@???
  Subject: test
I Message-Id: <E11lYVo-0006OI-00@lamb>
F From: aluicious@???
  Date: Wed, 10 Nov 1999 14:14:12 +0000


Data file written for message 11lYVo-0006OI-00
Writing spool header file
Size of headers = 304
LOG: 0 MAIN
<= aluicious@??? U=root P=local S=335
delivering message 11lYVo-0006OI-00
set_process_info: 24571 3.02 delivering 11lYVo-0006OI-00
Opened spool file 11lYVo-0006OI-00-H
user=root uid=0 gid=1 sender=aluicious@???
sender_local=0 resent=no ident=root
Non-recipients:
-->aluicious@??? [0]

& the maail never gets to me. Or to anyone else I specify in the "To:"
field, so the problem isn't with my address. I'm obviously doing something
really obviously stupid. Any clues?


Cheers

Al