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

Re: sendmail and maildir format ???



Dear Alfred,
   
  thanks a lot for ur reply... 
  really apprecite..
   
  btw i have followd the steps but still recive my mail in mbox formay that is goin to /var/mail/username and is a single file thats is ... mbox style
   
  here is my part of sendmail.mc file i hav changed
  dnl # that do not have 24x7 DNS do need this.
dnl #
dnl FEATURE(`accept_unresolvable_domains')dnl
dnl #
FEATURE(`relay_based_on_MX')dnl
dnl # 
dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl # 
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
dnl MASQUERADE_AS(`mydomain.com')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
dnl FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
dnl #
dnl FEATURE(masquerade_entire_domain)dnl
dnl #
dnl MASQUERADE_DOMAIN(localhost)dnl
dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
FEATURE(local_procmail)dnl
MAILER(smtp)dnl
dnl MAILER(procmail)dnl
Cwlocalhost.municipality.gov.kw
  ***************************************************************************8
   
  here also my /etc/procmailrc file
  :0
DEFAULT=$HOME/Maildir/
   
  **********************************************************************
   
  n which procmail.... 
   
  /usr/bin/procmail
   
  procmail -v gives
   
   
  procmail v3.22 2001/09/10
    Copyright (c) 1990-2001, Stephen R. van den Berg    <srb cuci nl>
    Copyright (c) 1997-2001, Philip A. Guenther         <guenther sendmail com>
  Submit questions/answers to the procmail-related mailinglist by sending to:
        <procmail-users procmail org>
  And of course, subscription and information requests for this list to:
        <procmail-users-request procmail org>
  Locking strategies:     dotlocking, fcntl()
Default rcfile:         $HOME/.procmailrc
        It may be writable by your primary group
Your system mailbox:    /var/mail/root
   
  wht could i be doin wrong
   
  really wd appreciet your help 
  do i need to change another othe file .. apart from sendmail.mc n /etc/procmailrc file or any other changes
   
  Regards
   
  simon
   
   
   
   
  

Alfred Hovdestad <alfred hovdestad usask ca> wrote:
  You can put

FEATURE(local_procmail)dnl

in your sendmail.mc file to generate your sendmail.cf config file. This 
defines procmail as your local mailer agent.

Then you put

:0
/USER.MAIL.DIRECTORY/

in /etc/procmailrc. The trailing '/' tells procmail to use MAILDIR (man 
procmailrc). Your mail directory can be /var/mail/username/ or 
$HOME/maildir/

You can also just specify

DEFAULT=$HOME/Maildir/

in your /etc/procmailrc. This sets the default mail destination to be 
the Maildir directory in the recipient's home directory in maildir format.

Alfred



sylvan dacounha wrote:
> Thanks for ur quick reply and help..
> 
> but as u said do i need to create these . forward n .procmailrc files for each user.
> if so then ?? 
> how abt a global file
> 
> as far as spam is concerned i will be using Spamassassin with mailscanner .
> 
> how do i let sendmail know to use procmail as my LDA
> 
> i will be using dovecot as my Imap server
> 
> how will be the mail users created .. r they created as normal unix users which i have done for my earlier mail server
> 
> 
> btw i already have mailserver for my old existing domain...
> 
> which runs sendmail + dovecot + Spamassissan + mailscanner with normal mbox format and is working perfectly OK .
> 
> but i jus want my new mailserver have mails with maildir format as i am expecting the mails for this domain users to be huge.
> 
> Thnak and appreciate
> 
> Regards
> 
> simon
> 
> 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 

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