Re: [CentOS] quarantine mail

2008-10-01 Thread Ray Leventhal


kcc wrote:
> Hi
>
> In my mailscanner, i have mail in quarantine folder.
>
> How can I get back attachement in quarantine folder?
>
> I use mail user < message. but the attachment is just coding not the
> attachment
>
> thank you
I'm not certain this is *the* way to do it, but...assuming you've
allowed the attachments in your MailScanner.conf and rules files and
want to resend them:

install sharutils via yum (this set includes uuencode which is used in
the next step
once that's done, this should send the stuff to the recipient:

# uuencode filename filename | mail -s "subject" [EMAIL PROTECTED]


I'm sure that someone who knows more than I will post, but this worked
for me on CentOS 5.2 in my shared hosting environment.

There's a setting in MailScanner.conf which will allow saving the actual
queue files, not just the attachments...I changed this setting to 'yes'
to enable a more simple method (moving the qf* and df* files back to the
queue)
Quarantine Whole Messages As Queue Files = yes

YMMV..
HTH,
-Ray

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] quarantine mail

2008-10-01 Thread Rob Taylor

--On 01 October 2008 09:18 -0400 kcc <[EMAIL PROTECTED]> wrote:

> 
> Hi
> 
> In my mailscanner, i have mail in quarantine folder.
> 
> How can I get back attachement in quarantine folder?
> 
> I use mail user < message. but the attachment is just coding not the 
> attachment
> 
> thank you
>  

Hi

You can move the attachment to another directory, change ownership to 'admin' 
and then FTP the file down and re-email to recipient, obviously if it you will 
have to send to an address that won't go through MainScanner!

For a more permanent solution edit /etc/MailScanner/MailScanner.conf, find the 
following lines:

Quarantine Whole Message = no
Quarantine Whole Messages As Queue Files = no

..and change them both to 'yes', now when emails are quarantined it will store 
them as message files (dfm and qfmxx) which you can just copy 
back to the /var/spool/mqueue directory (You don't need to copy the attachment 
file), the message will not go through MainScanner again and will be delivered 
to the recipient.

This may vary depending on your setup etc but should point you in the correct 
direction)!

Thanks
Rob


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] quarantine mail

2008-10-01 Thread Kai Schaetzl
Kcc wrote on Wed, 1 Oct 2008 09:18:50 -0400:

> In my mailscanner, i have mail in quarantine folder.

You should direct this question to the MailScanner list. But first read 
the archives there as this is a fairly common question!
http://gmane.org/info.php?group=gmane.mail.virus.mailscanner

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] quarantine mail

2008-10-01 Thread kcc
Hi

In my mailscanner, i have mail in quarantine folder.

How can I get back attachement in quarantine folder?

I use mail user < message. but the attachment is just coding not the
attachment

thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos