Automatic Reply via Procmail

Automatic Reply via Procmail

am 30.05.2005 07:10:11 von Wolfgang Bauer

Hi,

Running System is SuSE 9.2 with Sendmail 8.13.1
I want to build a procmailrc-file for a user, to auto-reply the sender of
the E-Mail Address with more than one line in the E-Mail body. How is this
possible?

Best Regards
Wolfgang Bauer

Re: Automatic Reply via Procmail

am 30.05.2005 07:55:59 von Alan Connor

On comp.mail.misc, in <1117429610.515320@dns2.jm-data.at>,
"Wolfgang Bauer" wrote:

> Hi,
>
> Running System is SuSE 9.2 with Sendmail 8.13.1 I want to build
> a procmailrc-file for a user, to auto-reply the sender of the
> E-Mail Address with more than one line in the E-Mail body. How
> is this possible?
>
>

It's easy. But very unwise unless there is a good
spamfilter BEFORE the auto-response stage.

Spammers almost always use non-existent return
addresses on real domains, and all an auto-response
will get you is a bounce. You will end up flooding the
already overloaded mail network with useless messages
which could fill up his/her POP/IMAP boxes in short
order.

Instead of just getting the spam, he will get a bounce
for each one of them too, which can trigger another
auto-response which will get another bounce....

Auto-responses are simple to setup but fairly difficult
to setup _well_. The Internet is not what it used to be.

The use of a passlist is very advisable too: Addresses
from which mail is accepted BEFORE the spamfilter stage.

Be warned: There is a mentally-deranged troll who monitors
this group that hates various forms of auto-responses.

I do not read any of its posts, (or ANY responses to
them) regardless of which of its hundreds of aliases it
is using at the moment. And it will be happy to fill
your mind with disinformation on the subject.

AC

--
alanconnor AT earthlink DOT net
Use your real return address or I'll never know you
even tried to mail me. http://tinyurl.com/2t5kp
~

Re: Automatic Reply via Procmail

am 30.05.2005 08:10:23 von Wolfgang Bauer

Hi Alan,

Be sure we have configured Kaspersky Anti-Virus and Anti-SPAM in Front of
our mail relay system. SPAM WILL BE BLOCKED.
So how can i set up easily an auto-responder?

"Alan Connor" schrieb im Newsbeitrag
news:PVxme.2339$s64.2310@newsread1.news.pas.earthlink.net...
> On comp.mail.misc, in <1117429610.515320@dns2.jm-data.at>,
> "Wolfgang Bauer" wrote:
>
>> Hi,
>>
>> Running System is SuSE 9.2 with Sendmail 8.13.1 I want to build
>> a procmailrc-file for a user, to auto-reply the sender of the
>> E-Mail Address with more than one line in the E-Mail body. How
>> is this possible?
>>
>>
>
> It's easy. But very unwise unless there is a good
> spamfilter BEFORE the auto-response stage.
>
> Spammers almost always use non-existent return
> addresses on real domains, and all an auto-response
> will get you is a bounce. You will end up flooding the
> already overloaded mail network with useless messages
> which could fill up his/her POP/IMAP boxes in short
> order.
>
> Instead of just getting the spam, he will get a bounce
> for each one of them too, which can trigger another
> auto-response which will get another bounce....
>
> Auto-responses are simple to setup but fairly difficult
> to setup _well_. The Internet is not what it used to be.
>
> The use of a passlist is very advisable too: Addresses
> from which mail is accepted BEFORE the spamfilter stage.
>
> Be warned: There is a mentally-deranged troll who monitors
> this group that hates various forms of auto-responses.
>
> I do not read any of its posts, (or ANY responses to
> them) regardless of which of its hundreds of aliases it
> is using at the moment. And it will be happy to fill
> your mind with disinformation on the subject.
>
> AC
>
> --
> alanconnor AT earthlink DOT net
> Use your real return address or I'll never know you
> even tried to mail me. http://tinyurl.com/2t5kp
> ~

Re: Automatic Reply via Procmail

am 30.05.2005 08:49:53 von Alan Connor

On comp.mail.misc, in <1117433222.362028@dns2.jm-data.at>, "Wolfgang Bauer" wrote:

[top posting corrected]

> "Alan Connor" schrieb im Newsbeitrag
> news:PVxme.2339$s64.2310@newsread1.news.pas.earthlink.net...
>> On comp.mail.misc, in <1117429610.515320@dns2.jm-data.at>,
>> "Wolfgang Bauer" wrote:
>>
>>> Hi,
>>>
>>> Running System is SuSE 9.2 with Sendmail 8.13.1 I want to build
>>> a procmailrc-file for a user, to auto-reply the sender of the
>>> E-Mail Address with more than one line in the E-Mail body. How
>>> is this possible?
>>>
>>>
>>
>> It's easy. But very unwise unless there is a good
>> spamfilter BEFORE the auto-response stage.
>>
>> Spammers almost always use non-existent return
>> addresses on real domains, and all an auto-response
>> will get you is a bounce. You will end up flooding the
>> already overloaded mail network with useless messages
>> which could fill up his/her POP/IMAP boxes in short
>> order.
>>
>> Instead of just getting the spam, he will get a bounce
>> for each one of them too, which can trigger another
>> auto-response which will get another bounce....
>>
>> Auto-responses are simple to setup but fairly difficult
>> to setup _well_. The Internet is not what it used to be.
>>
>> The use of a passlist is very advisable too: Addresses
>> from which mail is accepted BEFORE the spamfilter stage.
>>
>> Be warned: There is a mentally-deranged troll who monitors
>> this group that hates various forms of auto-responses.
>>
>> I do not read any of its posts, (or ANY responses to
>> them) regardless of which of its hundreds of aliases it
>> is using at the moment. And it will be happy to fill
>> your mind with disinformation on the subject.
>>
> Hi Alan,
>
> Be sure we have configured Kaspersky Anti-Virus and Anti-SPAM
> in Front of our mail relay system. SPAM WILL BE BLOCKED. So
> how can i set up easily an auto-responder?
>

Wolfgang,

Here's a basic procmail recipe for what you want to do.

:0B # egrep the body
* [a-zA-Z]+ # at least one of those characters found
|(formail -r ; cat file) | $SENDMAIL -t

That will send an auto-reponse with "Re: original subject"
and minimal headers, with the file "file" instead of
the original body. (use full path for the file)

If you want to add a special header identifying the auto-
response (a good idea) do this:

|(formail -r -I"X-F00: blah" ; cat file) | $SENDMAIL -t

You will need to use a ~/.forward file to have sendmail
pipe the incoming mail to procmail and put that recipe
in a ~/.procmailrc with the right environment vars at
the top.

I can tell you how to do both if necessary.

Or how to do both of those and a lot of other good
stuff can be found on this webpage:

http://www.uwasa.fi/~ts/info/proctips.html

AC

--
alanconnor AT earthlink DOT net
Use your real return address or I'll never know you
even tried to mail me. http://tinyurl.com/2t5kp

Re: Automatic Reply via Procmail

am 30.05.2005 10:11:43 von Wolfgang Bauer

Thank you Alan,

I've got one simpler way.
Via Usermin you can say that he should auto-reply from file, and this works
also.

Best Regards
Wolfgang
"Alan Connor" schrieb im Newsbeitrag
news:lIyme.2360$s64.1498@newsread1.news.pas.earthlink.net...
> On comp.mail.misc, in <1117433222.362028@dns2.jm-data.at>, "Wolfgang
> Bauer" wrote:
>
> [top posting corrected]
>
>> "Alan Connor" schrieb im Newsbeitrag
>> news:PVxme.2339$s64.2310@newsread1.news.pas.earthlink.net...
>>> On comp.mail.misc, in <1117429610.515320@dns2.jm-data.at>,
>>> "Wolfgang Bauer" wrote:
>>>
>>>> Hi,
>>>>
>>>> Running System is SuSE 9.2 with Sendmail 8.13.1 I want to build
>>>> a procmailrc-file for a user, to auto-reply the sender of the
>>>> E-Mail Address with more than one line in the E-Mail body. How
>>>> is this possible?
>>>>
>>>>
>>>
>>> It's easy. But very unwise unless there is a good
>>> spamfilter BEFORE the auto-response stage.
>>>
>>> Spammers almost always use non-existent return
>>> addresses on real domains, and all an auto-response
>>> will get you is a bounce. You will end up flooding the
>>> already overloaded mail network with useless messages
>>> which could fill up his/her POP/IMAP boxes in short
>>> order.
>>>
>>> Instead of just getting the spam, he will get a bounce
>>> for each one of them too, which can trigger another
>>> auto-response which will get another bounce....
>>>
>>> Auto-responses are simple to setup but fairly difficult
>>> to setup _well_. The Internet is not what it used to be.
>>>
>>> The use of a passlist is very advisable too: Addresses
>>> from which mail is accepted BEFORE the spamfilter stage.
>>>
>>> Be warned: There is a mentally-deranged troll who monitors
>>> this group that hates various forms of auto-responses.
>>>
>>> I do not read any of its posts, (or ANY responses to
>>> them) regardless of which of its hundreds of aliases it
>>> is using at the moment. And it will be happy to fill
>>> your mind with disinformation on the subject.
>>>
>> Hi Alan,
>>
>> Be sure we have configured Kaspersky Anti-Virus and Anti-SPAM
>> in Front of our mail relay system. SPAM WILL BE BLOCKED. So
>> how can i set up easily an auto-responder?
>>
>
> Wolfgang,
>
> Here's a basic procmail recipe for what you want to do.
>
> :0B # egrep the body
> * [a-zA-Z]+ # at least one of those characters found
> |(formail -r ; cat file) | $SENDMAIL -t
>
> That will send an auto-reponse with "Re: original subject"
> and minimal headers, with the file "file" instead of
> the original body. (use full path for the file)
>
> If you want to add a special header identifying the auto-
> response (a good idea) do this:
>
> |(formail -r -I"X-F00: blah" ; cat file) | $SENDMAIL -t
>
> You will need to use a ~/.forward file to have sendmail
> pipe the incoming mail to procmail and put that recipe
> in a ~/.procmailrc with the right environment vars at
> the top.
>
> I can tell you how to do both if necessary.
>
> Or how to do both of those and a lot of other good
> stuff can be found on this webpage:
>
> http://www.uwasa.fi/~ts/info/proctips.html
>
> AC
>
> --
> alanconnor AT earthlink DOT net
> Use your real return address or I'll never know you
> even tried to mail me. http://tinyurl.com/2t5kp

Re: Automatic Reply via Procmail

am 30.05.2005 11:10:33 von Alan Connor

On comp.mail.misc, in <1117440502.334068@dns2.jm-data.at>, "Wolfgang Bauer" wrote:
>
>
> Thank you Alan,

You are welcome. If I see you top-posting again, which makes
it very hard for people to read if they have not been following
the thread from the beginning....

I will killfile you.

People who behave like spoiled, selfish, and lazy
teenagers belong in the chatrooms, not the Usenet, and
not in MY newsreader.

>
> I've got one simpler way.
> Via Usermin you can say that he should auto-reply from file, and this works
> also.
>
> Best Regards
> Wolfgang
> "Alan Connor" schrieb im Newsbeitrag
> news:lIyme.2360$s64.1498@newsread1.news.pas.earthlink.net...
>> On comp.mail.misc, in <1117433222.362028@dns2.jm-data.at>, "Wolfgang
>> Bauer" wrote:
>>
>> [top posting corrected]
>>
>>> "Alan Connor" schrieb im Newsbeitrag
>>> news:PVxme.2339$s64.2310@newsread1.news.pas.earthlink.net...
>>>> On comp.mail.misc, in <1117429610.515320@dns2.jm-data.at>,
>>>> "Wolfgang Bauer" wrote:
>>>>



AC

--
alanconnor AT earthlink DOT net
Use your real return address or I'll never know you
even tried to mail me. http://tinyurl.com/2t5kp
~

Re: Automatic Reply via Procmail

am 30.05.2005 15:29:38 von Sam

This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.

--=_mimegpg-commodore.email-scan.com-22250-1117459777-0001
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Beavis writes:

> On comp.mail.misc, in <1117440502.334068@dns2.jm-data.at>, "Wolfgang Bauer" wrote:
>>
>>
>> Thank you Beavis,
>
> You are welcome. If I see you top-posting again, which makes
> it very hard for people to read if they have not been following
> the thread from the beginning....
>
> I will killfile you.

Oh-no, NOT THAT! NOT THE FAMOUS BEAVIS KILLFILE!!!!!

It's a fate worse than death, you know.

> People who behave like spoiled, selfish, and lazy
> teenagers belong in the chatrooms, not the Usenet, and
> not in MY newsreader.

In that case, what would be the right place for someone who claimed to have
met Bigfoot (http://tinyurl.com/6dkxn), and who was kidnapped and enslaved
by an Amazonian goddess (http://tinyurl.com/4otkh)?


--=_mimegpg-commodore.email-scan.com-22250-1117459777-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCmxVBx9p3GYHlUOIRAkmyAJ442YNNBGAb/VVZpUogRILqKfJUXQCa A/wB
TBOgpUOV9BDJx3eKR5l17cs=
=FTXz
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-22250-1117459777-0001--