[Mimedefang] discarded messages
David F. Skoll
dfs at roaringpenguin.com
Sun Mar 23 22:06:01 EST 2003
On Sun, 23 Mar 2003, Michael Sims wrote:
> From each directory:
> cat ./INPUTMSG | /usr/sbin/sendmail -t
Don't do this! You do *not* want to pull recipients from message
headers, because you might send the message to the wrong people, or
worse, to off-site people.
The correct invocation is the rather more complicated:
/use/sbin/sendmail -f `grep '^S' COMMANDS | sed -e 's/^S//'` \
`grep '^R' COMMANDS | sed -e 's/^R//'` < INPUTMSG
Make sure you get the `left` and 'right' quotes correct.
Please see the mimedefang-protocol man page to understand the above
command line.
--
David.
More information about the MIMEDefang
mailing list