Hi! Could you please give me some sample config for such an autoresponder: The user sends an e-mail to the server, containing the subject "GONE" and the server automatically puts the autoresponder on... and the same mechanism in order to remove the autoresponder... eventually the end-user will have to write "BACK" in the subject ;) Postfix for single domain & Suse 8.2 Thank you. Radu
Hi, Am Mittwoch, 11. Juni 2003 01:30 schrieb Radu Voicu:
Could you please give me some sample config for such an autoresponder:
The user sends an e-mail to the server, containing the subject "GONE" and the server automatically puts the autoresponder on... and the same mechanism in order to remove the autoresponder... eventually the end-user will have to write "BACK" in the subject ;)
Postfix for single domain & Suse 8.2
To all I know Postfix cannot do this for you. For a start it would have to evaluate the subject (or the body) of an e-mail. It doesn't. I don't know any MTA that does. But maybe you can define a hook for a script that will get executed for each e-mail that is handled by postfix. If your clients are Linux or Unix based, your users should use vacation instead. Greetings from Bremen hartmut
* Wed, 11 Jun 2003, hartmut.meyer@web.de:
Hi,
Am Mittwoch, 11. Juni 2003 01:30 schrieb Radu Voicu:
Could you please give me some sample config for such an autoresponder:
The user sends an e-mail to the server, containing the subject "GONE" and the server automatically puts the autoresponder on... and the same mechanism in order to remove the autoresponder... eventually the end-user will have to write "BACK" in the subject ;)
Postfix for single domain & Suse 8.2
Bad idea I think, the possibilities for a false positive are way too much.
To all I know Postfix cannot do this for you. For a start it would have to evaluate the subject (or the body) of an e-mail. It doesn't. I don't know any MTA that does.
Actually it does (in the body- and header checks), but not for this purpose.
But maybe you can define a hook for a script that will get executed for each e-mail that is handled by postfix.
What is possible is to use the recipient-delimiter ('+') and a .forward file that executes a file. So, when you send a mail to user+gone@example.com, and have a $HOME/.forward+gone file with |/some/command in it to switch on the responder and vv for user+back@example.com then it should work as intended.
If your clients are Linux or Unix based, your users should use vacation instead.
I agree. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. SuSE 8.2 x86 Kernel k_Athlon 2.4.20-4GB See headers for PGP/GPG info.
participants (3)
-
Hartmut Meyer
-
Radu Voicu
-
Theo v. Werkhoven