LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sendmail command line examples please. (https://www.linuxquestions.org/questions/linux-general-1/sendmail-command-line-examples-please-207756/)

leongoogs 07-21-2004 03:29 AM

Sendmail command line examples please.
 
Still a newbie here.
Has anyone got any command line examples of the sendmail function ?
I have postfix setup under Mandrake 9.2, mozilla mail works fine so I guess
there is not too much wrong with postfix. However I have a PHP app that uses
the sendmail function. I am trying isolate if I have a problem with email setup
or the PHP side of things. I have looked at the man page for sendmail and trolled
around sendmail and postfix sites. I have tried a few guesses at what a manual
sendmail -q user@domian might look like , but it doesn't work. So what should
it look like ? I guess someone must have done this to test a new sendmail setup
but I haven't been able to find it. Any good examples or URL's please.

leongoogs 07-21-2004 05:29 AM

http://www.linuxfocus.org/English/Ma...ticle130.shtml

Found it .


sendmail -v user@domainname < test.mail

test.mail has

Subject: test mail
first line of my message
[blank line]

mjolnir 07-21-2004 08:23 AM

Nice work leongoogs. A very informative link.


All times are GMT -5. The time now is 06:20 AM.