#1  
Old 18th July 2007, 13:25
kristaps kristaps is offline
Junior Member
 
Join Date: Jul 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
Question Procmail problems

Mea by someone is will now:

Vacation is working when enabled bat moving mails to directory no her is a script:

Quote:
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
ORGMAIL=$MAILDIR

# procmail script generated by Ingo (July 18, 2007, 2:11 pm)
##### DISABLED: Vacation #####
# :0
# {
# FILEDATE=`ls -lcn --time-style=+%s '.vacation.kristaps.cudars@tera.lv' | awk '{ print $6 + (604800) }'`
# DATE=`date +%s`
# DUMMY=`test $FILEDATE -le $DATE && rm '.vacation.kristaps.cudars@tera.lv'`
#
# :0 Whc: vacation.lock
# * $^To.*\<)?kristaps.cudars@tera.lv
# * !^X-Loop: kristaps.cudars@tera.lv
# * !^FROM_DAEMON
# | formail -rD 8192 .vacation.kristaps.cudars@tera.lv
# :0 ehc
# | (formail -rI"Precedence: junk" \
# -A"X-Loop: kristaps.cudars@tera.lv" \
# -i"Subject: Test" ; \
# echo "TEST TEST TEST " \
# ) | $SENDMAIL -oi -t
#
# }


##### New Rule #####
:0 c
* ^From:.*webmaster@tera.lv
"$DEFAULT/.Root/"
Reply With Quote
Sponsored Links
  #2  
Old 18th July 2007, 13:56
kristaps kristaps is offline
Junior Member
 
Join Date: Jul 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

Done:

##### New Rule #####
:0
* ^From:.*webmaster@tera.lv
"$DEFAULT/.Root/"


right one
Reply With Quote
Reply

Bookmarks

Thread Tools
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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Problems with email... nickjc Installation/Configuration 11 1st July 2007 19:56
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
plenty of procmail/trashscan processes ZyanKLee Installation/Configuration 10 27th December 2005 20:09
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 00:58


All times are GMT +2. The time now is 19:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.