Re: [exim] get email status (C,C++)

Top Page
Delete this message
Reply to this message
Author: Dmitry Baryshev
Date:  
To: exim-users
Subject: Re: [exim] get email status (C,C++)
2009/7/13 Dave Evans <exim-users-20081202@???>:
> On Mon, Jul 13, 2009 at 01:11:14AM +0300, Dmitry Baryshev wrote:
>> Hi.
>>
>> I use exim4 in Debian Lenny and jwsmtp library as a SMTP client. When
>> I try to send a email with non-existent "from" email address, exim
>> answers 250 OK <HASH>, but don't actually send this email (I believe
>> that "from" email address is bad). How can I determine
>> programmatically (C or C++) that exim4 didn't actually send this
>> email? With SMTP calls to exim, exim configuration or something?
>> Thanks!
>
> By "250 OK <HASH>" do you mean that's the response you get back from the
> end-of-data "." command?  If so, then exim has accepted the message, and
> "<HASH>" as you call it is actually the exim message ID.  Go look for that ID
> in the exim logs to find out what happened to the message.
>
> --
> Dave Evans
> http://djce.org.uk/
> http://djce.org.uk/pgpkey
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFKWtKGnYOJTU6nkkkRAmI5AJ9JmpG+bcS2069ZJCvcnHAxKbTJDQCfbDyT
> onwfxzZh+Y1xTy753OgS7oU=
> =N9Dd
> -----END PGP SIGNATURE-----
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>


Hi. Does it mean that there is no way to determine email status
without parsing logs? I mean that if I have no logs on my box, I won't
determine the email status at all? Thanks!

--