Displaying 4 results from an estimated 4 matches for "lockext".
2014 Jun 20
2
mail delivery question
...$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/contrib/bin:.
# one page suggested MAILDIR has no trailing slash, but DEFAULT should have one
MAILDIR=$HOME/Maildir/ # You'd better make sure it exists '
DEFAULT=$MAILDIR
LOGFILE="$HOME/procmail_log"
LOCKFILE="$HOME/.lockmail"
LOCKEXT=.lock
:0
* .
{
LOG="$NL default recipe using copy to .ham_to_learn/ (maildir version) $NL"
}
:0 c
.ham_to_learn/
:0
| /usr/libexec/dovecot/deliver -m $DEFAULT
I get this in my log file:
procmail: [27709] Fri Jun 20 14:00:17 2014
default recipe using copy to .ham_to_learn/ (maild...
2007 Jun 08
0
Dot Lock probelm resolution
...like this:
####### BEGIN SYS ADMIN ADDED LINES #######
## !!!!!! Do not remove these lines !!!!!!
## They have been placed here by System Admin
## If removed, your mail will run slower and
## generate error messages!!!!!!!!
LOCKFILE #removes preexisting lockfile
LOG='lockfile $DEFAULT$LOCKEXT '
TRAP="rm -f $DEFAULT$LOCKEXT"
:0
$DEFAULT
####### END OF SYS ADMIN ADDED LINES #######
# IF YOU ADD STUFF, DO IT ABOVE THIS BLOCK #
I sent a note to the procmail mailing list hoping to get
a clue of what is doing. Here are my Qs and their As:
>> 2) Is it syn...
2014 Nov 21
1
Centos 6.6 procmail trouble
...quot;
PATH="$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/contrib/bin:."
MAILDIR="$HOME/Maildir/"
DEFAULT="$HOME/Maildir/"
MAILDIR="$DEFAULT"
LOGFILE="$HOME/procmail_log"
#LOGFILE="$/var/log/procmail.log"
LOCKFILE="$HOME/.lockmail"
LOCKEXT=.lock
SENDMAIL="/usr/sbin/sendmail -oi -t"
N="
"
NL="
"
LOG=" My HOME is --> $HOME $NL My MAILDIR Directory is --> $MAILDIR $NL My DEFAU
LT Directory is --> $DEFAULT $NL My ORGMAIL Directory is --> $ORGMAIL $NL My LOG
NAME is $LOGNAME $NL New .procmai...
2006 Jul 05
2
Procmail patch for dovecot delivery
...st char unkuser[]="Unknown user";
nlog(unkuser);logqnl(chp2);syslog(LOG_ERR,slogstr,unkuser,chp2);
return EX_NOUSER; /* we don't handle strangers */
@@ -498,12 +513,12 @@
setuid(uid); /* make sure we have enough space */
if(linebuf<(len=strlen(chp)+strlen(lockext)+UNIQnamelen))
allocbuffers(linebuf=len,1); /* to perform the lock & delivery */
- if(writefolder(chp,(char*)0,themail.p,filled,0,1)) /* default */
+ if(writefolder(chp,(char*)0,themail.p,filled,0,1,1)) /* default */
succeed=1;
} /* if all else failed */...