On Fri, 3 Nov 2000, Kenn Humborg wrote:
> If there's an error send back a bounce message to you
> rather than exiting the sendmail command with a non-zero
> status and printing an error message or dropping the message
> into dead.letter. I.e. always accept the message (IIRC,
> really rushed right now).
>
cool.
> > also: where will it appear to have come from if i don't do the
> > -f"<orig_from>" bit?
>> You. Well, the From: header will be OK, but the envelope
> sender (remember this? :-) will be paulj at itg (sendmail
> sees that you're SU-ed and gets your real UID, I think).
>
not a problem.
also... i don't really want the -t do i? cause my script already knows
who i want to send to.. so:
cat /var/spool/mail/${USER} | formail +1 -ds sendmail -oem ${USER}
should do the trick for me.
(on the resend it won't go back to /var/spool/mail, it'll go to where
it should go now).
> Most users won't see the envelope sender, though...
>
true..
anyway.. seems very close to the answer. (how did command==sendmail
escape me?)
> Later,
> Kenn
>
thanks kenn,
--paulj
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!