Mailer DAEMON Returns && Body Check on Multipart

View: New views
5 Messages — Rating Filter:   Alert me  

Mailer DAEMON Returns && Body Check on Multipart

by Alexander Hachmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am currently having the problem with a lot of mails returning from
daemons in response
to mails I did now write.
Does anyone have a .cf solution for this issue. I am getting more than a
hundred per week of these f.....ng Mails.

I allready tried to write my own test. But I cannot figure out how to
check within the multipart messages.

My Attempt is to check if this mail comes from a mailer daemon with a
check against the mailaddress.
Then I want to check if there is a Message-ID whithin the body, that
does not correspond to mail mailserver.
But this does not work. I can only check on words in the first part of
the mail. The upcoming parts in the mail like the
initial spam mail, are not being parsed.
So even

body TEST /.*Message.*/
OR
rawbody TEST /.*Message.*/
Do not work. I guess this is for the reason, that what I am searching
for is in another part of the MIME Mails.

Does anyone have a solution for this spamming issue or give me a hint
how I can make my attempt to be workin?



Thank You,
            Alexander



Re: Mailer DAEMON Returns && Body Check on Multipart

by sm-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alexander,
At 06:35 25-08-2008, Alexander Hachmann wrote:
>I am currently having the problem with a lot of mails returning from
>daemons in response
>to mails I did now write.
>Does anyone have a .cf solution for this issue. I am getting more
>than a hundred per week of these f.....ng Mails.

Have you tried http://wiki.apache.org/spamassassin/VBounceRuleset

Regards,
-sm


Re: Mailer DAEMON Returns && Body Check on Multipart

by Alexander Hachmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SM schrieb:

> Hi Alexander,
> At 06:35 25-08-2008, Alexander Hachmann wrote:
>> I am currently having the problem with a lot of mails returning from
>> daemons in response
>> to mails I did now write.
>> Does anyone have a .cf solution for this issue. I am getting more
>> than a hundred per week of these f.....ng Mails.
>
> Have you tried http://wiki.apache.org/spamassassin/VBounceRuleset
>
> Regards,
> -sm

Thank you for your reply. This seems to be exactly what I want.
Unfortuneatly I am running 3.0.4 and this only works from 3.1 on.
I am not that familiar with upgrading SA. Is there an easy and safe way?
I yet downloaded 3.2.4 and run perl Makefiel.PL without installing. This
for example starts telling me, that modules like SPF are not
present. Any hints on that?

Regards,
            Alexander

Re: Mailer DAEMON Returns && Body Check on Multipart

by Bob McClure Jr-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Aug 25, 2008 at 09:13:16PM +0200, Hachmann wrote:

> SM schrieb:
> >Hi Alexander,
> >At 06:35 25-08-2008, Alexander Hachmann wrote:
> >>I am currently having the problem with a lot of mails returning from
> >>daemons in response
> >>to mails I did now write.
> >>Does anyone have a .cf solution for this issue. I am getting more
> >>than a hundred per week of these f.....ng Mails.
> >
> >Have you tried http://wiki.apache.org/spamassassin/VBounceRuleset
> >
> >Regards,
> >-sm
>
> Thank you for your reply. This seems to be exactly what I want.
> Unfortuneatly I am running 3.0.4 and this only works from 3.1 on.
> I am not that familiar with upgrading SA. Is there an easy and safe
> way?

If the original was installed from CPAN, that's the best way to
upgrade.  Just (as root)

  # cpan
  cpan> install Mail::SpamAssassin

or you can download (as you did below - BTW the latest is v3.2.5),
blow up the tarball, and then

  $ perl Makefile.PL
  $ make
  $ make test
  $ su -
  # make install

Then restart spamd.  For RedHat-ish distros and some others:

  # service spamassassin restart

All that said, if it was installed from the distro, best to update
from the distro.  You _can_ overwrite it with the method above, but be
aware that if a distro upgrade is applied, it will overwrite your
tarball upgrade.  Still, you can do the tarball upgrade again (just
"make install" if the build directory is still lying about).

> I yet downloaded 3.2.4 and run perl Makefiel.PL without installing. This
> for example starts telling me, that modules like SPF are not
> present. Any hints on that?

The SPF modules are not required, but helpful.  You can install them
from CPAN, and then rerun your "perl Makefile.PL" for SA.

> Regards,
>            Alexander

Cheers,
--
Bob McClure, Jr.             Bobcat Open Systems, Inc.
bob@...             http://www.bobcatos.com
To the Jews who had believed him, Jesus said, "If you hold to my
teaching, you are really my disciples. Then you will know the truth,
and the truth will set you free."  John 8:31-32 (NIV)

Re: Mailer DAEMON Returns && Body Check on Multipart

by sm-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At 12:13 25-08-2008, Hachmann wrote:
>Thank you for your reply. This seems to be exactly what I want.
>Unfortuneatly I am running 3.0.4 and this only works from 3.1 on.
>I am not that familiar with upgrading SA. Is there an easy and safe way?
>I yet downloaded 3.2.4 and run perl Makefiel.PL without installing.
>This for example starts telling me, that modules like SPF are not
>present. Any hints on that?

Some modules, such as SPF, are optional.  When you run the "install
script", it will look for required modules and optional modules.  You
can ignore the warnings for optional modules unless you need to use them.

Upgrading should be safe and easy unless you have a customized
install.  See http://wiki.apache.org/spamassassin/UpgradeNotes for details.

Regards,
-sm

LightInTheBox - Buy quality products at wholesale price!