Amedee Van Gasse wrote:
On Tue, December 2, 2008 10:31, Amedee Van Gasse wrote:
On Tue, December 2, 2008 03:10, Masim \"Vavai\" Sugianto wrote:
On Tue, Dec 2, 2008 at 9:03 AM, Kalvin Weng
wrote: I will be out of the office starting 2008-12-02 and will not return until 2008-12-06. well, we will have email bombing from 2008-12-02 to 2008-12-06 :-P
Maybe we must have a rule "do not use autoreply feature for you email address that registered on mailing list :-)" I just updated my /etc/postfix/maps/header_checks and reloaded Postfix.
# Reject OOTO-messages /^Subject:.*out of the office.*$/ REJECT Out Of The Office messages will not be delivered.
Normally I shouldn't even get this message myself (because of the subject).
OK, so that one didn't work. Because of the extra spaces. Aargh! Now it's:
/^Subject:.*out.*of.*the.*office.*$/ REJECT Out Of The Office messages will not be delivered.
Any comments, suggestions, improvements are welcome.
There are several caveats to your approach: - if you reject mails at the smtp level you should have your own mailserver that is the responsible mx for your domain, otherwise you will become a source of backscatter - header_checks are not the best tool for this problem since the headers are evaluated one line after the other without a way to combine patterns of several lines. As Carlos already proposed, Spamassassin is much better suited for this task, since you can check for a listmail header and the subject header and then set the appropriate action. That way you don't block desired autoresponder mails. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org