This is a discussion on switch-off qmail-scan within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hallo, is possible to switch-off the qmail-scanner for outgoing e-mails? Like spamassassin is turned off for relayed ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm sorry.
I'd like to switch-off clamav for outgoing e-mails. One of possibility can be switch-off all qmail-scanner for relayed hosts. Sufficient solition is switch-off clamav only. temporary wrote: > Hallo, > > is possible to switch-off the qmail-scanner for outgoing e-mails? Like > spamassassin is turned off for relayed hosts > > thanx. > > -- temporary ICQ :: 131713994 mail :: temporary (at) jannovak (dot) cz _o_ _,-=(_)=-,_ ' ' |
|
|||
|
temporary wrote:
> I'm sorry. > I'd like to switch-off clamav for outgoing e-mails. One of possibility > can be switch-off all qmail-scanner for relayed hosts. Both can be done. 1. Just edit the qmailscanner perl script to NOT use the clamav-scanner, or reconfigure the qmailscanner, and specify what scanners you wan't qmailscanner to use. Then copy the perl script to whereever you need it. It's all described thoroughly in the documentation, so don't panic :) You can also remove clamav, and reconfigure, and qmailscanner searches for what scanners you have installed. 2. Edit the tcp.smtp file to use the qmailscanner="" as an option. Sincerely Max |
|
|||
|
Max Andersen wrote:
> temporary wrote: > >> I'm sorry. >> I'd like to switch-off clamav for outgoing e-mails. One of possibility >> can be switch-off all qmail-scanner for relayed hosts. > > > Both can be done. > > 1. Just edit the qmailscanner perl script to NOT use the clamav-scanner, > or reconfigure the qmailscanner, and specify what scanners you wan't > qmailscanner to use. Then copy the perl script to whereever you need it. > It's all described thoroughly in the documentation, so don't panic :) > You can also remove clamav, and reconfigure, and qmailscanner searches > for what scanners you have installed. > Yes, I know about it in the /var/qmail/bin/qmail-scanner-queue.pl is possible setup which scanners use ... but I want to switch-off just only outgoing mails scanning, NOT incoming. I found in documentation, how to switch-off scanning per domain. Its cool for incoming, but not for me:(( > 2. Edit the tcp.smtp file to use the qmailscanner="" as an option. ? I don't understand this step can you paste me a documentation sources where you found configurations ? Thanx a lot !!! > > Sincerely > Max -- temporary ICQ :: 131713994 mail :: temporary (at) jannovak (dot) cz _o_ _,-=(_)=-,_ ' ' |
|
|||
|
temporary wrote:
> Max Andersen wrote: > >> temporary wrote: >> >>> I'm sorry. >>> I'd like to switch-off clamav for outgoing e-mails. One of >>> possibility can be switch-off all qmail-scanner for relayed hosts. >> >> >> >> Both can be done. >> >> 1. Just edit the qmailscanner perl script to NOT use the >> clamav-scanner, or reconfigure the qmailscanner, and specify what >> scanners you wan't qmailscanner to use. Then copy the perl script to >> whereever you need it. >> It's all described thoroughly in the documentation, so don't panic :) >> You can also remove clamav, and reconfigure, and qmailscanner searches >> for what scanners you have installed. >> > Yes, I know about it > in the /var/qmail/bin/qmail-scanner-queue.pl is possible setup which > scanners use ... > > but I want to switch-off just only outgoing mails scanning, NOT incoming. > I found in documentation, how to switch-off scanning per domain. Its > cool for incoming, but not for me:(( > >> 2. Edit the tcp.smtp file to use the qmailscanner="" as an option. > > ? I don't understand this step > > can you paste me a documentation sources where you found configurations ? > After I've installed qmailscanner, the qmail-queue is replaced with qmailscanner, as it states in the /etc/tcp.smtp file ex: :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" You might wan't to change that line to look like your 127. line, and simply remove the QMAILQUEUE. my 127 line looks like this: 127.:allow,RELAYCLIENT="" that means that my servers mail doesn't get checked for vira when sending mails. Just replace the 127. with a single host or a network, and woops, you're there. ex: (exchange x's with ip-address) xxx.xxx.xxx.xxx:allow Sincerely Max |
|
|||
|
Max Andersen wrote:
> temporary wrote: > >> Max Andersen wrote: >> >>> temporary wrote: >>> >>>> I'm sorry. >>>> I'd like to switch-off clamav for outgoing e-mails. One of >>>> possibility can be switch-off all qmail-scanner for relayed hosts. >>> >>> >>> >>> >>> Both can be done. >>> >>> 1. Just edit the qmailscanner perl script to NOT use the >>> clamav-scanner, or reconfigure the qmailscanner, and specify what >>> scanners you wan't qmailscanner to use. Then copy the perl script to >>> whereever you need it. >>> It's all described thoroughly in the documentation, so don't panic :) >>> You can also remove clamav, and reconfigure, and qmailscanner >>> searches for what scanners you have installed. >>> >> Yes, I know about it >> in the /var/qmail/bin/qmail-scanner-queue.pl is possible setup which >> scanners use ... >> >> but I want to switch-off just only outgoing mails scanning, NOT incoming. >> I found in documentation, how to switch-off scanning per domain. Its >> cool for incoming, but not for me:(( >> >>> 2. Edit the tcp.smtp file to use the qmailscanner="" as an option. >> >> >> ? I don't understand this step >> >> can you paste me a documentation sources where you found configurations ? >> > > After I've installed qmailscanner, the qmail-queue is replaced with > qmailscanner, as it states in the /etc/tcp.smtp file > > ex: > :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" > > You might wan't to change that line to look like your 127. line, and > simply remove the QMAILQUEUE. > > my 127 line looks like this: > 127.:allow,RELAYCLIENT="" mail:~# cat /etc/tcp.smtp 127.:allow,RELAYCLIENT="" 192.168.1.:allow,RELAYCLIENT="" so I have it all without the QMAILQUEUE=".. mail:~# cat /service/qmail-smtpd/run #!/bin/sh QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` LANG=C export LANG if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi if [ ! -f /var/qmail/control/rcpthosts ]; then echo "No /var/qmail/control/rcpthosts!" echo "Refusing to start SMTP listener because it'll create an open relay" exit 1 fi exec /usr/local/bin/softlimit -m 60000000 \ /usr/local/bin/tcpserver -v -R -H -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd mail.tld \ /home/vpopmail/bin/vchkpw /usr/bin/true 2>&1 > > that means that my servers mail doesn't get checked for vira when > sending mails. all mails are checked > > Just replace the 127. with a single host or a network, and woops, you're > there. > > ex: (exchange x's with ip-address) > xxx.xxx.xxx.xxx:allow > > Sincerely > Max > -- temporary ICQ :: 131713994 mail :: temporary (at) jannovak (dot) cz _o_ _,-=(_)=-,_ ' ' |
|
|||
|
Max Andersen wrote:
> temporary wrote: > >> >> >> all mails are checked >> > > But have you run 'qmailctl cdb' ? to reload the tcp.smtp? sure, i did. I don't know where can be specified this options. I found solution how switch off qmail-scan programs (spamassassin, clamav, parl-scan) throught /var/spool/qmailscan/scanners_per_domain.db, but there is terrible to specify all domains :)) I have problem with undelivered mail attachements for any domains. It is realy strange problem, If sender sends bcc for 50+ recipients any of them didn't receave the attachement (still same three domains). but if the recipients are alone in To: Cc: or Bcc: the mail si delivered correct :( I thought about switch off any scanning outgoing e-mails, because only one place in MTA chain where is manipulate with email content is qmail-scanner. Thanx You Max wery much for Your energii :)) > Sincerely > Max -- temporary ICQ :: 131713994 mail :: temporary (at) jannovak (dot) cz _o_ _,-=(_)=-,_ ' ' |
|
|||
|
temporary wrote:
> Hallo, > > is possible to switch-off the qmail-scanner for outgoing e-mails? Like > spamassassin is turned off for relayed hosts > > thanx. > > cat /etc/tcp.smtp 192.168.1.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-queue" 127.0.0.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" head /service/qmail-smtpd/run #!/bin/sh #QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" #export QMAILQUEUE QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` .. .. .. .. -- temporary ICQ :: 131713994 mail :: temporary (at) jannovak (dot) cz _o_ _,-=(_)=-,_ ' ' |
![]() |
| Thread Tools | |
| Display Modes | |
|
|