Solved

simscan and outlook issue

Posted on 2009-05-05
9
613 Views
Last Modified: 2012-05-06
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
Comment
Question by:nptmurali
  • 4
  • 2
9 Comments
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 24318569
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
 

Author Comment

by:nptmurali
ID: 24333380
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
 
LVL 19

Accepted Solution

by:
Gabriel Orozco earned 500 total points
ID: 24341571
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:nptmurali
ID: 24347686
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
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 24423845
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
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 24470921
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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question