Re: [vchkpw] processing .qmail files for all users

2005-06-14 Thread Casey Allen Shobe
On Wednesday 25 May 2005 17:34, Tom Collins wrote: Modifying the source to vdeliermail is also an option. If, for example, you wanted to read the headers of the message and save it in a special mailbox for the domain if it's spam (or even save it in an IMAP mailbox for the user), it would

Re: [vchkpw] processing .qmail files for all users

2005-05-26 Thread Tom Collins
On May 25, 2005, at 9:23 PM, Payal Rathod wrote: Yes this is exactly what I am asking. If there is a file .qmail-payal or payal/.qmail why would .qmail-default be seen? So my script won't run. qmail-local will process .qmail-payal. vdelivermail is not involved. But, for payal/.qmail,

Re: [vchkpw] processing .qmail files for all users

2005-05-26 Thread Tom Collins
On May 25, 2005, at 3:15 PM, Flavio Curti wrote: Isn't the problem that if you have a .qmail in the doman directory (like .qmail-fcu) the mail is never seen by vpopmail or the script, because qmail-local will do the delivery itself? You're right. I was assuming that the OP was only talking

Re: [vchkpw] processing .qmail files for all users

2005-05-26 Thread Payal Rathod
On Wed, May 25, 2005 at 11:11:22PM -0700, Tom Collins wrote: On May 25, 2005, at 3:15 PM, Flavio Curti wrote: Isn't the problem that if you have a .qmail in the doman directory (like .qmail-fcu) the mail is never seen by vpopmail or the script, because qmail-local will do the delivery itself?

Re: [vchkpw] processing .qmail files for all users

2005-05-26 Thread Tom Collins
On May 26, 2005, at 8:57 AM, Payal Rathod wrote: Sorry to be annoying, but I just cannot get a clear idea. e.g. below, #pwd /home/vpopmail/domains/example.net Now if I make a .qmail-default file there with, | /path/to/script and I have .qmail-rp and rp/.qmail with [EMAIL PROTECTED] which

Re: [vchkpw] processing .qmail files for all users

2005-05-26 Thread Rick Macdougall
Payal Rathod wrote: On Wed, May 25, 2005 at 11:11:22PM -0700, Tom Collins wrote: On May 25, 2005, at 3:15 PM, Flavio Curti wrote: Isn't the problem that if you have a .qmail in the doman directory (like .qmail-fcu) the mail is never seen by vpopmail or the script, because qmail-local will

Re: [vchkpw] processing .qmail files for all users

2005-05-26 Thread Payal Rathod
On Thu, May 26, 2005 at 09:21:37AM -0700, Tom Collins wrote: [EMAIL PROTECTED] which .qmail-* file will be used for user rp? .qmail-rp. qmail-local will find and use that file before it uses .qmail-default. Thanks Rick and Tom for the patience shown here. If you didn't have a .qmail-rp,

Re: [vchkpw] processing .qmail files for all users

2005-05-26 Thread Tom Collins
On May 26, 2005, at 9:48 AM, Payal Rathod wrote: Now, my question is what will be the contents of .qmail default if, - rp/.qmail is present - and if rp/.qmail is not present and I want to execute my script. .qmail-default: |/path/to/your/script |/home/vpopmail/bin/vdelivermail ''

Re: [vchkpw] processing .qmail files for all users

2005-05-25 Thread Payal Rathod
On Tue, May 24, 2005 at 01:10:29PM -0700, Tom Collins wrote: On May 24, 2005, at 9:24 AM, Payal Rathod wrote: But qmail-default is not looked at when the user has a .qmail file of her own, maybe for forwarding mails or something like that. What do I do in such case? Yes it does. [...] You

Re: [vchkpw] processing .qmail files for all users

2005-05-25 Thread Tom Collins
On May 25, 2005, at 9:52 AM, Payal Rathod wrote: On Tue, May 24, 2005 at 01:10:29PM -0700, Tom Collins wrote: On May 24, 2005, at 9:24 AM, Payal Rathod wrote: But qmail-default is not looked at when the user has a .qmail file of her own, maybe for forwarding mails or something like that. What

Re: [vchkpw] processing .qmail files for all users

2005-05-25 Thread Flavio Curti
Hi Tom On 5/25/05, Tom Collins [EMAIL PROTECTED] wrote: If you want the SAME string for all users in a domain, you can insert that at the top of the .qmail-default file for the domain. Qmail-local will run the email through your script before passing it to vdelivermail for local delivery.

Re: [vchkpw] processing .qmail files for all users

2005-05-25 Thread Payal Rathod
On Thu, May 26, 2005 at 12:15:07AM +0200, Flavio Curti wrote: Hi Tom On 5/25/05, Tom Collins [EMAIL PROTECTED] wrote: If you want the SAME string for all users in a domain, you can insert that at the top of the .qmail-default file for the domain. Qmail-local will run the email through

[vchkpw] processing .qmail files for all users

2005-05-24 Thread Payal Rathod
Hi, In a qmail + vpopmail setup, I would like to run, | /path/to/script in .qmail file for all users. Is there any eay way of doing it? With warm regards, -Payal

Re: [vchkpw] processing .qmail files for all users

2005-05-24 Thread Anders Brander
Hi, On Tue, 2005-05-24 at 12:04 -0400, Payal Rathod wrote: In a qmail + vpopmail setup, I would like to run, | /path/to/script in .qmail file for all users. Is there any eay way of doing it? You can do it in the .qmail-default file. Change: | /path/to/vpopmail/vdelivermail ''

Re: [vchkpw] processing .qmail files for all users

2005-05-24 Thread Payal Rathod
On Tue, May 24, 2005 at 06:17:46PM +0200, Anders Brander wrote: Hi, On Tue, 2005-05-24 at 12:04 -0400, Payal Rathod wrote: In a qmail + vpopmail setup, I would like to run, | /path/to/script in .qmail file for all users. Is there any eay way of doing it? You can do it in the

Re: [vchkpw] processing .qmail files for all users

2005-05-24 Thread Anders Brander
Hi again, On Tue, 2005-05-24 at 12:24 -0400, Payal Rathod wrote: In a qmail + vpopmail setup, I would like to run, | /path/to/script in .qmail file for all users. Is there any eay way of doing it? You can do it in the .qmail-default file. Change: |

Re: [vchkpw] processing .qmail files for all users

2005-05-24 Thread Tom Collins
On May 24, 2005, at 9:24 AM, Payal Rathod wrote: But qmail-default is not looked at when the user has a .qmail file of her own, maybe for forwarding mails or something like that. What do I do in such case? Yes it does. qmail-local delivers via .qmail-default to vdelivermail which parses the