On Sun, Oct 23, 2005 at 09:21:16AM -0000, anwar_ck wrote:
>  Hi All

Hi Anwar,

>        How r u . i hav configured sendmail and its working. Now i want
> get the user mails in their home directory in order to set quota for
> the /home partition . can any body help me. i am using redhat linux. 

Sendmail delivers the local mail via a program. On my standard
Gentoo-sendmail 'mail.local' is used:

| [EMAIL PROTECTED] /usr/share/sendmail-cf $ cat /etc/mail/sendmail.mc
| divert(-1)
| divert(0)dnl
| include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
| VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp $')dnl
| OSTYPE(linux)dnl
| DOMAIN(generic)dnl
| FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
| FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
| MAILER(local)dnl
| MAILER(smtp)dnl

The man-page for mail.local mentions:
|      -h filename
|                Store incoming mail in filename in the user's home  directory
|                instead of a system mail spool directory.

However, that is mailer specific. It looks from feature/local_lmtp.m4
that one would set the second argument to the mailer parameters. In my
case I would assume setting...

| FEATURE(`local_lmtp',`/usr/sbin/mail.local', `mail.local -l -f inbox')dnl

...would deliver the mails into the file 'inbox' in my home directory. I
haven't tried it though. The other option is using procmail. It's a bit
more complex, but also far more powerful. For procmail one would set...

| MAILER(procmail)

...and some more options I guess. The procmail configuration options can
be taken both from `man procmail` and from `man procmailrc'.

Dirk Tilger
Advanced Technologies ME FZ LLC
Tel +971 4 367 1071
Fax +971 4 367 2529
Mob +971 50 8809132
    +966 55 1650025


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dubailug/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to