Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

That's great if you're talking a mail server... (was Re: A Beginner's Guide to Using Mail::Audit and Mail::SpamAssassin)

by atcroft (Abbot)
on Jul 09, 2002 at 02:32 UTC ( [id://180382]=note: print w/replies, xml ) Need Help??


in reply to A Beginner's Guide to Using Mail::Audit and Mail::SpamAssassin

Great tutorial, but what if you're one of those people who aren't quite lucky enough to be able to run a mailserver to handle the mail? Is there a good way, such as a client/agent-like program that could go out and do much of the same functionality, deleting the message or leaving it, possibly sending a rejection message? I found several good modules for filtering, but it seems most all of them require local delivery....

Any suggestions? guidance? hints?

Update: hossman, thank you for responding. My experience with fetchmail has been to download mail to a local machine that could act like a mailserver, even if it wasn't visible to the outside world, although I may be mistaken in assuming it was limited only to that functionality.... I was looking for something that could possibly even work for those in windows or mac who don't have the capability, but will look again at the tutorial and docs. Again, my thanks for your reply and attention.

Update: FoxtrotUniform, your response does help. I was not aware of that aspect of Mail::Audit, although I knew about several of the POP3-related modules. My idea was more along the lines of a stand-alone agent that would only delete , delete w/ a rejection, or leave in place for acceptance that could run at intervals... if that would be a useful idea....

Replies are listed 'Best First'.
Re: That's great if you're talking a mail server... (was Re: A Beginner's Guide to Using Mail::Audit and Mail::SpamAssassin)
by FoxtrotUniform (Prior) on Jul 09, 2002 at 03:25 UTC

    I'm not sure exactly how much this helps you, but Mail::Audit takes its input on STDIN, and the two usual ways for remote clients to talk to mail servers, IMAP and POP3, are represented in CPAN. It shouldn't be difficult to write a Perl script to grab your mail and run it through whatever you please... the difficulty, to my mind, would be getting your mailreader to play nicely with Mail::Audit, which AFAIK only writes to various Unixy formats of mailbox.

    Update: You should be able to download a copy of each message via IMAP, filter it through Mail::Audit and/or friends, and based on the results keep it, move it around, or delete it, also via IMAP (or more specifically, via Mail::IMAPClient).

    --
    The hell with paco, vote for Erudil!
    :wq

Re: That's great if you're talking a mail server... (was Re: A Beginner's Guide to Using Mail::Audit and Mail::SpamAssassin)
by hossman (Prior) on Jul 09, 2002 at 03:05 UTC
    Nothing I saw in the tutorial requires you to be running a mail server, the author even mentions using fetchmail, which is a POP client for pulling email off of a remote server. You can configure fetchmail to POP mail on regular intervals and pass it to any filtering program you want.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://180382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found