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 " | ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
> 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 |
|
|||
|
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 |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|