<snip />dont know i use sendmail-8.12.9-7mdk
its my server lrwxrwxrwx 1 root root 21 avr 13 14:37 sendmail -> /etc/alternatives/mta*
The point he was making is that if you call sendmail directly you have to make these tests everytime you want to use the script on a new machine. (And, for the purposes of these tests, an upgrade means a new machine.) There are modules that will handle sending a message via SMTP, make sure it was sent correctly, report any errors, *and* you don't have to worry about the above,
since they can use *any* SMTP server.
My rule 1 of programming: The program will be in use longer than you think. Try to reduce your workload over it's lifetime.
when i try to send a message test like this [EMAIL PROTECTED] php]# mail [EMAIL PROTECTED] Subject: toto . Cc: Null message body; hope that's ok
i receive nothing in my Mailbox but i ve this in /var/log/mail/errors
pr 17 07:16:52 linux-pour-lesnuls sendmail[2255]: NOQUEUE: SYSERR(root): No local mailer defined Apr 17 07:16:52 linux-pour-lesnuls sendmail[2255]: NOQUEUE: SYSERR(root): QueueDirectory (Q) option must be set Apr 17 07:16:52 linux-pour-lesnuls sendmail[2261]: NOQUEUE: SYSERR(root): No local mailer defined Apr 17 07:16:52 linux-pour-lesnuls sendmail[2261]: NOQUEUE: SYSERR(root): QueueDirectory (Q) option must be set
Well, from that I deduce that you either need to define a local mailer or a QueueDirectory. Sounds like it didn't deliver your mail since it has no place to deliver it *to*. I'd check the Sendmail docs.
Daniel T. Staal
--------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>