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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20081001/e9a9ceb5/attachment-0004.html>
--On 01 October 2008 09:18 -0400 kcc <peterkcc2001 at gmail.com> 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 (dfmxxxxxxxx and qfmxxxxxxxxxx) 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
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
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 youI'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" customer at domain.com <mailto:customer at domain.com> 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