[Bug 700288] Re: amavisd-release not working with quarantine_subdir_levels

2011-01-17 Thread Chuck Short
Thank you for taking the time to report this bug and helping to make Ubuntu 
better. Please answer these questions:
1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug? Be as 
detailed as possible.
This will help us to find and resolve the problem.

** Changed in: amavisd-new (Ubuntu)
   Importance: Undecided = Low

** Changed in: amavisd-new (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/700288

Title:
  amavisd-release not working with quarantine_subdir_levels

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 700288] Re: amavisd-release not working with quarantine_subdir_levels

2011-01-17 Thread Cyril Jaquier
1. Yes, this is reproducible

2.

* Install amavisd-new using your favorite package manager
* Be sure to have $quarantine_subdir_levels = 1 (or higher). This should be the 
default
* Wait for an e-mail to land into the quarantine
* Try to release it with amavisd-release

= File not found because of wrong path. The subdirectory from directory
hashing is missing.

On a default installation, you can find e-mail in the quarantine using:

# find /var/lib/amavis/virusmails/ -type f

I looked a bit at amavisd-release but my Perl knowledge is not that
good. Either amavisd is not returning the right path or amavisd-release
should handle $quarantine_subdir_levels.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/700288

Title:
  amavisd-release not working with quarantine_subdir_levels

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 700288] Re: amavisd-release not working with quarantine_subdir_levels

2011-01-17 Thread Scott Kitterman
** Changed in: amavisd-new (Ubuntu)
   Status: Incomplete = New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/700288

Title:
  amavisd-release not working with quarantine_subdir_levels

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 700288] Re: amavisd-release not working with quarantine_subdir_levels

2011-01-17 Thread Cyril Jaquier
Here is what I get when I increase log_level in amavisd-release:

# amavisd-release badh-Vzji0yHNymWh
 request=release
 quar_type=F
 mail_id=Vzji0yHNymWh
 mail_file=badh-Vzji0yHNymWh
waiting for response
 setreply=450 4.5.0 Failure: File /var/lib/amavis/virusmails/badh-Vzji0yHNymWh 
does not exist at (eval 111) line 385, GEN257 line 5.
 exit_code=75
 return_value=tempfail
450 4.5.0 Failure: File /var/lib/amavis/virusmails/badh-Vzji0yHNymWh does not 
exist at (eval 111) line 385, GEN257 line 5.

So it seems that amavisd-new doesn't look at the right place.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/700288

Title:
  amavisd-release not working with quarantine_subdir_levels

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 700288] Re: amavisd-release not working with quarantine_subdir_levels

2011-01-17 Thread Cyril Jaquier
Sorry... I think this is not really an issue...

I tried to add the subfolder and it found the file:

# amavisd-release I/badh-IGjIOydvUwg0
250 2.5.0 No recipients, nothing to do

Not really intuitive but this seems to be the way amavisd-new works.
Then I googled for the no recipients problem and it seems that in this
case I need to set the recipient explicitly as explained here:

http://www.mail-archive.com/amavis-
u...@lists.sourceforge.net/msg13081.html

# amavisd-release I/badh-IGjIOydvUwg0 m...@mydomain.net
250 2.0.0 Ok, id=rel-IGjIOydvUwg0, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: 
queued as 2B1F721619

Feel free to close this bug and sorry again. By the way, a man page for
amavisd-release with such information could be helpful.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/700288

Title:
  amavisd-release not working with quarantine_subdir_levels

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 700288] Re: amavisd-release not working with quarantine_subdir_levels

2011-01-17 Thread Scott Kitterman
Done.  We'd need someone to write the man page.  If you can put the
content together we can publish it in the package.

** Changed in: amavisd-new (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.
https://bugs.launchpad.net/bugs/700288

Title:
  amavisd-release not working with quarantine_subdir_levels

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs