Google Answers Logo
View Question
 
Q: SMTP successfully sending or not ( No Answer,   6 Comments )
Question  
Subject: SMTP successfully sending or not
Category: Computers > Programming
Asked by: schris123-ga
List Price: $15.00
Posted: 05 Oct 2004 18:57 PDT
Expires: 04 Nov 2004 17:57 PST
Question ID: 410867
Hi,

I have problem with SMTP (FREEBSD/LINUX), do you know where I can find
information about how I know that email is successfully sent or not?

Thank You!
Answer  
There is no answer at this time.

Comments  
Subject: Re: SMTP successfully sending or not
From: marcdrogin-ga on 05 Oct 2004 20:06 PDT
 
Why not just email yourself?
Subject: Re: SMTP successfully sending or not
From: crythias-ga on 05 Oct 2004 20:37 PDT
 
FREEBSD: tail /var/log/maillog, for one. Bounce messages in mail for another.

SMTP should work by default, as long as other things like Internet access works.
Subject: Re: SMTP successfully sending or not
From: schris123-ga on 05 Oct 2004 20:57 PDT
 
Thank you for your comment. To be clear, I run a greeting card
website. I need to monitor if every email is successfully sent or not.
So I need to know is there any explaination about how the standard
SMTP for FreeBSD/Linux works.
Subject: Re: SMTP successfully sending or not
From: crythias-ga on 06 Oct 2004 20:57 PDT
 
Just to be sure we're on the same page, and there are lots of people
who will make this distinction, FreeBSD and Linux are not the same
product. FreeBSD is its own entity, based upon BSD, and Linux (or,
depending on your inclination, GNU/Linux) is a kernel and offered via
many distributions (Mandrake, Debian, Gentoo, RedHat, and others), the
distributions each having a set of interfaces and programs that add
value to the kernel.

FreeBSD is configured around a set of ports that are designed
specifically to run on FreeBSD. FreeBSD has an ability to run Linux
applications in a binary interface mode. Depending upon whom you ask,
the binary interface is roughly comparable to native FreeBSD binaries.

The reason I'm even getting to this point is to make sure that the
answer you seek is based upon appropriate information. Since I have to
assume you're using a vanilla install of FreeBSD (which release,
please?), then I would assume that your mail transfer program is
Sendmail. www.sendmail.org.

However, your mailer is probably the key to determining
responsiveness, not sendmail. The general best you can hope for is
that you ask for a delivery receipt in the mail and the recipient
agrees to respond in kind (Outlook defaults to send receive receipt.
Eudora defaults to ask you if you want to send a receipt).

I'd suggest reading http://rfc.giga.net.tw/rfc2298 regarding Message
Disposition Notification Requests to find out if you want to add that
overhead. MDN's are OK, but pay attention to this: "MDNs SHOULD NOT be
sent automatically if the address in the Disposition-Notification-To
header differs from the address in the Return-Path header."

It would be important to understand the implications of your
"Reply-To" being the greeting card sender, if the sender's email
address is blank or fake or different from how you attempt to obtain
your disposition (maybe you want the disposition to the sender, maybe
you want the disposition to yourself.)

So, that's one hint: disposition.
The other hint, which is less fumbling but more "work" on your side is
simply to see if the email is valid before send.
http://www.zend.com/zend/spotlight/ev12apr.php gives a very excellent
tutorial on how to test an email on the recipient's ISP.

So, there you have it. You can hope that the recipient can respond to
a disposition request and/or send to a validated address and hope that
the recipient isn't blocking your domain for spam or the sender or the
content (or the mailbox quota is full). Most of the recipient email
program side is outside your control. The email may be sent, but rules
wizard dumps it to "deleted items" immediately and you don't get
negative confirmation because it was sent and received.

Also consider that some errors may not even appear for 12 hours, due
to problems communicating with the host (although a lot of that can be
avoided by validating email before send).

Since we don't know what language (PHP, PERL, PYTHON, etc.) is being
used, the assistance this might have provided is still limited.

I still hope this free comment is useful to you.
Subject: Re: SMTP successfully sending or not
From: schris123-ga on 31 Oct 2004 04:17 PST
 
Thank You for your help, crythias-ga!
Subject: Re: SMTP successfully sending or not
From: crythias-ga on 31 Oct 2004 10:08 PST
 
http://answers.google.com/answers/threadview?id=422513 gives yet
another option. This is a free comment.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy