linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: What determiens where email is stored?
  2004-05-13 13:38 What determiens where email is stored? Adam Lang
@ 2004-05-13 13:34 ` Upendra L. Gandhi
  2004-05-13 13:48   ` Adam Lang
  2004-05-13 13:40 ` Marshall Lake
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 14+ messages in thread
From: Upendra L. Gandhi @ 2004-05-13 13:34 UTC (permalink / raw)
  To: Adam Lang; +Cc: linux-admin

use procmail to drop mails to $HOME of every user
procmail rocks jes configured for postfix 200 users ....
byeeeeee


*******************************************************************************
Upendra Gandhi.

On Thu, 13 May 2004, Adam Lang wrote:

> Date: Thu, 13 May 2004 09:38:11 -0400
> From: Adam Lang <aalang@rutgersinsurance.com>
> To: linux-admin@vger.kernel.org
> Subject: What determiens where email is stored?
>
> 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.
>
> Adam Lang
> Systems Engineer
> Rutgers Casualty Insurance Company
> http://www.rutgersinsurance.com
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* What determiens where email is stored?
@ 2004-05-13 13:38 Adam Lang
  2004-05-13 13:34 ` Upendra L. Gandhi
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Adam Lang @ 2004-05-13 13:38 UTC (permalink / raw)
  To: linux-admin

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.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 13:38 What determiens where email is stored? Adam Lang
  2004-05-13 13:34 ` Upendra L. Gandhi
@ 2004-05-13 13:40 ` Marshall Lake
  2004-05-13 13:49   ` Adam Lang
  2004-05-13 17:05 ` Matt Howard
  2004-05-13 18:48 ` Glynn Clements
  3 siblings, 1 reply; 14+ messages in thread
From: Marshall Lake @ 2004-05-13 13:40 UTC (permalink / raw)
  To: Adam Lang; +Cc: linux-admin


> 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.

You could always use a symbolic link.

-- 
Marshall Lake -- mlake@mlake.net -- http://mlake.net

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 13:34 ` Upendra L. Gandhi
@ 2004-05-13 13:48   ` Adam Lang
  0 siblings, 0 replies; 14+ messages in thread
From: Adam Lang @ 2004-05-13 13:48 UTC (permalink / raw)
  Cc: linux-admin

Then how would imap/pop know where to pull the email from?
----- Original Message ----- 
From: "Upendra L. Gandhi" <ulgandhi@che.iitb.ac.in>
To: "Adam Lang" <aalang@rutgersinsurance.com>
Cc: <linux-admin@vger.kernel.org>
Sent: Thursday, May 13, 2004 9:34 AM
Subject: Re: What determiens where email is stored?


> use procmail to drop mails to $HOME of every user
> procmail rocks jes configured for postfix 200 users ....
> byeeeeee
>
>
>
****************************************************************************
***
> Upendra Gandhi.
>
> On Thu, 13 May 2004, Adam Lang wrote:
>
> > Date: Thu, 13 May 2004 09:38:11 -0400
> > From: Adam Lang <aalang@rutgersinsurance.com>
> > To: linux-admin@vger.kernel.org
> > Subject: What determiens where email is stored?
> >
> > 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.
> >
> > Adam Lang
> > Systems Engineer
> > Rutgers Casualty Insurance Company
> > http://www.rutgersinsurance.com
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin"
in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 13:40 ` Marshall Lake
@ 2004-05-13 13:49   ` Adam Lang
  0 siblings, 0 replies; 14+ messages in thread
From: Adam Lang @ 2004-05-13 13:49 UTC (permalink / raw)
  To: linux-admin

God I am stupid sometimes
----- Original Message ----- 
From: "Marshall Lake" <mlake@mlake.net>
To: "Adam Lang" <aalang@rutgersinsurance.com>
Cc: <linux-admin@vger.kernel.org>
Sent: Thursday, May 13, 2004 9:40 AM
Subject: Re: What determiens where email is stored?


> You could always use a symbolic link.
> 
> -- 
> Marshall Lake -- mlake@mlake.net -- http://mlake.net

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 13:38 What determiens where email is stored? Adam Lang
  2004-05-13 13:34 ` Upendra L. Gandhi
  2004-05-13 13:40 ` Marshall Lake
@ 2004-05-13 17:05 ` Matt Howard
  2004-05-13 19:18   ` Glynn Clements
  2004-05-13 18:48 ` Glynn Clements
  3 siblings, 1 reply; 14+ messages in thread
From: Matt Howard @ 2004-05-13 17:05 UTC (permalink / raw)
  To: linux-admin

Adam Lang 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.
> 
> Adam Lang
> Systems Engineer
> Rutgers Casualty Insurance Company
> http://www.rutgersinsurance.com

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.

That's a lot of effort, I'd go with the symlink. :)  Just don't forget
to document what you do, lest the other admins fling CDs at you.

-- 
Matt Howard <mhoward@sigins.com>
Superior Insurance - Technical Services


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 18:48 ` Glynn Clements
@ 2004-05-13 18:20   ` A. R. Vener
  2004-05-13 19:56     ` Scott Taylor
  0 siblings, 1 reply; 14+ messages in thread
From: A. R. Vener @ 2004-05-13 18:20 UTC (permalink / raw)
  To: linux-admin


You might consider  replacing sendmail with postfix.
Postfix operates transparently to sendmail and lets you modify the MAIL_SPOOL 
location from the main configuration file.
Postfix is also a LOT easier to configure than sendmail.

> Adam Lang 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.
> 

--
Rudy Vener

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 13:38 What determiens where email is stored? Adam Lang
                   ` (2 preceding siblings ...)
  2004-05-13 17:05 ` Matt Howard
@ 2004-05-13 18:48 ` Glynn Clements
  2004-05-13 18:20   ` A. R. Vener
  3 siblings, 1 reply; 14+ messages in thread
From: Glynn Clements @ 2004-05-13 18:48 UTC (permalink / raw)
  To: Adam Lang; +Cc: linux-admin


Adam Lang 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.

Global procmail settings can be stored in /etc/procmailrc (this file
may not exist yet; procmail's default settings are correct for
"typical" usage).

The default mail spool (used for storing messages which aren't handled
by an explicit rule) is determined by the ORGMAIL variable, which
defaults to /var/spool/mail/$LOGNAME.

See the procmailrc(5) manpage for more information.

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 17:05 ` Matt Howard
@ 2004-05-13 19:18   ` Glynn Clements
  2004-05-13 19:31     ` Matt Howard
  2004-05-13 19:43     ` Aitor Benito
  0 siblings, 2 replies; 14+ messages in thread
From: Glynn Clements @ 2004-05-13 19:18 UTC (permalink / raw)
  To: Matt Howard; +Cc: linux-admin


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.

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 19:18   ` Glynn Clements
@ 2004-05-13 19:31     ` Matt Howard
  2004-05-13 19:43     ` Aitor Benito
  1 sibling, 0 replies; 14+ messages in thread
From: Matt Howard @ 2004-05-13 19:31 UTC (permalink / raw)
  To: linux-admin

Glynn Clements wrote:
> 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.
> 

You're right -- I didn't notice he wasn't using the default local
mailer.

-- 
Matt Howard <mhoward@sigins.com>
Superior Insurance - Technical Services


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 19:18   ` Glynn Clements
  2004-05-13 19:31     ` Matt Howard
@ 2004-05-13 19:43     ` Aitor Benito
  2004-05-13 20:37       ` Adam Lang
  1 sibling, 1 reply; 14+ messages in thread
From: Aitor Benito @ 2004-05-13 19:43 UTC (permalink / raw)
  To: linux-admin

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.
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 18:20   ` A. R. Vener
@ 2004-05-13 19:56     ` Scott Taylor
  2004-05-13 20:12       ` Adam Lang
  0 siblings, 1 reply; 14+ messages in thread
From: Scott Taylor @ 2004-05-13 19:56 UTC (permalink / raw)
  To: linux-admin


A. R. Vener said:
>
>
>> Adam Lang 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.
>>
>
> You might consider  replacing sendmail with postfix.
> Postfix operates transparently to sendmail and lets you modify the
> MAIL_SPOOL
> location from the main configuration file.
> Postfix is also a LOT easier to configure than sendmail.

(order rearranged for legibility)

That just sounds like a cop-out to me.  Adam (I think that was his name)
already has a working Sendmail and procmail setup.   No reason to give up
and move to something "a LOT easier to configure".  I agree, Postfix is
very simple and practically works out-of-the-box, however, there are loads
of docs on sendmail and plenty of friendly help.  Besides, Glynn already
gave the correct answer to Adam's Question.

Sorry if your name isn't Adam, all these TOP-POSTERs make it confusing. =P

--
Scott


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 19:56     ` Scott Taylor
@ 2004-05-13 20:12       ` Adam Lang
  0 siblings, 0 replies; 14+ messages in thread
From: Adam Lang @ 2004-05-13 20:12 UTC (permalink / raw)
  To: linux-admin

Yeah, I do not have any desire to eliminate sendmail.    I went the symlink
route. Took me 10 minutes to fix the problem that way.

As for top posters, I like top posters. :p  That way you get the new
relevant information at the top and you only need to read the old stuff if
you forgot what is being spoken about. :)  It drives me nuts having to
scroll through 4 pages of stuff I read to find  a one sentence reply. :)

But it wouldn't matter if people learned to trim all messages beyond the one
you are replying to.
----- Original Message ----- 
From: "Scott Taylor" <scott@dctchambers.com>
To: <linux-admin@vger.kernel.org>
Sent: Thursday, May 13, 2004 3:56 PM
Subject: Re: What determiens where email is stored?


> That just sounds like a cop-out to me.  Adam (I think that was his name)
> already has a working Sendmail and procmail setup.   No reason to give up
> and move to something "a LOT easier to configure".  I agree, Postfix is
> very simple and practically works out-of-the-box, however, there are loads
> of docs on sendmail and plenty of friendly help.  Besides, Glynn already
> gave the correct answer to Adam's Question.
>
> Sorry if your name isn't Adam, all these TOP-POSTERs make it confusing. =P
>
> --
> Scott


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: What determiens where email is stored?
  2004-05-13 19:43     ` Aitor Benito
@ 2004-05-13 20:37       ` Adam Lang
  0 siblings, 0 replies; 14+ messages in thread
From: Adam Lang @ 2004-05-13 20:37 UTC (permalink / raw)
  To: linux-admin

haha
----- Original Message ----- 
From: "Aitor Benito" <abm175@euskalnet.net>
To: <linux-admin@vger.kernel.org>
Sent: Thursday, May 13, 2004 3:43 PM
Subject: Re: What determiens where email is stored?


> 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.
> >
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-05-13 20:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 13:38 What determiens where email is stored? Adam Lang
2004-05-13 13:34 ` Upendra L. Gandhi
2004-05-13 13:48   ` Adam Lang
2004-05-13 13:40 ` Marshall Lake
2004-05-13 13:49   ` Adam Lang
2004-05-13 17:05 ` Matt Howard
2004-05-13 19:18   ` Glynn Clements
2004-05-13 19:31     ` Matt Howard
2004-05-13 19:43     ` Aitor Benito
2004-05-13 20:37       ` Adam Lang
2004-05-13 18:48 ` Glynn Clements
2004-05-13 18:20   ` A. R. Vener
2004-05-13 19:56     ` Scott Taylor
2004-05-13 20:12       ` Adam Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).