On Thu, 30 Sep 2004, Roman Dusek wrote:

> Hi all,
> 
> did anyone try to solve the problem how to confirm e-mail delivery?
> 
> The only way I have thought out is:
> - send the e-mail to XMail server
> - parse the smail log file for message ID to see if it has successfull 
> delivery (RLYS) or delivery to secondary mailserver (SMTP)
> - wait if error e-mail message doesn't appear for the case of delivery to 
> secondary mail server (e.g. user doesn't exist on primary mailserver). But 
> how to reliably parse this one?
> 
> Is there any other way?

If the SMTP line is logged, the remote mail server has reported OK status. 
If this is really a remote mail server, you can still see an error coming 
from it even if it accepted the message. If this is your mail server on 
the local net, you should be fine. In case the user doe not exist in the 
remote mail server, the SMTP will never be logged in the SMAIL log. Also, 
you have to parse for LOCAL lines.


- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to