Re: [AMaViS-user] Problems with spam_quarantine_to in mysql database

This is a discussion on Re: [AMaViS-user] Problems with spam_quarantine_to in mysql database within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Bart, > This is the mysql layout that i'm using: ... > I'm using several policies now, and 1 ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-13-2005
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Problems with spam_quarantine_to in mysql database

Bart,

> This is the mysql layout that i'm using: ...
> I'm using several policies now, and 1 of them is to send spam to
> "spam@$mydomain", by filling in the spam_quarantine_to in mysql
> accordingly.
>
> But, amavis sends that string to postfix without changing anything, so it
> doesn't substitute $mydomain for the recpt. domain..


amavisd-new doesn't substitute Perl variables in results from SQL lookups.

Actually, it doesn't substitute them anywhere, the substitutions in
amavisd.conf file are done by Perl itself while interpreting the config file,
without amavisd even realizing it.

> Does anybody know how i could solve this, and allow only people using a
> particular policy to have their quarantine to be mailed to them, and all
> the rest just locally? For now, only local quarantine works :(


Supply your fully qualified domain name in SQL table explicitly,
if you really want that.

Sending quarantine to a mailbox was devised to make possible remote
site-wide or subdomain-wide quarantine mailboxes. Quarantined mail
is not supposed to be directly viewable by recipients without
removing X-Envelope-To headers first (which compromise sender's privacy).

If your intention is to provide each user with its own quarantine,
the correct approach is to direct spam mail to dedicated user's folder,
either by the use of spam tagging in the header, or by adding
address extensions (see:
http://www.ijs.si/software/amavisd/a...s.html#addrext
)

Mark

Mark


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0