Re: cyrus, procmail and postfix

2005-11-03 Thread Casper

Johan Barelds wrote:


Hi all,

I know that this subject has been discussed before, but i can't find a 
solution and i am struggling with this problem.


I am using cyrus and postfix for a while now but i want to start using 
$HOME/.procmailrc and /etc/procmailrc.


I started with /etc/procmailrc but i don't get it to work.
This is what my config files look like:

/etc/postfix/main.cf
mailbox_command = /usr/bin/procmail -a "$EXTENSION"

/etc/postfix/master.cf
procmail  unix  -   n   n   -   -   pipe
 flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} 
${recipient}


/etc/procmailrc
DELIVER=/usr/lib/cyrus/bin/deliver
LOGFILE=/tmp/proclog
LOGABSTRACT=all
:0 c
| $DELIVER -a mailings -m user.mailings

Does anyone have a clue how to get this (and $HOME/.procmailrc) working?
Thanks in advance.

 


In procmail rc look for the includerc option.

Example from master procmailrc

/etc/procmailrc
DELIVER=/usr/lib/cyrus/bin/deliver
LOGFILE=/tmp/proclog
LOGABSTRACT=all

INCLUDERC=/home/$user/.procmailrc  ## <-

:0:
| $DELIVER $user





Just a start, but look in this direction and find what setup you need 
and works for you.


/Casper


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: cyrus, procmail and postfix

2005-11-03 Thread Paul Wolstenholme
I tried going down this road as well. Then I realized I should just use 
sieve which is the part of Cyrus and works very well.


/Paul

On Nov 3, 2005, at 9:49 AM, Johan Barelds wrote:


Hi all,

I know that this subject has been discussed before, but i can't find a
solution and i am struggling with this problem.

I am using cyrus and postfix for a while now but i want to start using
$HOME/.procmailrc and /etc/procmailrc.

I started with /etc/procmailrc but i don't get it to work.
This is what my config files look like:

/etc/postfix/main.cf
mailbox_command = /usr/bin/procmail -a "$EXTENSION"

/etc/postfix/master.cf
procmail  unix  -       n       n       -       -       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc 
${sender}

${recipient}

/etc/procmailrc
DELIVER=/usr/lib/cyrus/bin/deliver
LOGFILE=/tmp/proclog
LOGABSTRACT=all
:0 c
| $DELIVER -a mailings -m user.mailings

Does anyone have a clue how to get this (and $HOME/.procmailrc) 
working?

Thanks in advance.

--
Kind Regards / Met vriendelijke groet,

Johan Barelds   Good-IT!

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrus, procmail and postfix

2005-11-03 Thread Johan Barelds
Hi all,

I know that this subject has been discussed before, but i can't find a 
solution and i am struggling with this problem.

I am using cyrus and postfix for a while now but i want to start using 
$HOME/.procmailrc and /etc/procmailrc.

I started with /etc/procmailrc but i don't get it to work.
This is what my config files look like:

/etc/postfix/main.cf
mailbox_command = /usr/bin/procmail -a "$EXTENSION"

/etc/postfix/master.cf
procmail  unix  -       n       n       -       -       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} 
${recipient}

/etc/procmailrc
DELIVER=/usr/lib/cyrus/bin/deliver
LOGFILE=/tmp/proclog
LOGABSTRACT=all
:0 c
| $DELIVER -a mailings -m user.mailings

Does anyone have a clue how to get this (and $HOME/.procmailrc) working?
Thanks in advance.

-- 
Kind Regards / Met vriendelijke groet,

Johan Barelds   Good-IT!

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: postfix+cyrus+procmail- master.cf setup

2002-02-27 Thread Manuel Hendel


Where did you get this information from?

-- 
When in danger or in doubt, run in circles, scream and shout! 
-Clint's Cure-All 



postfix+cyrus+procmail- master.cf setup

2002-02-22 Thread Sandra


What is the correct value of user in  from this line in master.cf ,
when I configure it to send messages to procmail?

I have copied this example from some archive message, but
every message goes to cyrus user. What could I put to it goes
to the correct user?

Thanks in advance :


procmail  unix  -   n   n   -   -   pipe flags=R
user=cyrus argv=/usr/local/bin/procmail -p /etc/procmailrc \
 USER=${user} EXTENSION=${extension}


^


Thanks a lot!

Sandra




Cyrus+procmail

2002-02-21 Thread Sandra

Hi,

   I have cyrus-imapd-2.0.16 installed with PAM+mysql and postfix, and
I will migrate uw-imap users files to cyrus, but I have to migrate
the procmail rules too.
   And I would like to know if it's possible to install procmail instead

sieve to do the filtering function. As I'm reading in the info-cyrus
archive, it seems to be possible, but I haven't found any documentation
about it.
   Where could I get it?

   Thanks in advance.

Sandra





Re: cyrus + procmail

2001-11-22 Thread Birger Toedtmann

Joe Stump schrieb am Thu, Nov 22, 2001 at 12:43:47PM -0500:
* I'm banging my head against the table trying to get Cyrus working nicely
* with procmail. Here is my EXTREMELY simple procmailrc ...
* 
* LOGFILE=/tmp/procmaillog
* DEFAULT=$1
* 
* :0c
* | /usr/cyrus/bin/deliver "$1"
* 
* $1 is passed to procmail from my .qmail file using the -a option for procmail.
* The problem is that it TOTALLY ignores the pipe and puts it into the folder $1
* on the directory of my procmailrc. Here is my log:
* 
* From [EMAIL PROTECTED] Thu Nov 22 17:37:59 2001
*  Subject: foo
*   Folder: sales_jerum_com   473
* 
* $1 == sales_jerum_com
* 
* Any ideas?

Mmmh, why do you use $1 and $DEFAULT (aren't they folder names)?  You want 
to deliver to a *user*, not a folder...

Anyway, I utilise procmail like this and it works nicely:

:0
| /usr/cyrus/bin/deliver -e -a $LOGNAME $LOGNAME

System is a RH7x, Cyrus is 2.0.x with Sendmail as MTA.


Regards,

- Birger



cyrus + procmail

2001-11-22 Thread Joe Stump

I'm banging my head against the table trying to get Cyrus working nicely
with procmail. Here is my EXTREMELY simple procmailrc ...

LOGFILE=/tmp/procmaillog
DEFAULT=$1

:0c
| /usr/cyrus/bin/deliver "$1"

$1 is passed to procmail from my .qmail file using the -a option for procmail.
The problem is that it TOTALLY ignores the pipe and puts it into the folder $1
on the directory of my procmailrc. Here is my log:

From [EMAIL PROTECTED] Thu Nov 22 17:37:59 2001
 Subject: foo
  Folder: sales_jerum_com   473

$1 == sales_jerum_com

Any ideas?

--Joe


Joe Stump <[EMAIL PROTECTED]>

"How would this sentence be different if pi equaled 3?" 




msg04640/pgp0.pgp
Description: PGP signature