[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 #
dnl # 
dnl # Also accept email sent to "localhost.localdomain" as local email.
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
dnl MAILER(procmail)dnl
  here also my /etc/procmailrc file
  n which 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

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


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

Then you put


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

You can also just specify


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


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

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]