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
> virtual_mailbox_maps result for user+s...@example.com .
>
> http://www.postfix.org/postconf.5.html#virtual_mailbox_maps

I've set amavis to the '+address', as far as I can tell, that seems to
work fine.

my virtual domains/users are in MySQL as:

# grep virtual_mailbox_maps main.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf

# cat mysql_virtual_mailbox_maps.cf
user = xxx
password = yyy
hosts = 127.0.0.1
dbname = ppp
table = mailbox
select_field = maildir
where_field = username


dumb Q:

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 ?

is that what I would need to as as 'next step' within above setup ?

how to make that as a spam subfolder for 'voytek' ?

is that something like... symlinking ?? voytek+spam mail user to voytek's
spam folder ??

sorry for dumb question, pls speak slowly...


-- 
Voytek

Reply via email to