文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>vdelivermail spam mail problem

vdelivermail spam mail problem

时间:2006-11-21  来源:snowtty

It's work fine but how to make this config by default for all of my customers ?

Some customer have this .qmail-default file :

| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/customerdomain.com/postmaster

Thanks for your help,

ManFred

-----Message d'origine-----
De : Júlio Olivares [mailto:[email protected]]
Envoyé : mercredi 15 novembre 2006 15:57
À : [email protected]
Objet : Re: [toaster] Spam

It's easy:

- Install maildrop
- Create the /etc/bounce-no-mailbox file:
---
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

if (/^X-Spam-Flag: *YES/)
{
        # then try delivering it to a Spam folder
        exception {
                to $VHOME/Maildir/.Spam/
        }
        # ah well, I guess they'll just have to live with disappointment
        exception {
                `/usr/local/bin/maildirmake $VHOME/Maildir/.Spam`
                to $VHOME/Maildir/.Spam/
        }
}
else
{
        exception {
                to $VHOME/Maildir/
        }
}
---

- Edit .qmail-default:
| /var/qmail/bin/preline -f /usr/local/bin/maildrop /etc/bounce-no-mailbox

You're done.

So, message is checked at simscan level and it's moved to .Spam folder at
delivery level.
I use to reject at smtp level messages with more than 20 points and move the
others to .Spam folder.

Regards,
Julio

----- Original Message -----
From: "Frédéric Heynen" <[email protected]>
To: <[email protected]>
Sent: Wednesday, November 15, 2006 2:37 PM
Subject: RE : [toaster] Spam

How to use maildrop with simscan ?

________________________________

De: Júlio Olivares [mailto:[email protected]]
Date: mar. 14/11/2006 13:33
À: [email protected]
Objet : Re: [toaster] Spam

Sure. I use maildrop:

---
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

if (/^X-Spam-Flag: *YES/)
{
        exception {
                to $VHOME/Maildir/.Spam/
        }
        # create the user spam folder
        exception {
                `/usr/local/bin/maildirmake $VHOME/Maildir/.Spam`
                to $VHOME/Maildir/.Spam/
        }
}
else
{
        exception {
                to $VHOME/Maildir/
        }
}
---

----- Original Message -----
From: "Frédéric Heynen" <[email protected]>
To: <[email protected]>
Sent: Tuesday, November 14, 2006 9:33 AM
Subject: [toaster] Spam

Hi,

How is it possible to save all spam in one folder ? Or To save all spam in
user spam directory ?

Thanks for your help,

ManFred

相关阅读 更多 +
排行榜 更多 +
少女爱换装

少女爱换装

休闲益智 下载
百变英雄射击

百变英雄射击

飞行射击 下载
魔灵契约

魔灵契约

休闲益智 下载