procmail
[Top] [All Lists]

Re: more doubts .

2001-01-16 16:07:52


Thanks for your help!!
look at this:


this is the  /usr/src/etc/sendmail/freebsd.mc file:
(after the inclusion of the two last strings)

#######################################################################
divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10 1999/12/29 18:20:23 pet
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
FEATURE(relay_based_on_MX)dnl
FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
FEATURE(access_db, `hash -o /etc/mail/access')dnl
FEATURE(blacklist_recipients)dnl
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl
dnl Uncomment to activate Realtime Blackhole List (recommended!)
dnl information available at http://maps.vix.com/rbl/
dnl FEATURE(rbl)dnl
dnl Many sites reject email connections from dialup ip addresses
dnl by using the MAPS Dial-up User List (DUL).  http://maps.vix.com/dul/
dnl Dialup users should uncomment and define this appropriately
dnl define(`SMART_HOST', `your.isp.mail.server')dnl
FEATURE(local_lmtp)dnl
define(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'P)dnl
define(`confCW_FILE', `-o /etc/mail/sendmail.cw')dnl
define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
define(`confMAX_MIME_HEADER_LENGTH', `256/128')dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`PROCMAIL_MAILER_PATH', `/usr/local/bin/procmail')dnl # lines included
FEATURE(`local_procmail')dnl                                          #


#######################################################################
this is the end of file.

then I have to rebuild /etc/mail/sendmail.cf ?
cd /etc/mail/
make sendmail.cf

and  re-start sendmail.
finish?? procmail starts????
Note: the file /etc/procmailrc
wasn't created!!!  I have to create it?
Thanks for this BIG help
Bye


Jo o Paulo Andrade wrote:
> I want to use procmail now.
> I have to delete this
>
> Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qSXfmnz9P, S=10/30, R=
>                  T=DNS/RFC822/X-Unix,
>                  A=mail.local -l
>
> and change to this?
> Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
>              A=procmail -Y -a $h -d $u
> ????????

The normal method is to include these lines in your sendmail ".mc"
file:

    define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
    FEATURE(`local_procmail')dnl

Replace /usr/bin/procmail by whatever the appropriate thing is, then
rebuild your ".cf" file.  (typically cd to something like
/usr/share/sendmail-8.x.x/cf and say "make foo.cf", if you've modified
"foo.mc".)  After doing that, I always compare the old ".cf" file
against the newly-built one.  If satisfactory, install in the
appropriate place, restart sendmail, and you're done.

>
> Is this automatic when i install procmail???

I don't think so.  On the other hand, some linux distributions have
the above two lines turned on in the .mc file by default.
--
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

> ³³°°°°³³°°°°³³ªªªª°°§§³²¹¹²³§§°°°°°°ªªªª°³³°°°°³³°°°°³³<
>       João Paulo G. de Andrade                  <
>       joaopaulo(_at_)unimetro(_dot_)com(_dot_)br                 <
>       Setor de Informática                      <
>       Unimed Metropolitana de Salvador         <
> ³³°°°°³³°°°°³³ªªªª°°§§³²¹¹²³§§°°°°°°ªªªª°³³°°°°³³°°°°³³ <


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>