RE: [courier-users] Antivirus software and mail queue management

This is a discussion on RE: [courier-users] Antivirus software and mail queue management within the Courier-Imap forums, part of the Mail Servers and Related category; From: Bowie Bailey > > ------------------------------------------------------- > if ( [ "$2" == '-l' ] ) > then > find /var/spool/courier/msgs -type ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-30-2005
Bowie Bailey
 
Posts: n/a
Default RE: [courier-users] Antivirus software and mail queue management

From: Bowie Bailey
>
> -------------------------------------------------------
> if ( [ "$2" == '-l' ] )
> then
> find /var/spool/courier/msgs -type f -name 'C*' | xargs grep -l $1
> elif ( [ "$2" == '-c' ] )
> then
> find /var/spool/courier/msgs -type f -name 'C*' | xargs
> grep -l $1 |
> xargs cat | more
> else
> find /var/spool/courier/msgs -type f -name 'D*' | xargs
> grep -l $1 |
> xargs cat | more
> fi
> -------------------------------------------------------
>


Watch the folding. Each section of the if-then-elif-else should
contain one long line starting with "find".

Bowie


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0