Re: return to sender recipe
[email protected] (Professional Software Engineering)
| Newsgroups | gmane.mail.procmail |
|---|---|
| Organization | Professional Software Engineering |
| Message-ID | <[email protected]> |
At 06:28 2010-12-11, Richard Reina wrote: >I am trying to find a recipe that would allow me to return a message >to the sender using ssmtp or msmtp -- I do not want to use >sendmail. Does anyone know where I might find such a recipe? Just pipe the message you're sending into ssmtp with the appropriate commandline. If you want to supplant sendmail entirely (versus for "a message"), then: $SENDMAIL="smmtp" $SENDMAILOPTS="whatever options are necessary" Normally, you'd use this just for FORWARDING: :0 ! address But you can invoke it directly: :0 | $SENDMAIL $SENDMAILOPTS address (in which case you can change or amend options on that invocation). When you say "return a message", are you trying to produce a bounce, or send some other message text back to the sender? There are examples of sending autoreplies in 'man procmailex'. --- Sean B. Straw / Professional Software Engineering Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html> Please DO NOT carbon me on list replies. I'll get my copy from the list.