|
Re: Enable external execution in embedded mode: msg#00012mail.maildrop
On Mon, Jan 05, 2004 at 05:58:04PM +0100, Eric Persson wrote: > Devin Rubia wrote: > >>|preline maildrop -V -M .mailfilter-m1010 > >> > >>from a .qmail file, the -M should be "special embedded mode" according > >>to the man pages, or am I wrong? > >> > >>Thanks for your time Deving, I appreciate you straighting things out. :) > > > > > >Hmm, in that case, "to" should not work as you _are_ in embedded mode. > > > >Wierd. The only way "to" should be able to work in that case is with a > >file included from the maildroprcs directory as suggested by Sam. > > Very strange then, I am using the filtering stuff, but if something is > caught by a filter, I always deliver it with the to, like the following: > if( /Courier-maildrop@xxxxxxxxxxxxxxxxxxxxx/ ) > { > to > "/webmail/8/4/84deda69dc38c4a39443e9b7a8230018/Maildir/.Mailinglists.maildrop/" > } > > Maybe this is not the expected behavior? But its working very good.. :) > How would you solve this? > > And I have no maildroprcs at all, so I suppose it goes with any default > settings but the one I specified with the preline row above. I'm out of my depth here. I've never used embedded mode myself so I am not familiar with how this "should" behave. I can only assume that some or all of the restrictions on embedded mode do not apply to special embedded mode. This tidbit from the manpage especially makes me think this: <quote> -M filterfile Run maildrop in a special embedded mode. The -d option is implied when -M is used, and if absent it defaults to the userid running maildrop. </quote> If the "-d" option is implied then that further implies that delivery options are available, however, the section in the maildrop manpage on embedded mode states that this is not the case. Question for Sam: Are there differences in the command restrictions between -m and -M ? -- Devin ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Enable external execution in embedded mode: 00012, Eric Persson |
|---|---|
| Next by Date: | Re: maildrop and spamc: 00012, Thomas Hug |
| Previous by Thread: | Re: Enable external execution in embedded modei: 00012, Eric Persson |
| Next by Thread: | ldap fixes for maildrop: 00012, Christopher Seawood |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |