Re: What determiens where email is stored?
Re: What determiens where email is stored?
am 13.05.2004 15:34:38 von ulgandhi
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
> 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/
>
> 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
>
-
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
What determiens where email is stored?
am 13.05.2004 15:38:11 von Adam Lang
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.
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
Re: What determiens where email is stored?
am 13.05.2004 15:40:13 von Marshall Lake
> 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.
You could always use a symbolic link.
--
Marshall Lake -- mlake@mlake.net -- http://mlake.net
-
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
Re: What determiens where email is stored?
am 13.05.2004 15:48:48 von Adam Lang
Then how would imap/pop know where to pull the email from?
----- Original Message -----
From: "Upendra L. Gandhi"
To: "Adam Lang"
Cc:
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
> > 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/
> >
> > 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
> >
-
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
Re: What determiens where email is stored?
am 13.05.2004 15:49:18 von Adam Lang
God I am stupid sometimes
----- Original Message -----
From: "Marshall Lake"
To: "Adam Lang"
Cc:
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
-
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
Re: What determiens where email is stored?
am 13.05.2004 19:05:06 von Matt Howard
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/
>
> 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
Superior Insurance - Technical Services
-
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
Re: What determiens where email is stored?
am 13.05.2004 20:20:43 von salt
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/
> >
> > I want to move the storage to a different directory and I can not seem to
> > find the appropriate configuration file.
>
--
Rudy Vener
-
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
Re: What determiens where email is stored?
am 13.05.2004 20:48:48 von Glynn Clements
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/
>
> 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
-
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
Re: What determiens where email is stored?
am 13.05.2004 21:18:56 von Glynn Clements
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.
--
Glynn Clements
-
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
Re: What determiens where email is stored?
am 13.05.2004 21:31:56 von Matt Howard
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
Superior Insurance - Technical Services
-
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
Re: What determiens where email is stored?
am 13.05.2004 21:43:54 von Aitor Benito
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.
>
-
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
Re: What determiens where email is stored?
am 13.05.2004 21:56:01 von Scott Taylor
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/
>> >
>> > 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
-
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
Re: What determiens where email is stored?
am 13.05.2004 22:12:26 von Adam Lang
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"
To:
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
-
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
Re: What determiens where email is stored?
am 13.05.2004 22:37:04 von Adam Lang
haha
----- Original Message -----
From: "Aitor Benito"
To:
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/
> >>>
> >>>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
-
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