Solved

simscan and outlook issue

Posted on 2009-05-05
9
603 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:Redimido
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:
Redimido 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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:Redimido
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:Redimido
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now