Re: [exim] Very weird e-mail problems

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Patrick - South Valley Internet
Ημερομηνία:  
Προς: Jeremy Harris
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Very weird e-mail problems
This is what I get - I grep'd the logs by message ID, and got the
following from a few different tests:

Here's my setup: I'm using my gmail account to send the email. I am
trying to send an email to an email address on my Exim mail server
(patrick@???) that forwards to an email address at my Postfix server
(patrick@???).

Here is the log of an e-mail coming from my Gmail account forwarding to
the e-mail account on the Postfix server:

2006-11-30 13:58:20 1GptvA-00042a-8y <= patrick@???
H=wx-out-0506.google.com [66.249.82.238] P=esmtp S=1710
id=5aa0fe080611301400n5b0fe7acx90f068a9dd8f4140@???
T="Testing. Testing. Testing." from <patrick@???> for patrick@???


I've done about 10 different tests, and I get the same exact message
each time. I kept grepping for any other messages that shared the same
ID, but none did.

Someone else suggested using Wireshark to see what's going on, but I've
never used something like that. I'll take a look at that.

I've also never used strace, but if you could provide me an example of
how I can use it (I briefly read up on the man, but I don't know how to
use it for this situation), I'd be grateful.

Thanks.

Patrick



Jeremy Harris wrote:
> Patrick - South Valley Internet wrote:
>
>> On the mail server that is running Exim, we have a catch-all that sends
>> all mail from the domain foo.com which is located on the Exim server to
>> person@??? which is located on the Postfix server. For some reason,
>> it never arrives to the Postfix server. I took a look at the Exim logs,
>> and they show that the e-mail is being sent successfully, but when I
>> tail the logs on the Postfix server, I never see an e-mail arrive.
>>
>
> Turn on the Exim logging option to catch the accept string on delivery.
> Does it give any info about the type of system accepting the mail?
> (Many MTAs output their internal ID for the message)
>
>
>> I can set up a forward/catch-all on the Exim server to forward all mail
>> to my gmail account, and I get the e-mails instantly. This is why I
>> don't think it is the Exim server, but I could be wrong.
>>
>> Now, here's the very weird part. If I e-mail any e-mail address on the
>> Postfix server directly, the e-mail is received. However, when I
>> forward mail from an email address on the Exim server to an email
>> address on the Postfix server, the Exim logs say it's been sent but the
>> Postfix logs never say anything, whether it has failed or been successful.
>>
>> We haven't had any other complaints from anyone else, so I don't know
>> how to track this problem down. Like I said, I checked all the logs,
>> and nothing seemed out of the ordinary.
>>
>> Hopefully I'm not being too vague, and if I need to provide any more
>> information to help you folks troubleshoot, please let me know and I
>> will be more than happy to supply anything you might need.
>>
>
> Can you sniff the packet flow between the two machines?
> Grab the smtp conversation for a test mail. Is the HELO string
> from the Postfix what you think it should be?
>
> Can you watch the syscall activity of Postfix, using some tool
> like strace or truss? Does it see an incoming test mail?
>
> - Jeremy
>
>