View Full Version : Send to spambox ?
ErikR
08-24-2005, 04:16 AM
In 'SPAM Filters' can I choice for 'Drop Email' or 'Send to spambox' (DA v1.24.3).
Who knows what 'Send to spambox' means? Where can I find the spambox?
regards, Eric
fusionictnl
08-24-2005, 04:50 AM
Exim will create a "spam" folder wich you can access through an IMAP-Client like Squirrelmail.
jerry2005
08-24-2005, 05:47 AM
mmhh did test it , but there is no spam folder created when you look with squirrelmail. Will try to solve it .....
fusionictnl
08-24-2005, 06:21 AM
Originally posted by jerry2005
mmhh did test it , but there is no spam folder created when you look with squirrelmail. Will try to solve it .....
Only if the first spam message is received!
getUP
11-07-2005, 02:21 AM
Spam gets saved in ~/.spamassasin/user_spam/accountname
This is not available through IMAP?
fusionictnl
11-07-2005, 02:57 AM
Originally posted by fusionictnl
Exim will create a "spam" folder wich you can access through an IMAP-Client like Squirrelmail.
getUP
11-07-2005, 03:01 AM
Wish that was true.
That file only contains internal data.
See ~/imap/example.com/user/mail/spam
Spam is filling up in ~/.spamassasin/user_spam/user@example.com and this is not read by IMAP, at least not here.
Checked that already, as the latter has spam in it.
fusionictnl
11-07-2005, 06:49 AM
The options you have in DA for spam are:
1: Send the spam to it's intended recipient.
2: Send the spam to the ~/.spamassassin/spam folder.
3: Send the spam to the specified account's spam folder.
4: Delete the spam.
You should specify the 3th option to throw it to the "imap"/account spam folder.
It looks like you specified the 2nd option as that will send it to the mentioned folder.
getUP
11-07-2005, 07:00 AM
Again, this is set like it should.
Is there a config file to verify the working of those options? Like if it's setting correctly?
fusionictnl
11-07-2005, 07:14 AM
/etc/virtual/[domain]/filter
if
$h_X-Spam-Status: contains "Yes,"
then
if
$local_part: is "[user]"
then
save /home/[user]/.spamassassin/spam 660
else
save /home/[user]/.spamassassin/user_spam/$local_part@$domain 660
endif
finish
endif
Guess you probably already know what's going wrong :)
$local_part: is "[user]"
As far as I can tell from the logs it should show it is for account [user] if it's not it's going to /user_spam/
forwarders ?
getUP
11-07-2005, 07:28 AM
There are forwarders set to that address as well. Though from what I can see that is not the case.
My only guess is that changing this to
save /home/[user]/imap/$domain/$local_part/mail/spam 660
would solve it, but being merely a guess I don't have the guts to put it live :)
Anything else? When changing that option, where is the actual result stored?
fusionictnl
11-07-2005, 07:31 AM
When you set the CORRECT spamassassin option in DA the filter would change to:
if
$h_X-Spam-Status: contains "Yes,"
then
if
$local_part: is "[user]"
then
save /home/[user]/.spamassassin/spam 660
else
save /home/[user]/.spamassassin/user_spam/$local_part@$domain 660
endif
finish
endif
You could try to set the other one to the same :) YES :)
save /home/[user]/.spamassassin/user_spam/$local_part@$domain 660 >> save /home/[user]/.spamassassin/spam 660
getUP
11-07-2005, 07:34 AM
Sorry, got it all wrong.
Though this was exactly my point.
/home/[user]/.spamassassin/user_spam/$local_part@$domain
Is not accessable by IMAP as it's using the folder:
/home/[user]/imap/$domain/$local_part/mail/spam
I don't quite fancy hacking into config files which can be overwritten easilly. A temporary solution is no solution at all.
fusionictnl
11-07-2005, 08:27 AM
You could try it and if it works you can replace the template probably.
If you could send yourself the GTUBE as email:
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
Just mail yourself this and it will be marked as spam and post your exim maillog info about this message.
getUP
11-07-2005, 08:40 AM
Created a symlink to solve it.
This account had been moved from a cPanel server so there might've gone something wrong.
Haven't check it with other accounts, but at least it works now.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.