Auteur: Peter Bowyer Date: À: exim users Sujet: Re: [exim] get email status (C,C++)
On 13/07/2009, Dmitry Baryshev <ksquirrel.iv@???> wrote: > 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!
If you're looking for a separate API that allows you to query the
status of a message, there is none. But if your C/C++ code is carrying
out the SMTP dialogue with Exim, you can use Exim ACLs to provide
feedback to your code within the 2xx, 4xx and 5xx messages.
If the real problem is that Exim is accepting messages with bogus
'From' addresses, you can adjust this in an ACL as well. That's where
the log suggestion comes in - find out exactly why Exim is not
delivering the message and you'll be better informed.
Peter
--
Peter Bowyer
Email: peter@???
Follow me on Twitter: twitter.com/peeebeee