Package: fwknop-server
Version: 1.9.8-1

The *-mailx variants are for the command-line "mail" program, which is a userland program for end-users, not for use by scripted systems. In particular, depending on user configuration, "mail" might want to deposit copies of messages to an IMAP folder, requiring prompting for a password. This is hardly something to be used by scripts.

AFAIK, scripts should depend on mail-transport-agent and call "sendmail" directly. The code has to be modified slightly. Whereas with "mail" you can do

mail -s "my subject" [EMAIL PROTECTED] <<EOF
This is the body
of the message
EOF

with "sendmail" you have to do

sendmail [EMAIL PROTECTED] <<EOF
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: my subject

This is the body
of the message
EOF



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to