Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
sendmail and maildir format ???

sendmail and maildir format ???

2007-07-07       - By sylvan dacounha

 Back
Reply:     1     2     3     4     5     6     7     8     9  

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 @(protected), 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@(protected)>
   Copyright (c) 1997-2001, Philip A. Guenther         <guenther@(protected)>
 Submit questions/answers to the procmail-related mailinglist by sending to:
       <procmail-users@(protected)>
 And of course, subscription and information requests for this list to:
       <procmail-users-request@(protected)>
 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@(protected)> 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@(protected)?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.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list