switch-off qmail-scan

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 ...


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 01-05-2005
temporary
 
Posts: n/a
Default switch-off qmail-scan

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_
_,-=(_)=-,_
' '
Reply With Quote
  #2 (permalink)  
Old 01-05-2005
temporary
 
Posts: n/a
Default Re: switch-off qmail-scan

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_
_,-=(_)=-,_
' '
Reply With Quote
  #3 (permalink)  
Old 01-06-2005
Max Andersen
 
Posts: n/a
Default Re: switch-off qmail-scan

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
Reply With Quote
  #4 (permalink)  
Old 01-06-2005
temporary
 
Posts: n/a
Default Re: switch-off qmail-scan

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_
_,-=(_)=-,_
' '
Reply With Quote
  #5 (permalink)  
Old 01-06-2005
Max Andersen
 
Posts: n/a
Default Re: switch-off qmail-scan

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

Reply With Quote
  #6 (permalink)  
Old 01-07-2005
temporary
 
Posts: n/a
Default Re: switch-off qmail-scan

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_
_,-=(_)=-,_
' '
Reply With Quote
  #7 (permalink)  
Old 01-10-2005
Max Andersen
 
Posts: n/a
Default Re: switch-off qmail-scan

temporary wrote:
>
>
> all mails are checked
>


But have you run 'qmailctl cdb' ? to reload the tcp.smtp?

Sincerely
Max
Reply With Quote
  #8 (permalink)  
Old 01-10-2005
temporary
 
Posts: n/a
Default Re: switch-off qmail-scan

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_
_,-=(_)=-,_
' '
Reply With Quote
  #9 (permalink)  
Old 01-14-2005
temporary
 
Posts: n/a
Default Re: switch-off qmail-scan SOLVED

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_
_,-=(_)=-,_
' '
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 04:07 PM.


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