deny wrote:
good afternoon
i use sendmail to send mail with a script perl i receive this mail in /var/spool/clientmqueue but not in my mailbox mozilla
here is the line in the script perl open(MAIL, "|/usr/sbin/sendmail [EMAIL PROTECTED]");
piping to a program is very unreliable. for instance
- what flags are necessary with the version of sendmail?
- Is sendmail sendmail or a symlink to the server's real Mail Server ?
- What if its a symlink to /dev/null? (I've actually seen that before believe it or not ;p)
- how can you tell it did or did not do what you want or trace any problems?
A better way is to do a real SMTP session with the/a/any mail server. That can be complicated but I use a module to do the heavy lifting: like the ever excellent Mail::Sender (Thanks Jenda!)
HTH :)
>
sendmail is launched [EMAIL PROTECTED] clientmqueue]# ps -aux | grep sendmail
root 2908 0.0 0.5 5484 2528 ? S Apr15 0:00 sendmail: accepting connections
no message errors in /var/log/mail/errors i need some help to receive my mail from the script perl to [EMAIL PROTECTED]
thanks
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>