Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Procmail
Energy
post Nov 20 2008, 11:57 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 20-November 08
Member No.: 13,762



hey guys wanted to see iff anyone could help with this:s

I have three files, .forward ( in home ) .procmailrc and general.rc ( in my .procmail directory ) And im wondering if i can get my general.rc file to do the same thing as the above code. My general.rc looks like this:



Code:
:0
* ^From:.*sumone@sumaddy.com
* ^Subject:.*hello
$HOME/Mail/Hello
What i think that file does is it looks for who the mail is from, whether or not hello is in the subject line and puts what it found into a Hello folder.

So my .forward looks like this:


Code:
"|IFS=' '&&exec usr/bin/procmail||exit 75 #username"
Now the most important file .procmailrc that ties everything together is as follows:


Code:
VERBOSE=off
MAILDIR=$HOME/Mail
PMDIR=$HOME/.procmail
DEFAULT=/var/spool/mail/username
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/general.rc
#end of .procmailrc

All three of these files work together to copy and move my mail with a certain subject line into a folder.
Im not executing anything with these three files. At least i dont think should..

Any help is very much appreciated!!

Thanks!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2017 - 08:59 PM