getmail question

I'm trying to get getmail to work and am needing to have the incoming
e-mail filtered through clamscan which last night had clamscan throw
several errors one aout executing root commands. All I want to do with
the filtering is have clamscan inspect incoming messages and have it
dispose of messages with malware in them before those end up in my Mboxrd
file. Unless I'm using the wrong supplied example the clamscan stuff may
not work. Another question is with getmail when e-mail is available in
two different accounts would that just mean additional retriever and
destinaation sections for the 2nd I.S.P.?

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

getmail question

On Sun, Apr 01, 2007 at 02:59:04PM -0400, Jude DaShiell wrote:
> I'm trying to get getmail to work and am needing to have the incoming
> e-mail filtered through clamscan which last night had clamscan throw
> several errors one aout executing root commands. All I want to do with
> the filtering is have clamscan inspect incoming messages and have it
> dispose of messages with malware in them before those end up in my Mboxrd
> file. Unless I'm using the wrong supplied example the clamscan stuff may
> not work. Another question is with getmail when e-mail is available in
> two different accounts would that just mean additional retriever and
> destinaation sections for the 2nd I.S.P.?
>

I made some progress on my own getmail install a few days ago and wrote
about it on this list:
http://lists.debian.org/debian-user/2007/03/msg04631.html
I hope it answers some of your questions.

--
Paul E Condon

--

getmail question

Jude DaShiell wrote:

> I'm trying to get getmail to work and am needing to have the incoming
> e-mail filtered through clamscan which last night had clamscan throw
> several errors one aout executing root commands. All I want to do
> with the filtering is have clamscan inspect incoming messages and
> have it dispose of messages with malware in them before those end up
> in my Mboxrd file. Unless I'm using the wrong supplied example the
> clamscan stuff may not work.

It would be nice to know what example you are using. Or at least post
your getmailrc (don't forget to remove the password though).

> Another question is with getmail when
> e-mail is available in two different accounts would that just mean
> additional retriever and destinaation sections for the 2nd I.S.P.?

No, you need two different files and then run something like:

getmail -r ~/.getmail/getmailrc.isp1

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

getmail question

Jude DaShiell:
> I'm trying to get getmail to work and am needing to have the incoming
> e-mail filtered through clamscan which last night had clamscan throw
> several errors one aout executing root commands. All I want to do with
> the filtering is have clamscan inspect incoming messages and have it
> dispose of messages with malware in them before those end up in my Mboxrd
> file. Unless I'm using the wrong supplied example the clamscan stuff may
> not work.

[filter]
type = Filter_classifier
path = /usr/bin/clamdscan
arguments = ("--stdout", "--no-summary", "-")
exitcodes_drop = (1, )

Works for me. I have ClamAV running as a daemon, though.

J.
--
I like my Toyota RAV4 because of the commanding view of the traffic
jams.
[Agree] [Disagree]

Syndicate content