store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Wed Jun 19, 2013 10:51 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 8 posts ] 
Author Message
 Post subject: Accessing email archived by qmail-scanner
Unread postPosted: Mon Jan 12, 2009 2:39 pm 
Offline
Forum User
Forum User

Joined: Mon Jan 12, 2009 2:31 pm
Posts: 29
Hi everyone...

Quite new to qmail, and just got a qmail/qmail-scanner/clamav/spamassassin going on a PLESK CentOS5 VPS.

Look forward to adding some of these interesting ART features to PLESK!

I needed qmail-scanner mainly for the archiving feature, and now that I have it working, I was wondering if anybody can give me some direction in order to download these emails via POP to an email client? I'd like to back up all emails going in and out of the server off-site and POP sounds like the way forward, as it'll delete files as I download them...

Thanks in advance!


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Jan 22, 2009 10:50 pm 
Offline
New Forum User
New Forum User

Joined: Thu Jan 22, 2009 3:42 am
Posts: 2
hi,

Did you find a way to do this already?

thanks, Patrick


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jan 23, 2009 2:22 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7460
Location: earth
Its in maildir format, so on a plesk box I just have a job that moves the files into a mailbox plesk manages (and change the permissions!)


Top
 Profile  
 
 Post subject: That's right. Here's a little idea on what to do wit that :)
Unread postPosted: Fri Jan 23, 2009 3:39 pm 
Offline
Forum User
Forum User

Joined: Mon Jan 12, 2009 2:31 pm
Posts: 29
Hey Patrick,

Yeah, I did after a little experimenting.

Scott's right. Just move the files from the archives folder into the /new folder of a Maildir email account and change permissions to the delivery agent (e.g. courrier uses popuser)

I wrote a little tutorial here
http://blog.netweblogic.com/linux/mail/email-archive-google-style/
that helps you set up archiving with Gmail, so it pulls it from a new email account!


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jan 24, 2009 8:11 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1876
Ah, now that IS a good solution. Gmail. Genius!

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jan 24, 2009 8:59 am 
Offline
Forum User
Forum User

Joined: Mon Jan 12, 2009 2:31 pm
Posts: 29
:) a great bonus is you free up space on a server... great stuff once you have 40 accounts receiving mail all day!


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jan 24, 2009 9:15 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1876
I don't know if you want to change your instructions a bit though?

rather than editing qmail-scanner-queue.py (it is .pl in the Perl version anyway), change /etc/qmail-scanner.ini then run qmail-scanner-reconfigure

I don't know if you are using something different (because of the python .py extension) but in the versions I use ( Perl .pl), every time you run qmail-scanner-reconfigure, it will overwrite the qmail-scanner-queue.pl with the settings from qmail-scanner.ini

Faris.

Edit: Also you might want to change the bash script that copies the messages so that it checks if something new is in the new folder or not, otherwise you'll get a nessage from cron saying it can't copy anything :-) Or you could just add a >/dev/null 2>&1 jobbie to the end of the cron command.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jan 24, 2009 11:32 am 
Offline
Forum User
Forum User

Joined: Mon Jan 12, 2009 2:31 pm
Posts: 29
faris, you are very right about the .ini file, thanks for pointing that out. In fact the thought crossed my mind when writing, but twas a late night post and never got round to fixing it!

I suppose you're right on the script too.... considering my server gets an email every few seconds though, it wouldn't be an issue for me but for a tutorial that's a more complete solution...

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 8 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group