On Fri, Feb 03, 2006 at 07:05:42PM -0500, Gerard Seibert wrote:
I am using a very simple recipe for acknowledging receipts for a project
I am handling.
This is the basic receipt:
:0 h c
* !^FROM_DAEMON
* !^X-Loop: your(_at_)own(_dot_)mail(_dot_)address
| (formail -r -I"Precedence: junk" \
-A"X-Loop: your(_at_)own(_dot_)mail(_dot_)address" ; \
echo "Mail received.") | $SENDMAIL -t
The problem is that it always uses this as the from in the reply
message:
Charlie Root <root(_at_)foobar(_dot_)net>
How can I configure it to use a specific address?
Gerard,
This will be dependent on your outgoing SMTP arrangement, i.e., is
it sendmail or sendmail-compatible? How was it set on installation? Etc.
However, you might be able to use the -f flag for the proper
"sendmail" (or clone) return address. That's what I do. Here
is close to what mine looks like at the end:
| "$SENDMAIL" $SENDMAILFLAGS -f "${RETURN_FROM}" "${RECIPIENT}"
--
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail