[sclug] Maildir help
Scott Rixon
Scott at Green-Flag.com
Sun Mar 21 13:04:27 UTC 2004
http://wiki.debian.net/?MaildirConfiguration
I had only edit the exim config.. Now I have edit the login.defs it all
works....
I couldn't find a good help page at first.. Trouble is I think I was
going about it the wrong way...
Scott
(With happy sorted mail!)
Roland Turner wrote:
> Scott,
>
>
>>I then create a .procmailrc file in my home directory with nothing more than
>>
>>VERBOSE=off
>>MAILDIR=$HOME/Maildir/
>>LOGFILE=$HOME/.maillog
>>
>>And then the mail ends up in /var/mail/scott
>
>
> This is correct. You've merely set up a few environment variables, you've not actually told procmail to _DO_ anything, so it doesn't do anything. The implicit default rule (the rule that is run if no delivery rules match, e.g. if there are no rules at all) is something similar to:
>
> :0:
> $ORGMAIL
>
> If you want all incoming mail to be delivered somewhere else, then add a rule like:
>
> :0:
> $MAILDIR
>
> (N.B. I'm not familiar with procmail's handling of maildirs and, in particular, whether or not the lock is required. If it is not, replace :0: with :0)
>
> Another approach might be to set ORGMAIL to $MAILDIR but (a) this is self-defeating, ORGMAIL exists to allow you to get back to the original delivery target and (b) the implicit default rule may not actually refer to the environment variable. I really don't recall.
>
> - Raz
> _______________________________________________
> sclug mailing list
> sclug at sclug.org.uk
> http://www.sclug.org.uk/mailman/listinfo/sclug
>
>
More information about the Sclug
mailing list