Koozali.org: home of the SME Server

need help with send and receive mails

Offline davidS

  • ****
  • 80
  • +0/-0
need help with send and receive mails
« on: December 24, 2015, 06:32:25 PM »
hello
my server sme 9.1 stop sending and receiving mails
the messeges log file is
Quote
logging::logterse plugin (deny): ` 212.179.114.196   smtp05.nextopic.com   smtp05.nextopic.com   <447265616D2E647265616D636172642E636F2E696C@nextopic.com>   <desk@domar-ind.co.il>   virus::clamav   902      msg denied before queued
2015-12-24 19:19:41.183101500 4660 452 Message denied temporarily
2015-12-24 19:19:41.183506500 4660 dispatching QUIT
2015-12-24 19:19:41.183592500 4660 221 ori-comp.com closing connection. Have a wonderful day.
2015-12-24 19:19:41.183644500 4660 click, disconnecting
2015-12-24 19:19:41.222375500 2313 cleaning up after 4660
2015-12-24 19:19:41.229804500 4677 Accepted connection 1/40 from 212.179.114.196 / smtp05.nextopic.com
2015-12-24 19:19:41.229914500 4677 Connection from smtp05.nextopic.com [212.179.114.196]
2015-12-24 19:19:41.231631500 4677 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:41.234344500 4677 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:41.241562500 4677 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:42.245164500 4677 check_earlytalker plugin (connect): remote host said nothing spontaneous, proceeding
2015-12-24 19:19:42.246731500 4677 check_badcountries plugin (connect): GeoIP Country: IL
2015-12-24 19:19:42.250956500 4677 220 secureserver.ori-comp.com ESMTP
2015-12-24 19:19:42.268572500 4677 dispatching EHLO smtp05.nextopic.com
2015-12-24 19:19:42.270305500 4677 250-ori-comp.com Hi smtp05.nextopic.com [212.179.114.196]
2015-12-24 19:19:42.270317500 4677 250-PIPELINING
2015-12-24 19:19:42.270347500 4677 250-8BITMIME
2015-12-24 19:19:42.270403500 4677 250-SIZE 35000000
2015-12-24 19:19:42.270404500 4677 250 STARTTLS
2015-12-24 19:19:42.284382500 4677 dispatching STARTTLS
2015-12-24 19:19:42.284502500 4677 220 Go ahead with TLS
2015-12-24 19:19:42.361565500 4677 tls plugin (unrecognized_command): TLS setup returning
2015-12-24 19:19:42.376466500 4677 dispatching EHLO smtp05.nextopic.com
2015-12-24 19:19:42.376825500 4677 250-ori-comp.com Hi smtp05.nextopic.com [212.179.114.196]
2015-12-24 19:19:42.376836500 4677 250-PIPELINING
2015-12-24 19:19:42.376846500 4677 250-8BITMIME
2015-12-24 19:19:42.376857500 4677 250 SIZE 35000000
2015-12-24 19:19:42.391313500 4677 dispatching MAIL FROM:<447265616D2E647265616D636172642E636F2E696C@nextopic.com> SIZE=17262
2015-12-24 19:19:42.391427500 4677 full from_parameter: FROM:<447265616D2E647265616D636172642E636F2E696C@nextopic.com> SIZE=17262
2015-12-24 19:19:42.400732500 4677 getting mail from <447265616D2E647265616D636172642E636F2E696C@nextopic.com>
2015-12-24 19:19:42.400745500 4677 250 <447265616D2E647265616D636172642E636F2E696C@nextopic.com>, sender OK - how exciting to get mail from you!
2015-12-24 19:19:42.400894500 4677 dispatching RCPT TO:<desk@domar-ind.co.il>
2015-12-24 19:19:42.484052500 4677 dnsbl plugin (rcpt): Whitelisthelo not found
2015-12-24 19:19:42.484053500 4677 dnsbl plugin (rcpt): Whitelistsender not found
2015-12-24 19:19:45.221108500 4677 check_goodrcptto plugin (rcpt): stripping '-' extensions
2015-12-24 19:19:45.237619500 4677 250 <desk@domar-ind.co.il>, recipient ok
2015-12-24 19:19:45.237795500 4677 dispatching DATA
2015-12-24 19:19:45.237962500 4677 354 go ahead
2015-12-24 19:19:45.271230500 4677 spooling message to disk
2015-12-24 19:19:46.260898500 4677 spamassassin plugin (data_post): check_spam: Yes, hits=3.5, required=3.0, tests=DKIM_SIGNED,DKIM_VALID,HTML_IMAGE_RATIO_02,HTML_MESSAGE,MIME_HTML_ONLY,RP_MATCHES_RCVD,SPF_PASS,SUBJ_ALL_CAPS,T_REMOTE_IMAGE
2015-12-24 19:19:46.261050500 4677 virus::clamav plugin (data_post): Changing permissions on file to permit scanner access
2015-12-24 19:19:46.263207500 4677 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1450977585:4677:0: Access denied. ERROR
2015-12-24 19:19:46.263222500 4677 virus::clamav plugin (data_post): ClamAV error: /usr/bin/clamdscan --stdout  --config-file=/etc/clamd.conf --no-summary /var/spool/qpsmtpd/1450977585:4677:0 2>&1: 2
2015-12-24 19:19:46.263223500
2015-12-24 19:19:46.263460500 4677 logging::logterse plugin (deny): ` 212.179.114.196   smtp05.nextopic.com   smtp05.nextopic.com   <447265616D2E647265616D636172642E636F2E696C@nextopic.com>   <desk@domar-ind.co.il>   virus::clamav   902      msg denied before queued
2015-12-24 19:19:46.263537500 4677 452 Message denied temporarily
2015-12-24 19:19:46.263976500 4677 dispatching QUIT
2015-12-24 19:19:46.264075500 4677 221 ori-comp.com closing connection. Have a wonderful day.
2015-12-24 19:19:46.264117500 4677 click, disconnecting
2015-12-24 19:19:47.228039500 2313 cleaning up after 4677
2015-12-24 19:19:56.038270500 4709 Accepted connection 0/40 from 194.90.201.16 / mmmailgw16.mymarketing.co.il
2015-12-24 19:19:56.038361500 4709 Connection from mmmailgw16.mymarketing.co.il [194.90.201.16]
2015-12-24 19:19:56.039260500 4709 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:56.040590500 4709 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:56.046737500 4709 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:57.050452500 4709 check_earlytalker plugin (connect): remote host said nothing spontaneous, proceeding
2015-12-24 19:19:57.051247500 4709 check_badcountries plugin (connect): GeoIP Country: IL
2015-12-24 19:19:57.053399500 4709 220 secureserver.ori-comp.com ESMTP
2015-12-24 19:19:57.073951500 4709 dispatching EHLO mmmailgw16.mymarketing.co.il
2015-12-24 19:19:57.074800500 4709 250-ori-comp.com Hi mmmailgw16.mymarketing.co.il [194.90.201.16]
2015-12-24 19:19:57.074801500 4709 250-PIPELINING
2015-12-24 19:19:57.074810500 4709 250-8BITMIME
2015-12-24 19:19:57.074811500 4709 250-SIZE 35000000
2015-12-24 19:19:57.074825500 4709 250 STARTTLS
2015-12-24 19:19:57.089129500 4709 dispatching MAIL FROM:<Special=leumicard.co.il@atmailsvr.net> BODY=7BIT
2015-12-24 19:19:57.089243500 4709 full from_parameter: FROM:<Special=leumicard.co.il@atmailsvr.net> BODY=7BIT
2015-12-24 19:19:57.098065500 4709 getting mail from <Special=leumicard.co.il@atmailsvr.net>
2015-12-24 19:19:57.098090500 4709 250 <Special=leumicard.co.il@atmailsvr.net>, sender OK - how exciting to get mail from you!
2015-12-24 19:19:57.098143500 4709 dispatching RCPT TO:<ISAAC@MAS123.ORG>
2015-12-24 19:19:57.461150500 4709 dnsbl plugin (rcpt): Whitelisthelo not found
2015-12-24 19:19:57.461152500 4709 dnsbl plugin (rcpt): Whitelistsender not found
2015-12-24 19:19:57.463372500 4709 check_goodrcptto plugin (rcpt): stripping '-' extensions
2015-12-24 19:19:57.481992500 4709 250 <ISAAC@MAS123.ORG>, recipient ok
2015-12-24 19:19:57.482087500 4709 dispatching DATA
2015-12-24 19:19:57.482248500 4709 354 go ahead
2015-12-24 19:19:58.012260500 4709 spooling message to disk
2015-12-24 19:19:59.263424500 4709 spamassassin plugin (data_post): check_spam: No, hits=-3.3, required=3.0, tests=DKIM_SIGNED,DKIM_VALID,HTML_IMAGE_RATIO_02,HTML_MESSAGE,MPART_ALT_DIFF,RCVD_IN_DNSWL_NONE,RCVD_IN_IADB_LISTED,RCVD_IN_IADB_OPTIN,RCVD_IN_IADB_RDNS,RCVD_IN_IADB_SPF,RCVD_IN_IADB_VOUCHED,SPF_PASS,T_REMOTE_IMAGE
2015-12-24 19:19:59.263561500 4709 virus::clamav plugin (data_post): Changing permissions on file to permit scanner access
2015-12-24 19:19:59.265704500 4709 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1450977598:4709:0: Access denied. ERROR
2015-12-24 19:19:59.265719500 4709 virus::clamav plugin (data_post): ClamAV error: /usr/bin/clamdscan --stdout  --config-file=/etc/clamd.conf --no-summary /var/spool/qpsmtpd/1450977598:4709:0 2>&1: 2
2015-12-24 19:19:59.265720500
2015-12-24 19:19:59.265953500 4709 logging::logterse plugin (deny): ` 194.90.201.16   mmmailgw16.mymarketing.co.il   mmmailgw16.mymarketing.co.il   <Special=leumicard.co.il@atmailsvr.net>   <ISAAC@MAS123.ORG>   virus::clamav   902      msg denied before queued
2015-12-24 19:19:59.266029500 4709 452 Message denied temporarily
2015-12-24 19:19:59.301794500 4709 dispatching QUIT
2015-12-24 19:19:59.301915500 4709 221 ori-comp.com closing connection. Have a wonderful day.
2015-12-24 19:19:59.301940500 4709 click, disconnecting
2015-12-24 19:19:59.333292500 2313 cleaning up after 4709
2015-12-24 19:19:59.337536500 4716 Accepted connection 1/40 from 194.90.201.16 / mmmailgw16.mymarketing.co.il
2015-12-24 19:19:59.337607500 4716 Connection from mmmailgw16.mymarketing.co.il [194.90.201.16]
2015-12-24 19:19:59.338529500 4716 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:59.339940500 4716 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2015-12-24 19:19:59.346604500 4716 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4

and the qpsmtpd log file is
Quote
Dec 24 19:08:52 secureserver HORDE[2684]: [turba] Could not instantiate the localsql source: DB Error: connect failed [pid 2684 on line 348 of "/home/httpd/html/horde/turba/lib/Turba.php"]
Dec 24 19:08:52 secureserver HORDE[2683]: [turba] Could not instantiate the localsql source: DB Error: connect failed [pid 2683 on line 348 of "/home/httpd/html/horde/turba/lib/Turba.php"]
Dec 24 19:08:54 secureserver HORDE[2687]: [imp] The alarm backend is not currently available: DB Error: connect failed [pid 2687 on line 323 of "/home/httpd/html/horde/lib/Horde/Alarm.php"]
Dec 24 19:09:01 secureserver HORDE[2687]: [imp] The alarm backend is not currently available: DB Error: connect failed [pid 2687 on line 323 of "/home/httpd/html/horde/lib/Horde/Alarm.php"]
HORDE[2683]: [turba] Could not instantiate the localsql source: DB Error: connect failed [pid 2683 on line 348 of "/home/httpd/html/horde/turba/lib/Turba.php"]
Dec 24 19:09:28 secureserver mysql.init: waiting for mysqld to restart
Dec 24 19:09:29 secureserver HORDE[2683]: [turba] DB Error: no such table: SELECT object_id, owner_id, object_type, object_members, object_uid, object_firstname, object_lastname, object_middlenames, object_nameprefix, object_namesuffix, object_alias, object_bday, object_spouse, object_anniversary, object_children, object_photo, object_phototype, object_homestreet, object_homepob, object_homecity, object_homeprovince, object_homepostalcode, object_homecountry, object_workstreet, object_workpob, object_workcity, object_workprovince, objec
Dec 24 19:09:29 secureserver HORDE[2683]: t_workpostalcode, object_workcountry, object_tz, object_email, object_homephone, object_workphone, object_cellphone, object_fax, object_pager, object_title, object_role, object_company, object_logo, object_logotype, object_category, object_notes, object_url, object_freebusyurl, object_pgppublickey, object_smimepublickey FROM turba_objects WHERE (owner_id = 'mas1@ori-comp.com' AND (((LOWER(object_nameprefix) LIKE LOWER('sibony88@gmail.com%') OR LOWER(object_nameprefix) LIKE LOWER('% sibony88@gmai
Dec 24 19:09:29 secureserver HORDE[2683]: l.com%')) OR (LOWER(object_firstname) LIKE LOWER('sibony88@gmail.com%') OR LOWER(object_firstname) LIKE LOWER('% sibony88@gmail.com%')) OR (LOWER(object_middlenames) LIKE LOWER('sibony88@gmail.com%') OR LOWER(object_middlenames) LIKE LOWER('% sibony88@gmail.com%')) OR (LOWER(object_lastname) LIKE LOWER('sibony88@gmail.com%') OR LOWER(object_lastname) LIKE LOWER('% sibony88@gmail.com%')) OR (LOWER(object_namesuffix) LIKE LOWER('sibony88@gmail.com%') OR LOWER(object_namesuffix) LIKE LOWER('% sibon
Dec 24 19:09:29 secureserver HORDE[2683]: y88@gmail.com%'))))) [nativecode=1146 ** Table 'horde.turba_objects' doesn't exist] [pid 2683 on line 173 of "/home/httpd/html/horde/turba/lib/Driver/sql.php"]
Dec 24 19:09:33 secureserver HORDE[2683]: [imp] Failed to send data [SMTP: Invalid response code received from server (code: 452, response: Message denied temporarily)] [pid 2683 on line 754 of "/home/httpd/html/horde/imp/lib/Compose.php"]
Dec 24 19:09:34 secureserver HORDE[2683]: [imp] DB Error: no such table: SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal FROM horde_alarms WHERE alarm_dismissed = 0 AND ((alarm_snooze IS NULL AND alarm_start <= '2015-12-24 19:09:33') OR alarm_snooze <= '2015-12-24 19:09:33') AND (alarm_end IS NULL OR alarm_end >= '2015-12-24 19:09:33') AND (alarm_uid IS NULL OR alarm_uid = '' OR alarm_uid = 'mas1@ori-comp.com') ORDER BY alarm_start, alarm_end [nativec
Dec 24 19:09:34 secureserver HORDE[2683]: ode=1146 ** Table 'horde.horde_alarms' doesn't exist] [pid 2683 on line 323 of "/home/httpd/html/horde/lib/Horde/Alarm.php"]

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: need help with send and receive mails
« Reply #1 on: December 24, 2015, 06:50:14 PM »
hi..

you have at least 2 problems:
- mysql is not running or you're missing a database
- clamd is unable to scan emails

just guessing, but the issues let me thing you've something wrong with your fs

can you take a look at /var/log/messages, /var/log/dmesg?

can you tell us something about your server history?

P.S. Xmas.. we could not answer you in real time ;-)

Offline davidS

  • ****
  • 80
  • +0/-0
Re: need help with send and receive mails
« Reply #2 on: December 25, 2015, 12:02:09 AM »
happy Xmas  :-P
thank you for your quick reply
i followed this post http://forums.contribs.org/index.php?topic=51515.15
now everything is back to normal
thank you  :-D :-D