Peter M. Nielsen | 2 Sep 2002 17:31
Picon

Spamasssassin and vpopmail


I have installed spamassassin 2.4 on a qmailmachine with vpopmail. I have also installed a domainwide
filter like descriped in the file README.spamd-vpopmail. It works fine for most users, but if a user have a
.qmail file with a forward to a external adress the mail disappears. When looking at the qmail-send
logfile it says it is delivered to the local user but there is no mail in either the forwarded mailbox or
local... strange.

- Peter

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
rhelms | 3 Sep 2002 18:36
Picon

Deliveryproblem by maildrop

Hi,

I'm using getmail with maildrop 1.4. By downloading mails via getmail and
checking via maildrop I get following error

  POP3 stat response:  4 messages, 31862 octets
  POP3 list response:  +OK 4 messages (31862 octets)
  msg #1/4 : len 2878 ... retrieved  Delivery error (command
"/usr/local/bin/maildrop -d rhelms" exited 75  (/usr/local/bin/maildrop: Unable
to open mailbox.))
Resetting connection and aborting (Delivery error (command
"/usr/local/bin/maildrop -d rhelms" exited 75  (/usr/local/bin/maildrop: Unable
to
open mailbox.)))
getmail finished for rhelms <at> mail.mayn.de:110

--- cut of maildroprc ---

SHELL "/usr/bin/bash"
SENDMAIL="/var/qmail/bin/sendmail"
logfile "/home/rhelms/Maildir/maildroplog"
DEFAULT="/home/rhelms/Maildir"
...

to /home/rhelms/Maildir/new

----------------------------------
The problem can't be in getmail because without filtering the mails are
delivered out correctly.

(Continue reading)

Jeff Hoover | 3 Sep 2002 23:21

Filtering Help?

I was wondering if anyone could help me.  I'm trying to find some way to 
filter messages in a qmail-courier system so that the from domain has to 
match the to or cc domain (don't ask why) to be delivered.  I was told 
maildrop would be able to do the trick.  I looked at the docs and tried to 
come up with a filter, but have no way of testing it yet (and I'm not quite 
sure if I understand everything).  Would any filtering experts out there 
take a look at this and tell me if it would work?  If not, could you point 
me in the right direction?

Thanks in advance,
Jeff Hoover

# first get the entire from address

if ( /^From: *!.*/ )
{
      ADDR=getaddr($MATCH2)
}

# now we just want the domain

if (($ADDR) =~ / <at> .*/)
{
      FROM_DOMAIN=$MATCH
}

# now compare to see if each to|cc domain matches

foreach /^(To|Cc): .*/
{
(Continue reading)

Matthias Andree | 4 Sep 2002 01:54
Picon
Picon
Favicon

Re: [SPAM] How to match the subject with 8bit encode chars??

"isell" <isell <at> netease.com> writes:

> Hi,
> everyone!
>
> I am a newbie of maildrop. I had setup maildrop on our Qmail server,all is ok!
> But I met a problem: how to match the subject with 8bit encode chars, for example:  
>   Subject: =?GB2312?Q?=B2=E2=CA=D4?=

Are you sure 8bits are enough to match that? I'm not quite sure, but
GB2312 sounds rather like far-east character set, and those usually
don't fit into 8 bits.

> My problem is : in my .mailfilter file, how to match the subject with
> 8bit encode chars?

You can match the encoded version of the header for now.

--

-- 
Matthias Andree

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
monali vasant rakibe | 4 Sep 2002 07:26
Favicon

filter on the basis of attachment,body

hello friend!
can someone tell me if it is possible to filter mails on the basis 
of attachment, and body i tried to find it but in vein,
plz suggest,

monali

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
rhelms | 4 Sep 2002 10:16
Picon

Deliverproblem using maildrop

Hi,

what must be the permissions to deliver out mails filtered by maildrop.
Actualy I become errors when mails are filtered by maildrop and should be
delivered out into the Maildir under my homedirectory (home/rhelms). The message
ever tells something of would writeable.

Regards,
Ruprecht

---------------------------------------------------------------
Ruprecht Helms  -   IT-Service und Softwareentwicklung

Homepage: http://www.rheyn.de
email:         info <at> rheyn.de
=============================================
E-Mail: Ruprecht Helms <rhelms <at> mayn.de
Date: 04-Sep-02
Time: 10:13:07

This message was sent by XFMail
---------------------------------------------------------------

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Mirko Zeibig | 4 Sep 2002 15:34

Re: Deliveryproblem by maildrop

On Tue, Sep 03, 2002 at 06:36:34PM +0200, rhelms <at> mayn.de wrote:
Hello Ruprecht,

> DEFAULT="/home/rhelms/Maildir"

I guess you have to add a slash at the end:
DEFAULT="/home/rhelms/Maildir/"

Otherwise maildrop assumes you want to deliver email to a standard mbox
called Maildir, but can not create this one of course because there is
already a Maildir by that name :-).

Gruss
Mirko

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
rhelms | 4 Sep 2002 19:14
Picon

Re: Deliveryproblem by maildrop

Hi Mirko Zeibig, 

 > On Tue, Sep 03, 2002 at 06:36:34PM +0200, rhelms <at> mayn.de wrote:
> Hello Ruprecht,
> 
>> DEFAULT="/home/rhelms/Maildir"
> 
> I guess you have to add a slash at the end:
> DEFAULT="/home/rhelms/Maildir/"

I've added it, but the problem isn't solved.

This is the message

  msg #1/1 : len 3683 ... retrieved  Delivery error (command
"/usr/local/bin/maildrop -d rhelms" exited 75  (/usr/local/bin/maildrop: Invalid
home directory permissions - world writable.))
Resetting connection and aborting (Delivery error (command
"/usr/local/bin/maildrop -d rhelms" exited 75  (/usr/local/bin/maildrop:
Invalid home directory permissions - world writable.)))
getmail finished for rhelms <at> mail.mayn.de:110

Regards,
Ruprecht

---------------------------------------------------------------
Ruprecht Helms  -   IT-Service und Softwareentwicklung

Homepage: http://www.rheyn.de
email:         info <at> rheyn.de
(Continue reading)

Jeff | 4 Sep 2002 19:07
Picon

Re: Deliveryproblem by maildrop

rhelms <at> mayn.de, 2002-Sep-04 19:14 +0200:
> Hi Mirko Zeibig, 
> 
>  > On Tue, Sep 03, 2002 at 06:36:34PM +0200, rhelms <at> mayn.de wrote:
> > Hello Ruprecht,
> > 
> >> DEFAULT="/home/rhelms/Maildir"
> > 
> > I guess you have to add a slash at the end:
> > DEFAULT="/home/rhelms/Maildir/"
> 
> I've added it, but the problem isn't solved.
> 
> This is the message
> 
>   msg #1/1 : len 3683 ... retrieved  Delivery error (command
> "/usr/local/bin/maildrop -d rhelms" exited 75  (/usr/local/bin/maildrop: Invalid
> home directory permissions - world writable.))
> Resetting connection and aborting (Delivery error (command
> "/usr/local/bin/maildrop -d rhelms" exited 75  (/usr/local/bin/maildrop:
> Invalid home directory permissions - world writable.)))
> getmail finished for rhelms <at> mail.mayn.de:110

It appears the user's mailbox does not have the correct permissions.
Set it to 0740 ...  drwxr-----

Also, I don't believe you need the trailing / on the Default setting
if you also set MAILDIR="/var/spool/mail" in the ~/.mailfilter file.

jc
(Continue reading)

Michael Leone | 4 Sep 2002 19:56

Re: Deliveryproblem by maildrop


> Hi Mirko Zeibig,
>
>  > On Tue, Sep 03, 2002 at 06:36:34PM +0200, rhelms <at> mayn.de wrote:
>> Hello Ruprecht,
>>
>>> DEFAULT="/home/rhelms/Maildir"
>>
>> I guess you have to add a slash at the end:
>> DEFAULT="/home/rhelms/Maildir/"
>
> I've added it, but the problem isn't solved.
>
> This is the message
>
>   msg #1/1 : len 3683 ... retrieved  Delivery error (command
> "/usr/local/bin/maildrop -d rhelms" exited 75  (/usr/local/bin/maildrop:
> Invalid home directory permissions - world writable.))

As it says ... home directories can't be world writeable. Maildrop won't
write to a directory that has any permissions except user only (i.e.,
"chmod 600").

Change the perms on your home directory, and try again.

--

-- 
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Member, LEAF Project <http://leaf.sourceforge.net>    AIM: MikeLeone
Public Key - <http://www.mike-leone.com/~turgon/turgon-public-key.asc>

(Continue reading)


Gmane