Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mail-Audit CPAN distribution.

Report information
The Basics
Id: 451
Status: resolved
Priority: 0/
Queue: Mail-Audit

People
Owner: Nobody in particular
Requestors: cpan [...] boulter.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: rejecting mail not being returned
Been using mail::audit for a while now and I've gotten my spam filters up to reject 55% of my incoming mail! But for some reason I haven't been able to get Mail::Audit to send return messages when I detect spam. My setup: MacOS X 10.1.3 This is perl, v5.6.0 built for darwin Just reinstalled Mail::Audit 2.1 from CPAN with all the dependencies fetchmail is getting my mail from an IMAP server and shoving it into a locally running sendmail. Sendmail is calling procmail (haven't figured out how to set sendmail permissions to allow piping to perl from my .forward). My entire procmailrc: : 0 | /usr/bin/perl /Users/jeff/bin/audit.pl Simple audit.pl that doesn't return mail: #!/usr/bin/perl use Mail::Audit; my $m = Mail::Audit->new; $m-reject() if ($m->subject =~ /rejectme/); Thanks, Jeff
From: Jeff Boulter
[guest - Sat Apr 6 12:50:37 2002]: Nevermind, I figured out the problem was with my procmail script which wasn't relaying the exit code properly. I ended getting my .forward to work and call the script directly (was having smrsh problems before) and avoided procmail entirely, which is the point of Mail audit, anyway, right? Though it would be nice to include some instructions in the docs about setting up Mail::audit. For example, my .forward now looks like: |"/usr/bin/perl /Path/to/my/mailaudit/perl/script" (quotes necessary) Thanks, Jeff Show quoted text
> Been using mail::audit for a while now and I've gotten my spam filters > up to reject 55% of my incoming mail! > > But for some reason I haven't been able to get Mail::Audit to send > return messages when I detect spam. > > My setup: > MacOS X 10.1.3 > This is perl, v5.6.0 built for darwin > Just reinstalled Mail::Audit 2.1 from CPAN with all the dependencies > > fetchmail is getting my mail from an IMAP server and shoving it into a > locally running sendmail. Sendmail is calling procmail (haven't > figured out how to set sendmail permissions to allow piping to perl > from my .forward). My entire procmailrc: > > : 0 > | /usr/bin/perl /Users/jeff/bin/audit.pl > > Simple audit.pl that doesn't return mail: > > #!/usr/bin/perl > > use Mail::Audit; > my $m = Mail::Audit->new; > > $m-reject() > if ($m->subject =~ /rejectme/); > > Thanks, > > Jeff
From: Jeff Boulter
[guest - Fri Apr 12 21:40:03 2002]: Hey lookie, there's the FAQ with instructions on using .forward! Maybe that could be linked to from the docs. OK, I'm going to shut up now. Jeff Show quoted text
> [guest - Sat Apr 6 12:50:37 2002]: > > Nevermind, I figured out the problem was with my procmail
script which Show quoted text
> wasn't relaying the exit code properly. I ended getting my .forward
to Show quoted text
> work and call the script directly (was having smrsh problems
before) Show quoted text
> and avoided procmail entirely, which is the point of Mail audit, > anyway, right? > > Though it would be nice to include some instructions in the docs
about Show quoted text
> setting up Mail::audit. For example, my .forward now looks like: > > |"/usr/bin/perl /Path/to/my/mailaudit/perl/script" > > (quotes necessary) > > Thanks, > > Jeff >
> > Been using mail::audit for a while now and I've gotten my
spam Show quoted text
> filters
> > up to reject 55% of my incoming mail! > > > > But for some reason I haven't been able to get Mail::Audit to
send Show quoted text
> > return messages when I detect spam. > > > > My setup: > > MacOS X 10.1.3 > > This is perl, v5.6.0 built for darwin > > Just reinstalled Mail::Audit 2.1 from CPAN with all the
> dependencies
> > > > fetchmail is getting my mail from an IMAP server and shoving it
into Show quoted text
> a
> > locally running sendmail. Sendmail is calling procmail
(haven't Show quoted text
> > figured out how to set sendmail permissions to allow piping
to Show quoted text
> perl
> > from my .forward). My entire procmailrc: > > > > : 0 > > | /usr/bin/perl /Users/jeff/bin/audit.pl > > > > Simple audit.pl that doesn't return mail: > > > > #!/usr/bin/perl > > > > use Mail::Audit; > > my $m = Mail::Audit->new; > > > > $m-reject() > > if ($m->subject =~ /rejectme/); > > > > Thanks, > > > > Jeff
> >