List Info

Thread: Virtual Users functionality




Virtual Users functionality
country flaguser name
Spain
2007-02-26 10:31:41
Hi list!

This is my first post, please excuse me if my questions are
trivial.

I'm running a totally amateur Postfix server with SASL auth,
Courier 
IMAP (thinking in change to dovecot), MySQL virtual users,
amavisd-new, 
spamassassin and some additional refinements. I'm really
happy how it 
works, and I only have to say congratulations to everyone
that is making 
possible this amazing software.

I'm now in the process to tweak a bit more my amavisd-new
configuration. 
I was reading the README files related to MySQL and virtual
users. but 
before starting to change things I would like to make a
question to you 
all, amavisd-new gurus.

I would like to deliver spam tagged emails coming from
spamassassin in a 
per-user spam imap directory. Is this possible? what do you
recommend? 
I'm now using procmail for delivery, can amavisd-new deliver
to imap 
folders as per virtual users in my MySQL database?

One of my problems is that I'm receiving all the spam at my
Blackberry, 
if I can deliver emails directly to my imap SPAM folder, I
will stop 
receiving emails every minute.

Thank you for your help and sorry for my english.

Roger Pedrol



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Virtual Users functionality
country flaguser name
Slovenia
2007-02-26 12:40:11
Roger,

> I would like to deliver spam tagged emails coming from
spamassassin in a
> per-user spam imap directory. Is this possible? what do
you recommend?
> I'm now using procmail for delivery, can amavisd-new
deliver to imap
> folders as per virtual users in my MySQL database?

There are two ways amavisd-new can mark spam and help final
delivery
agent to reroute a message to a dedicated mail folder:

- inserting a header field:
    X-Spam-Flag: YES

- and/or rewriting recipient address by appending some
string,
  e.g.: userexample.com -> user+spamexample.com
  (controls: $addr_extension_spam and $recipient_delimiter)

Both mechanisms trigger at tag2_level and apply to local
recipients only
(those matching local_domains_maps or found in SQL lookup
table 'user').

Depending on your local delivery agent and its filtering
capabilities,
one or the other mechanism may be more convenient. With
procmail
the 'X-Spam-Flag: YES' check may be more convenient, with
Cyrus IMAP
the plus addressing may more natural. See also:
  http://www.ijs.si/software/amavisd/amavisd-new-d
ocs.html#addrext

Mark

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )