Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 633
  • Last Modified:

simscan and outlook issue

Simscan issues with outlook


We had installed qmail with clamav , spamassassin & simscan. The mails are
sending and receiving fine in webmail. But when we try to send mails by  outlook  the mail is not going to sent items. Its remaining in outbox but
the mails are delivering fine. Whenever i click send/receive button in outlook
the mails are sending every time but still the mail resides in the "Outbox" of the outlook. But when i try to send the same using the THUNDER BIRD email client everything functions well .


Error Message from the outlook.

The SMTP server returned an error. Subject 'test', Account: 'qmail.abtinfo.com', Server: 'qmail.abtinfo.com', Protocol: SMTP, Server Response: 'simscan:[25194]:RELAYCLIENT:0.0486s:-:118.91.233.14ostmaster@qmail.abtinfo.com:abtonline@gmail.com', Port: 25, Secure(SSL): No, Error Number: 0x800CCC60


When simscan gets deactivated the mails there is no issue  in outlook . But the purpose of simscan does not functions.

How to fix it?
Can anybody help me

Regards,
Murali
0
nptmurali
Asked:
nptmurali
  • 4
  • 2
1 Solution
 
Gabriel OrozcoSolution ArchitectCommented:
It looks like the simscan is sending the log output to the SMTP connection. This makes outlook to reject the connection.

now to avoid this problem, it looks like simscan has a variable it needs to check:
SIMSCAN_DEBUG=0

if it is not in your startup script please add it as
export SIMSCAN_DEBUG=0

If that does still not work, you can try adding it to the command line starting the smtp service, something like
SIMSCAN_DEBUG=0 tcpserver -vR -l etc. etc. etc. etc.

I have also found some people had to hack the code to make it stop sending messages to the SMTP conversation. if the above does not work, you may need to try that:

http://osdir.com/ml/mail.qmail.simscan/2006-06/msg00003.html
0
 
nptmuraliAuthor Commented:
Hi,

  We have added the command line to the following file. Is it the correct file. or give us the correct file to
put the command line.


vi /var/qmail/supervise/qmail-smtp/run

#!/bin/sh
QMAILQUEUE="/var/qmail/bin/simscan"; export QMAILQUEUE
SIMSCAN_DEBUG=0 tcpserver -vR -l etc. etc. etc. etc.
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
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 50000000 \
/usr/local/bin/tcpserver -H -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
/var/qmail/bin/qmail-smtpd qmail1.abtinfo.com \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1



But we still cant able to send mails through outlook.  For your information we had given the error

The SMTP server returned an error. Subject 'testst', Account: 'mail.qmail1.domain.com', Server: 'mail.qmail1.domain.com', Protocol: SMTP, Server Response: 'simscan:[14110]:CLEAN (7.30/5.00):5.5544s:*****SPAM***** testst:203.199.235.135:siva@qmail1.domain.com:test@domain.com', Port: 25, Secure(SSL): No, Error Number: 0x800CCC60

0
 
Gabriel OrozcoSolution ArchitectCommented:
change
SIMSCAN_DEBUG=0 tcpserver -vR -l etc. etc. etc. etc.

for
export SIMSCAN_DEBUG=0

and try again.

if that does not work, follow the advise in the URL I gave you.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
nptmuraliAuthor Commented:
Hi,

    Still same error from the outlook after changing the command line as given below


vi /var/qmail/supervise/qmail-smtp/run

#!/bin/sh
QMAILQUEUE="/var/qmail/bin/simscan"  export QMAILQUEUE
export SIMSCAN_DEBUG=0
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
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 50000000 \
/usr/local/bin/tcpserver -H -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
/var/qmail/bin/qmail-smtpd qmail1.domain.com \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1

Also tried the given URL.


Error Message:

The SMTP server returned an error. Subject 'esetete', Account: '118.91.233.208', Server: '118.91.233.208', Protocol: SMTP, Server Response: 'simscan:[3064]:CLEAN (0.00/0.00):5.9920s:esetete:203.199.235.135:siva1@qmail1.domain.com:support@domain.com', Port: 25, Secure(SSL): No, Error Number: 0x800CCC60


Can anybody help us how to solve it?

0
 
Gabriel OrozcoSolution ArchitectCommented:
Hi

As far as I understand, with simscan you will have to hack the code yourself to avoid the problem, as said in the first comment:

I have also found some people had to hack the code to make it stop sending messages to the SMTP conversation. if the above does not work, you may need to try that:

http://osdir.com/ml/mail.qmail.simscan/2006-06/msg00003.html

I did not see yet the result from that recommendation.
0
 
Gabriel OrozcoSolution ArchitectCommented:
Unfortunately with QMail a lot of patches have to be applied to make it current and work with great add-ons

In this case the add on needs code hacking. I hope in the future this may not bee needed now that QMail has been put into the Open Source, but meanwhile a lot of bug hunting is usually done by each patch user.

This said, since we point to the solution here, I would recommend PAQ this question. Either with or without points refund. (I personally believe I put the user into the right track)

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now