Re: Directing SPAM mail to a Junk Folder

2010-03-30 Thread Chaminda Indrajith
Hi rob0, It works... Thanks for your support. Regards Indrajith On Fri, 26 Mar 2010 07:45:52 -0500 /dev/rob0 wrote: Please don't top-post replies. Also note, I set Reply-To: to keep discussions on list. I do not want a CC:. On Fri, Mar 26, 2010 at 06:03:47AM +0530, Chaminda Indrajith wrote:

Re: Directing SPAM mail to a Junk Folder

2010-03-26 Thread /dev/rob0
Please don't top-post replies. Also note, I set Reply-To: to keep discussions on list. I do not want a CC:. On Fri, Mar 26, 2010 at 06:03:47AM +0530, Chaminda Indrajith wrote: > ~user/.forward+spam would be a good solution for me since my > users are system users. > > Could you give me an example

Re: Directing SPAM mail to a Junk Folder

2010-03-26 Thread Voytek Eymont
On Fri, March 26, 2010 9:51 am, /dev/rob0 wrote: > On Fri, Mar 26, 2010 at 08:26:33AM +1100, Voytek Eymont wrote: > >> so, if I was to create a mail user 'voytek+spam' in the database, >> '+spam' mail would end up in voytek+spam mail user maildir ? > The user for virtual(8) must be the full addre

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread Chaminda Indrajith
Hi rob0, ~user/.forward+spam would be a good solution for me since my users are system users. Could you give me an example for the following? I can configure amavisd-new to do + address extension. ## Deliver user+s...@example.com mails to /home/user/Maildir/.Junk .Junk is also in Maildir f

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread /dev/rob0
On Fri, Mar 26, 2010 at 08:26:33AM +1100, Voytek Eymont wrote: > so, if I was to create a mail user 'voytek+spam' in the database, > '+spam' mail would end up in voytek+spam mail user maildir ? The user for virtual(8) must be the full address: voy...@example.com example.com/voytek/ma

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread Voytek Eymont
On Fri, March 26, 2010 2:29 am, /dev/rob0 wrote: Rob0, > Amavisd-new can also use a recipient_delimiter and change the > localpart "user" to "user+spam". See amavisd-new documentation to learn how > to activate this feature. > Postfix virtual(8) can handle this differently by using a different >

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread /dev/rob0
On Thu, Mar 25, 2010 at 05:05:47PM +0530, Chaminda Indrajith wrote: > I need to put the SPAM mails into users' Junk Mail folder. How > can we do it in Postfix? > > Mails are stored in Maildir format in the user's home directory. > Junk mail folder is inside the Maildir as ".Junk". Amavisd-new > ta

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread Chaminda Indrajith
Dear All, Thank you very much for the immediate responses for all you guys... I will try all of these options and let you know the progress. Thanks and Regards Indrajith On Thu, 25 Mar 2010 13:37:19 +0100 DUBOURG Kevin wrote: Hello, I use maildrop package to replace "virtual". In your email

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread DUBOURG Kevin
Hello, I use maildrop package to replace "virtual". In your email directory "/home/email" for example you put this : Filename => .mailfilter # move spam to spamfolder ## SPAMFLD=$DEFAULT/.Junk/ SUBSCRIPT=$DEFAULT/courierimapsubscribed # test idf Junk folder exists, if notr create one # autosub

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread Miles Fidelman
Chaminda Indrajith wrote: Dear All, I need to put the SPAM mails into users' Junk Mail folder. How can we do it in Postfix? Mails are stored in Maildir format in the user's home directory. Junk mail folder is inside the Maildir as ".Junk". Amavisd-new tags the spam mails as "[SPAM]" 1. ins

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread Erik Logtenberg
The (imho) nicest solution is to use an LDA which supports sieve. Then write a small sieve script to move spam to the junk folder. You can use sieve for all other kinds of mail-sorting as well. Most popular LDA's support sieve. Ansgar Wiechers wrote: > On 2010-03-25 Chaminda Indrajith wrote: >> I

Re: Directing SPAM mail to a Junk Folder

2010-03-25 Thread Ansgar Wiechers
On 2010-03-25 Chaminda Indrajith wrote: > I need to put the SPAM mails into users' Junk Mail folder. How can we > do it in Postfix? You can't. Postfix does not know (or care) about the inner workings of a user's mailbox. > Mails are stored in Maildir format in the user's home directory. Junk > ma

Directing SPAM mail to a Junk Folder

2010-03-25 Thread Chaminda Indrajith
Dear All, I need to put the SPAM mails into users' Junk Mail folder. How can we do it in Postfix? Mails are stored in Maildir format in the user's home directory. Junk mail folder is inside the Maildir as ".Junk". Amavisd-new tags the spam mails as "[SPAM]" Highly appreciate your help in t