.qmail-default file ignored, qmail working great otherwise -- help!
I have a working qmail server that's been running fine for a year. It handles over a hundred virtual domains. I have lots of .qmail-xxx files for forwarding and delivering incoming mail to specific mailboxes and it's all been working fine. I'm trying to set up a filter that reads incoming mail. I wrote the filter, tested it at the command line, then installed it in my .qmail-default file in my home directory: # .qmail-default |/bin/python mailfilter.py ./Maildir/ When I send mail to myself it goes to my maildir but the filter isn't executed. In fact NOTHING I put in the .qmail-default file is executed. I tried: |touch /home/greg/qmail-was-here But that didn't do anything, either. On my server qmail is running with ./Maildir/ as the default delivery option (from the qmail-start command). As best I can tell the .qmail-default file in my home directory is not even looked at when delivering mail, but all of the other .qmail-xxx-default files for the virtual domains are working. All of the .qmail-* files in my home directory are owned by user greg and have the same permissions: rwxr--r--. Mail delivery is working; messages go into my Maildir just fine. I have reloaded and restarted qmail. My virtualdomains and rcpthosts files are correct, and my local domain is in both files. The server routinely receives and delivers mail to local users. Any ideas are welcome. Thanks! = Greg Jorgensen Deschooling Society Portland, Oregon, USA [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
Re: .qmail-default file ignored, qmail working great otherwise -- help!
> "Greg" == Greg Jorgensen <[EMAIL PROTECTED]> writes: Greg> When I send mail to myself it goes to my maildir but the filter Greg> isn't executed. In fact NOTHING I put in the .qmail-default Greg> file is executed. Do the logs say anything? -- "Windows isn't a virus, viruses do something."
Re: .qmail-default file ignored, qmail working great otherwise -- help!
--- Brett Randall <[EMAIL PROTECTED]> wrote: > > "Greg" == Greg Jorgensen <[EMAIL PROTECTED]> writes: > > Greg> When I send mail to myself it goes to my maildir but the filter > Greg> isn't executed. In fact NOTHING I put in the .qmail-default > Greg> file is executed. > > Do the logs say anything? I didn't see anything unusual in the qmail logs or the system log (/var/logs/messages). = Greg Jorgensen Deschooling Society Portland, Oregon, USA [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
Re: .qmail-default file ignored, qmail working great otherwise -- help!
> "Greg" == Greg Jorgensen <[EMAIL PROTECTED]> writes: >> Do the logs say anything? Greg> I didn't see anything unusual in the qmail logs or the system Greg> log (/var/logs/messages). This is going to sound extremely crazy, but just asking cos I can... is there a .qmail-greg file in ~alias? AND is greg a system user? AND is there a user called greg in any of your virtual domains? -- "SOFTWARE, n.: Formal evening attire for female computer analysts." - The Devil's Dictionary to Computer Studies
Re: .qmail-default file ignored, qmail working great otherwise -- help!
Greg Jorgensen <[EMAIL PROTECTED]> wrote: >I'm trying to set up a filter that reads incoming mail. I wrote the >filter, tested it at the command line, then installed it in my >.qmail-default file in my home directory: > ># .qmail-default >|/bin/python mailfilter.py >./Maildir/ > >When I send mail to myself it goes to my maildir but the filter isn't >executed. In fact NOTHING I put in the .qmail-default file is >executed. I tried: > >|touch /home/greg/qmail-was-here > >But that didn't do anything, either. Sounds like your .qmail-default isn't being used. What address are you sending to? Your .qmail-default should catch all username-something addresses (unless there's a .qmail-something file). If you're just sending to "username", that'll be handled by .qmail, not .qmail-default. -Dave
RE: .qmail-default file ignored, qmail working great otherwise -- help!
hi, may be i am barking the wrong tree, but: > All of the .qmail-* files in my home directory are owned by user greg and have > the same permissions: rwxr--r--. never heard about x in dot-qmail files. are you sure the other dot-qmails do really work? ;) a == Alexander Jernejcic email:[EMAIL PROTECTED] begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs I am a Signature, not a Virus! end ==
Re: .qmail-default file ignored, qmail working great otherwise -- help!
> may be i am barking the wrong tree, but: > > > All of the .qmail-* files in my home directory are owned by user greg and have > > the same permissions: rwxr--r--. > never heard about x in dot-qmail files. In which case you might want to read the dot-qmail man page. Especially the line that starts with: " If .qmail has the execute bit set, it must not contain any... It'll tell you what to do. Regards.
RE: .qmail-default file ignored, qmail working great otherwise -- help!
ok, should have remebered this line... --snip-- If .qmail has the execute bit set, it must not contain any program lines, mbox lines, or maildir lines. If qmail-local sees any such lines, it will stop and indicate a temporary failure. --snip-- but, nevertheless it say's no program lines - or am i wrong again? ;( a > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 25, 2000 9:13 PM > To: [EMAIL PROTECTED] > Subject: Re: .qmail-default file ignored, qmail working great otherwise > -- help! > > > > may be i am barking the wrong tree, but: > > > > > All of the .qmail-* files in my home directory are owned by user greg and have > > > the same permissions: rwxr--r--. > > never heard about x in dot-qmail files. > > In which case you might want to read the dot-qmail man page. Especially > the line that starts with: > > " If .qmail has the execute bit set, it must not contain any... > > It'll tell you what to do. > > > Regards. > >
Re: .qmail-default file ignored, qmail working great otherwise -- help!
On Wed, Oct 25, 2000 at 09:39:48PM +0200, Alexander Jernejcic wrote: > ok, should have remebered this line... > --snip-- > If .qmail has the execute bit set, it must not contain any > program lines, mbox lines, or maildir lines. If qmail-local > sees any such lines, it will stop and indicate a temporary > failure. > --snip-- > but, nevertheless it say's no program lines - or am i wrong again? Has your .qmail-default got any of "program lines, mbox lines, or maildir lines" in it? If not, what has it got in it? I think qmail-local is ignoring your .qmail-default because it has the execute bit set. Why not try chmod -x ~/.qmail* and see what happens? Regards. > > ;( a > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 25, 2000 9:13 PM > > To: [EMAIL PROTECTED] > > Subject: Re: .qmail-default file ignored, qmail working great otherwise > > -- help! > > > > > > > may be i am barking the wrong tree, but: > > > > > > > All of the .qmail-* files in my home directory are owned by user greg and have > > > > the same permissions: rwxr--r--. > > > never heard about x in dot-qmail files. > > > > In which case you might want to read the dot-qmail man page. Especially > > the line that starts with: > > > > " If .qmail has the execute bit set, it must not contain any... > > > > It'll tell you what to do. > > > > > > Regards. > > > >