".qmail" for all users

This is a discussion on ".qmail" for all users within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hello again Is there any file like .qmail but which will aplly for all users? I want to add " | ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-06-2006
Pawel Rutkowski
 
Posts: n/a
Default ".qmail" for all users

Hello again

Is there any file like .qmail but which will aplly for all users?
I want to add " | command " for all emails for all users

--
Pawel Rutkowski
GG 6963975
Tel. 0605926657


Reply With Quote
  #2 (permalink)  
Old 08-06-2006
AK
 
Posts: n/a
Default Re: ".qmail" for all users

Pawel Rutkowski wrote:

> Hello again
>
> Is there any file like .qmail but which will aplly for all users?
> I want to add " | command " for all emails for all users
>


Of course, Pawel. This is part of the directive for the dafaut delivery
mechanism and would depend on your qmail's setup.

See http://www.lifewithqmail.org if it is not the process you followed
to install qmail. You can reference the directive for the qmail-start
process At times that is in an rc file. i.e. instead of ./Maildir you
can have |something.

AK
Reply With Quote
  #3 (permalink)  
Old 08-07-2006
Pawel Rutkowski
 
Posts: n/a
Default Re: ".qmail" for all users


> Of course, Pawel. This is part of the directive for the dafaut delivery
> mechanism and would depend on your qmail's setup.
>
> See http://www.lifewithqmail.org if it is not the process you followed to
> install qmail. You can reference the directive for the qmail-start
> process At times that is in an rc file. i.e. instead of ./Maildir you can
> have |something.
>


I don't understand qmail.

It work(in local user .qmail):
|qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
../Maildir/


So I change in /etc/init.d/qmail
line:
qmail-start ./Maildir/ splogger qmail &
to:
qmail-start '|qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
../Maildir/' splogger qmail &
to:
qmail-start `|qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
../Maildir/` splogger qmail &
to:
qmail-start |qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
../Maildir/ splogger qmail &

and it's not work:(
I saw in process:
qmail-lspawn |qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
../Maildir/
Any sugesstion?

Thanks
Pawel Rutkowski


Reply With Quote
  #4 (permalink)  
Old 08-08-2006
AK
 
Posts: n/a
Default Re: ".qmail" for all users

Pawel Rutkowski wrote:

>>Of course, Pawel. This is part of the directive for the dafaut delivery
>>mechanism and would depend on your qmail's setup.
>>
>>See http://www.lifewithqmail.org if it is not the process you followed to
>>install qmail. You can reference the directive for the qmail-start
>>process At times that is in an rc file. i.e. instead of ./Maildir you can
>>have |something.
>>

>
>
> I don't understand qmail.
>
> It work(in local user .qmail):
> |qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/
>
>
> So I change in /etc/init.d/qmail
> line:
> qmail-start ./Maildir/ splogger qmail &
> to:
> qmail-start '|qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/' splogger qmail &
> to:
> qmail-start `|qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/` splogger qmail &
> to:
> qmail-start |qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/ splogger qmail &
>
> and it's not work:(
> I saw in process:
> qmail-lspawn |qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/
> Any sugesstion?
>
> Thanks
> Pawel Rutkowski
>
>


Instead of that, use rblsmtpd.

You would need to patch rblsmtpd with a patch to make it work with A
records.

Then in the qmail-smtpd you would alter the run script to something
similar to:
/usr/local/bin/rblsmtpd -b -r bl.spamcannibal.org \
/var/qmail/bin/qmail-smtpd

Using this, your bandwidth will not be wasted by the data. A connection
from a server that is listed by the RBL list will be permanently
rejected during the SMTP session.

Which version of ucspi-tcp, daemontools are you using?
see http://www.lifewithqmail.org
using multilog is better.


AK
Reply With Quote
  #5 (permalink)  
Old 08-08-2006
Andreas F. Borchert
 
Posts: n/a
Default Re: ".qmail" for all users

On 2006-08-07, Pawel Rutkowski <rutekp@moja-poczta.com.pl> wrote:
> So I change in /etc/init.d/qmail
> line:
> qmail-start ./Maildir/ splogger qmail &
> to:
> qmail-start '|qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/' splogger qmail &


This looks ok but you have to note that this is just the defaultdelivery
that is passed on to qmail-local, i.e. any ~/.qmail files that exist
take precedence.

> to:
> qmail-start `|qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/` splogger qmail &


These are back-ticks, they cause the shell that sees this command line to
invoke qmail-rblck immediately. And the shell will complain that a command
named ./Maildir/ does not exist. Please check out sh(1) or bash(1).

> to:
> qmail-start |qmail-rblchk -l /var/log/spam/log -r bl.spamcannibal.org
> ./Maildir/ splogger qmail &


This sets up a pipeline that feeds the standard output of qmail-start
to qmail-rblchk. This does not make sense and the shell will complain
again that ./Maildir/ does not exist.

These are shell scripts. You need to be familiar with the shell. Otherwise
you are entirely lost if you are using Unix or Linux.

Andreas.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0