Marcin 'Rambo' Roguski writes:
I'm using courier with several of my servers and I'm quite happy with it. Today I'm trying to set up an autoresponder about impending domain change. Since I'm using maildrop: piece of cake - worked like charm, but the message body is pretty generic. Basically it says "we've changed domain name, please change the contact in your address book from abc.com to xyz.com".What I'm thinking would be cool is to have actual address and changed address printed in message body. So my question is: can one, and if yes, then how to use variable names in a message template (-t for mailbot) so they'll be substituted? Obviously I tried using variables in the template itself: neither $MATCH nor ${MATCH} work, but hopefully there's a way to make it work.
You'd have to hack together your own wrapper. Instead of having mailbot execute sendmail, mailbot would execute a script that pipes standard input through to sendmail, changing variable placeholders.
A better idea would be to have a fixed autoresponse text with a URL to a web site that explains the changes.
pgpSOmbdvxLCt.pgp
Description: PGP signature
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users