From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aitor Benito Subject: Re: What determiens where email is stored? Date: Thu, 13 May 2004 21:43:54 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <40A3CFFA.8000602@euskalnet.net> References: <00c401c438ef$888fa130$530a0a0a@rutgersinsurance.com> <16547.51744.283654.747686@cerise.nosuchdomain.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <16547.51744.283654.747686@cerise.nosuchdomain.co.uk> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-admin@vger.kernel.org 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/ >>> >>>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. >