http://comic.escomposlinux.org/ecol-65-e.png
Glynn Clements wrote:
Matt Howard wrote:
I am using Sendmail with procmail as the local mailer.
Currently all the mail is stored on my mail server in /var/spool/mail/<username>
I want to move the storage to a different directory and I can not seem to find the appropriate configuration file.
Other than the symlink answer, sendmail defines this at compile time. I
know, you're thinking, "With all that crap you can configure and all
the macro-expansion, they don't even let you change the mail drop?" Yeah, it's strange, but you'll find what you need in
"include/sendmail/pathnames.h" from the sendmail source kit. There
should be a line that defines "_PATH_MAILDIR". You should be able to
get the source to your sendmail package (srpms, apt-get --source, or
what have you), make this change, and replace the package.
The above is incorrect.
Sendmail doesn't write to mail spools, and doesn't need to know where
they reside. It just feeds the message to the delivery agent (e.g. procmail).
The _PATH_MAILDIR macro is for the mail.local program, which is "bundled" with sendmail. Unless you're actually using mail.local (and Adam indicated that he's using procmail), it isn't relevant.
- : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html