jmcfarlane

Posts: 607 Replies: 2
April 03, 2002 @17:24 Same topic | Reply to this post This post is read only View this post by itself

how do you test sendmail?

I just installed sendmail and it doesn't seem to be working, how do i test it?


thanks

John M.



jmcfarlane

Posts: 607 Replies: 0
April 03, 2002 @21:18 Same topic | Reply to this post This post is read only View this post by itself

Re: how do you test sendmail?

to test sendmail, do something like this (hit the enter key after each line fyi):

root# sendmail -vt
to: user@somedomain.com
from: user@somedomain.com
subject: bla, bla, bla
this is the body of the email
.




-- now you will watch sendmail try to send the mail, and it will give you information if it fails. I'm very new to sendmail, and there are prolly lots of things you can do, but this is a start :)


John M.



jmcfarlane

Posts: 607 Replies: 0
April 14, 2004 @22:36 Same topic | Reply to this post This post is read only View this post by itself

Re: how do you test sendmail?

here's another quick way to test:

user# echo -e "message body" | mail -N -s "subject" test@foobar.com &


John M.



FCGI/WSGI
0.13.3
122.813940 ms