List Info

Thread: Amavis SQL BSMTP error




Amavis SQL BSMTP error
country flaguser name
Spain
2008-03-16 08:36:50
Hi All,

trying to improve my personal Postfix+Amavisd-new setup with
SQL quarantine 
and amavisnewsql plug-in for squirrelmail. Amavis is
reporting this error:

ubuntu gutsy
Postfix 2.4.5
Amavisd-new 2.4.2

Mar 15 15:41:03 beast amavis[9203]: (09203-06) (!!) TROUBLE
in 
check_mail: quar+notif FAILED: temporarily unable to
quarantine: 451 
4.5.0 Writing 
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp 
failed: Can't create BSMTP file 
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp: 
Permiso denegado at (eval 55) line 76, <GEN57> line
70., id=09203-06 at 
/usr/sbin/amavisd-new line 8682, <GEN57> line 70.
Mar 15 15:41:03 beast amavis[9203]: (09203-06) prolong_timer
check done: 
remaining time = 480 s
Mar 15 15:41:03 beast amavis[9203]: (09203-06) sending SMTP
response: 
"451 4.5.0 Error in processing, id=09203-06, quar+notif
FAILED: 
temporarily unable to quarantine: 451 4.5.0 Writing 
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp 
failed: Can't create BSMTP file 
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp: 
Permiso denegado at (eval 55) line 76, <GEN57> line
70., id=09203-06 at 
/usr/sbin/amavisd-new line 8682, <GEN57> line
70."
Mar 15 15:41:03 beast amavis[9203]: (09203-06) (!)
PRESERVING EVIDENCE 
in /var/lib/amavis/tmp/amavis-20080315T154103-09203


Permiso denegado (Acces denied) seems to be a permission
problem but both 
/var/virusmails and /var/lib/amavis are owned by amavis.


ls -la /var

drwxr-xr-x  3 amavis amavis 4096 2008-03-14 16:27
virusmails

any ideas what I'm doing wrong?

un saludo,

roger



------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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: Amavis SQL BSMTP error
country flaguser name
Slovenia
2008-03-16 10:04:19
Roger,

> Mar 15 15:41:03 beast amavis[9203]: (09203-06) (!!)
TROUBLE in
> check_mail: quar+notif FAILED: temporarily unable to
quarantine:
> 451 4.5.0 Writing
>
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp
> failed: Can't create BSMTP file
>
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp:
> Permiso denegado at (eval 55) line 76

> Permiso denegado (Acces denied) seems to be a
permission problem but both
> /var/virusmails and /var/lib/amavis are owned by
amavis.

Looks like it is trying to write to a root directory:
   Can't create BSMTP file /spam-9b9...6.bsmtp.tmp: Permiso
denegado

Check your setting of $QUARANTINEDIR.

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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: Amavis SQL BSMTP error
country flaguser name
Spain
2008-03-16 17:18:31
Hi Mark,

(solved)

thank you. the $QUARANTINEDIR was in 50-user conf file
(ubuntu/debian). 
I moved the setting to 20-debian_defaults and now amavis is
quarantining 
ok. (don't ask me why )

roger

Mark Martinec escribió:
> Roger,
>
>   
>> Mar 15 15:41:03 beast amavis[9203]: (09203-06) (!!)
TROUBLE in
>> check_mail: quar+notif FAILED: temporarily unable
to quarantine:
>> 451 4.5.0 Writing
>>
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp
>> failed: Can't create BSMTP file
>>
/spam-9b931d26ba7682b06b8f83544b5e5657-20080315-154103-09203
-06.bsmtp.tmp:
>> Permiso denegado at (eval 55) line 76
>>     
>
>   
>> Permiso denegado (Acces denied) seems to be a
permission problem but both
>> /var/virusmails and /var/lib/amavis are owned by
amavis.
>>     
>
> Looks like it is trying to write to a root directory:
>    Can't create BSMTP file /spam-9b9...6.bsmtp.tmp:
Permiso denegado
>
> Check your setting of $QUARANTINEDIR.
>
>   Mark
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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/
>   


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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-3]

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