Re: Procmail site-wide recipe's

2003-02-12 Thread dick hoogendijk
On 11 Feb Dirk-Willem van Gulik wrote:
 On Tue, 11 Feb 2003, BSD Freak wrote:
  Does anyone know how I can make a procmail recipe apply to all users
  on the mail server?
 
 Add to your sendmail.mc file

   MAILER(procmail)

 then add to your mailer table something like:

   domain1.com procmail:/etc/maps/domain1.com.map
   domain2.com procmail:/etc/maps/domain2.com.map

 And the latter, domain1.com.map is your global map for that domain.

I don't understand why you should involve the mailertable function for
this.
I've mailer(procmail) in sendmail.cf and procmail is automatically
used for local delivery. Am I to understand that your solution is for
/outgoing/ procmail messages?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail site-wide recipe's

2003-02-11 Thread Dirk-Willem van Gulik


On Tue, 11 Feb 2003, BSD Freak wrote:

 I am running a 4.7-R/sendmail mail server. I currently use procmail on a
 few email accounts using a .forward in each home directory. Does anyone
 know how I can make a procmail recipe apply to all users on the mail server?

Add to your sendmail.mc file

MAILER(procmail)

then add to your mailer table something like:

domain1.com procmail:/etc/maps/domain1.com.map
domain2.com procmail:/etc/maps/domain2.com.map

And the latter, domain1.com.map is your global map for that domain.

Note that changes to that file take instant effect; i.e. no sendmail
restart so you want to be more careful than normal perhaps.

Dw.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Procmail site-wide recipe's

2003-02-10 Thread BSD Freak
Hi all,

I am running a 4.7-R/sendmail mail server. I currently use procmail on a
few email accounts using a .forward in each home directory. Does anyone
know how I can make a procmail recipe apply to all users on the mail server?

Thanks in advance...

-
NEW to mBox, receive faxes to any email address!
Find out more http://www.mbox.com.au/fax

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail site-wide recipe's

2003-02-10 Thread JacobRhoden
On Tuesday 11 February 2003 10:52, BSD Freak wrote:
 I am running a 4.7-R/sendmail mail server. I currently use procmail on a
 few email accounts using a .forward in each home directory. Does anyone
 know how I can make a procmail recipe apply to all users on the mail
 server?

I had no idea until I typed 'man procmail' and read the first two paragraphs 
(:

Have fun.

 - jacob

Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail site-wide recipe's

2003-02-10 Thread Allan Dib
This still requires a .forward in each home directory to pipe the mail 
through procmail.


On Tuesday, February 11, 2003, at 11:01 AM, JacobRhoden wrote:

On Tuesday 11 February 2003 10:52, BSD Freak wrote:

I am running a 4.7-R/sendmail mail server. I currently use procmail 
on a
few email accounts using a .forward in each home directory. Does 
anyone
know how I can make a procmail recipe apply to all users on the mail
server?

I had no idea until I typed 'man procmail' and read the first two 
paragraphs
(:

Have fun.

 - jacob

Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail site-wide recipe's

2003-02-10 Thread Jim Trigg
On Tue, Feb 11, 2003 at 10:52:09AM +1100, BSD Freak wrote:
 Hi all,
 
 I am running a 4.7-R/sendmail mail server. I currently use procmail on a
 few email accounts using a .forward in each home directory. Does anyone
 know how I can make a procmail recipe apply to all users on the mail server?

Change the local delivery agent in sendmail to procmail.

Jim
-- 
Jim Trigg, Lord High Everything Else  O-  /\
  \ /  ASCII RIBBON CAMPAIGN
Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL
Verger, All Saints Church - Sharon Chapel / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail site-wide recipe's

2003-02-10 Thread BSD Freak
That's basically what I'm asking. HOW do I make procmail the local
delivery agent in sendmail...



On Tue, Feb 11, 2003 at 10:52:09AM +1100, BSD Freak wrote:
Hi all,

I am running a 4.7-R/sendmail mail server. I currently use procmail on a
few email accounts using a .forward in each home directory. Does anyone
know how I can make a procmail recipe apply to all users on the mail server?

Change the local delivery agent in sendmail to procmail.

Jim
-- 
Jim Trigg, Lord High Everything Else  O-  /\
  \ /  ASCII RIBBON CAMPAIGN
Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL
Verger, All Saints Church - Sharon Chapel / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


-
Faxes delivered directly to any email address, new to mBox!
Find out more http://www.mbox.com.au/fax

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail site-wide recipe's

2003-02-10 Thread Giorgos Keramidas
On 2003-02-11 11:52, BSD Freak [EMAIL PROTECTED] wrote:
 That's basically what I'm asking. HOW do I make procmail the local
 delivery agent in sendmail...

Add the lines preceded by + below to your sendmail.mc file, regenerate
sendmail.cf and add your site-wide filters to /usr/local/etc/procmailrc

+ FEATURE(`local_procmail')dnl
  MAILER(local)dnl
  MAILER(smtp)dnl
+ MAILER(procmail)dnl

This is documented in detail in /usr/share/sendmail/cf/README around
line 1057:

1057 local_procmail  Use procmail or another delivery agent as the local mailer.
1058 The argument to this feature is the pathname of the
1059 delivery agent, which defaults to PROCMAIL_MAILER_PATH.
 [...]

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Procmail site-wide recipe's

2003-02-10 Thread Larry Rosenman
FEATURE(local_procmail)

in your .mc file.

LER


--On Tuesday, February 11, 2003 11:52:30 +1100 BSD Freak 
[EMAIL PROTECTED] wrote:

That's basically what I'm asking. HOW do I make procmail the local
delivery agent in sendmail...



On Tue, Feb 11, 2003 at 10:52:09AM +1100, BSD Freak wrote:
Hi all,

I am running a 4.7-R/sendmail mail server. I currently use procmail on a
few email accounts using a .forward in each home directory. Does anyone
know how I can make a procmail recipe apply to all users on the mail
server?

Change the local delivery agent in sendmail to procmail.

Jim
--
Jim Trigg, Lord High Everything Else  O-  /\
  \ /  ASCII RIBBON
CAMPAIGN Hostmaster, Huie Kin family websiteXHELP
CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


-
Faxes delivered directly to any email address, new to mBox!
Find out more http://www.mbox.com.au/fax

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message





--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message