Re: What determiens where email is stored?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



my apologies... this is a bit offtopic, but is what came to my mind when you started this thread about sendmail's configuration... ;)

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

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux