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.
ok i think things are most clear now and thanks for you to your advice
i install the module Mail::sender and when i launched it with a make i get Default SMTP server (hostname or IP address)
: 127.0.0.1
...Trying 127.0.0.1...FAILED ...the server is either down or doesn't accept connections on port 25(SMTP).
my firewall don't stop the 25 port locally i think that sendmail is not operationnel
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.
ok perhaps my sendmail.cf need to be "recompiled" by m4 but i don't know the right command perhaps i m wrong ...
thanks a lot
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>