On Tue, Jul 09, 2002 at 03:00:51PM +1200, Nick Rout wrote: > on my system postfix passes mail to procmail with the variable > $CYRUSUSER set to the user to deliver to (say, nick). > later in procmail.global are lines like: > include /path/to/procmail.$CYRUSUSER > and the fall thru > | $DELIVER -e -a $CYRUSUSER -m user.$CYRUSUSER
i got a bit confused here. it seems you are describing actually a cyrus configfile to control procmail, which is processed before procmail is even started. the procmail syntax to include files is INCLUDERC=/path/to/procmail.$CYRUSUSER the reason i am wondering is, that it depends on who reads the file to determine what solution is the best one. (i was about to search some procmail examples for a solution that does not require external programs (procmail is somewhat of a programminglanguage after all) but that would not seem to help you) > Trouble is some idiots (an automated mail server) is capitalising the > user name and sending to NICK rather than nick, causing the delivery and > the include file to fail. well, that's life. email is caseinsensitive. and come to think about it, filesnames should be too. (that would solve your problem as well :-) greetings, martin. -- i am looking for a job anywhere in the world, doing pike programming, caudium/pike/roxen training, roxen/caudium and/or unix system administration. -- pike programmer (www.archlab|(www|db).hb2).tuwien.ac.at unix (iaeste|bahai).or.at iaeste.tuwien.ac.at systemadministrator (stuts|black.linux-m68k).org is.(schon.org|root.at) Martin B"ahr http://www.iaeste.or.at/~mbaehr/
