Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: mgb on September 15, 2014, 10:46:39 AM

Title: Can't send email SME 7.5
Post by: mgb on September 15, 2014, 10:46:39 AM
hi the stop send mail 
 outlook = SMTP,   '550 Relaying denied (#5.7.1)',  : 465,  (SSL):‏  : 550,  : 0x800CCC79
log /var/log/qmail
@4000000054168535397caeb4 end msg 2624646
@400000005416855c015996b4 new msg 2624646
@400000005416855c0159b9dc info msg 2624646: bytes 850 from
<admin@mydomain> qp 29130 uid 453
@.il
@40000000541687711b38aa84 status: local 2/10 remote 1/20
@40000000541687711b38be0c delivery 362: success: forward:_qp_29315/did_0+0+1/
@40000000541687711b38d57c status: local 1/10 remote 1/20
@400000005416877126bdc72c delivery 364: success: did_1+0+1/
@400000005416877126bdea54 status: local 0/10 remote 1/20
@40000000541687712a7d3c44 end msg 2624650
@400000005416877206daff4c delivery 363: success: 74.125.71.27_accepted_message./Remote_host_said:_250_2.0.0_OK_1410762296_pj8si17345760wjb.18_-_gsmtp/
@400000005416877206db2a44 status: local 0/10 remote 0/20
@400000005416877206db5154 end msg 2624646

 config show smtpd
smtpd=service
    Authentication=disabled
    Instances=40
    InstancesPerIP=5
    MaximumDateOffset=0
    PatternsScan=enabled
    Proxy=enabled
    TCPPort=25
    TCPProxyPort=25
    VirusScan=enabled
    access=public
    status=enabled
    tnef2mime=enabled


 config show qpsmtpd
qpsmtpd=service
    Authentication=enabled
    Bcc=enabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    LogLevel=6
    MaxScannerSize=25000000
    RBLList=bl.spamcop.net:combined.njabl.org:dnsbl.ahbl.org:dnsbl-1.uceprotect.net:dnsbl-2.uceprotect.net:list.dsbl.org:multihop.dsbl.org:psbl.surriel.com:zen.spamhaus.org
    RHSBL=enabled
    RequireResolvableFromHost=no
    SBLList=bogusmx.rfc-ignorant.org:multi.surbl.org:black.uribl.com:rhsbl.sorbs.net:bulk.rhs.mailpolice.com:fraud.rhs.mailpolice.com:porn.rhs.mailpolice.com:adult.rhs.mailpolice.com:ex.dnsbl.org
    TlsBeforeAuth=1
    access=public
    qplogsumm=disabled
    status=enabled
Title: Re: Can't send email SME 7.5
Post by: Daniel B. on September 15, 2014, 10:54:15 AM
Hi mgb. You'll have to be a lot more specific in what problem you encounter "stop send mail" isn't enough. Also, you've posted in the Contribs 8.X section, and last, SME7.5 is EOL for more than a year now, you should upgrade to 8.1 (or 9) ASAP.

Regarding your problem, you should take a look to either /var/log/qpsmtpd/current or /var/log/sqpsmtpd/current (depending on the use of plain SMTP, SMTP over TLS, or SMTP over SSL on your client)
Title: Re: Can't send email SME 7.5
Post by: mgb on September 15, 2014, 11:28:29 AM
smtp

/var/log/qpsmtpd

250 STARTTLS
2014-09-15 12:19:57.225170500 5053 dispatching MAIL FROM: <insiderh@gmail.com> BODY=8BITMIME
2014-09-15 12:19:57.225179500 5053 full from_parameter: FROM: <insiderh@gmail.com> BODY=8BITMIME
2014-09-15 12:19:57.268872500 5053 getting mail from <insiderh@gmail.com>
2014-09-15 12:19:57.269285500 5053 250 <insiderh@gmail.com>, sender OK - how exciting to get mail from you!
2014-09-15 12:19:57.269906500 5053 dispatching RCPT TO:<fomin@mydomain.com>
2014-09-15 12:19:57.299561500 5053 logging::logterse plugin (deny): ` 123.22.177.85   Unknown   [123.22.177.85]   <insiderh@gmail.com>      rhsbl   901   v=spf1 a -all   msg denied before queued
2014-09-15 12:19:57.300208500 5053 550 v=spf1 a -all
2014-09-15 12:19:57.300806500 5053 dispatching DATA
2014-09-15 12:19:57.302514500 5053 503 RCPT first
2014-09-15 12:19:58.821947500 5053 dispatching QUIT
Title: Re: Can't send email SME 7.5
Post by: Stefano on September 15, 2014, 11:31:08 AM
this log has nothing to do with sending emails..
Title: Re: Can't send email SME 7.5
Post by: mgb on September 15, 2014, 11:44:44 AM
ok
/var/log/sqpsmtpd/current: Viewed at Mon Sep 15 12:38:45 2014.
2014-09-15 11:55:56.500055500 4301 tls plugin (init): ciphers: HIGH:!SSLv2
2014-09-15 11:55:56.625610500 4301 Listening on 0.0.0.0:465
2014-09-15 11:55:56.626487500 4301 Running as user qpsmtpd, group qpsmtpd
2014-09-15 11:55:56.626712500 4301 Initializing spool_dir
2014-09-15 11:55:56.686211500 4301 Permissions on spool_dir /var/spool/qpsmtpd/ are not 0700
2014-09-15 11:55:56.686751500 4301 size_threshold set to 0
2014-09-15 11:55:58.672118500 4430 Accepted connection 0/10 from 192.168.183.10 / pc-00010..k12.il
2014-09-15 11:55:58.672711500 4430 Connection from pc-00010..k12.il [192.168.183.10]
2014-09-15 11:55:58.768394500 4430 tls plugin (init): ciphers: HIGH:!SSLv2
2014-09-15 11:55:58.825826500 4430 tls plugin (connect): Connected via SMTPS
2014-09-15 11:55:58.893306500 4430 220 mx1..k12.il ESMTP
2014-09-15 11:55:59.015706500 4430 dispatching EHLO yosi
2014-09-15 11:55:59.077701500 4430 250-.k12.il Hi pc-00010..k12.il [192.168.183.10]
2014-09-15 11:55:59.077924500 4430 250-PIPELINING
2014-09-15 11:55:59.078068500 4430 250-8BITMIME
2014-09-15 11:55:59.078206500 4430 250 SIZE 10000000000
2014-09-15 11:55:59.085786500 4430 dispatching MAIL FROM: <admin@.k12.il>
2014-09-15 11:55:59.086421500 4430 full from_parameter: FROM: <admin@.k12.il>
2014-09-15 11:55:59.104902500 4430 getting mail from <admin@.k12.il>
2014-09-15 11:55:59.105243500 4430 250 <admin@.k12.il>, sender OK - how exciting to get mail from you!
2014-09-15 11:55:59.107028500 4430 dispatching RCPT TO: <yosiyosi2002@gmail.com>
2014-09-15 11:55:59.185471500 4430 logging::logterse plugin (deny): ` 192.168.183.10   pc-00010..k12.il   yosi   <admin@.k12.il>      rcpt_ok   901   Relaying denied (#5.7.1)   msg denied before queued
2014-09-15 11:55:59.186024500 4430 550 Relaying denied (#5.7.1)
2014-09-15 11:55:59.192906500 4430 dispatching QUIT
2014-09-15 11:55:59.193721500 4430 221 .k12.il closing connection. Have a wonderful day.
2014-09-15 11:55:59.194440500 4430 click, disconnecting
2014-09-15 11:55:59.508147500 4301 cleaning up after 4430
2014-09-15 11:58:20.623291500 4819 Accepted connection 0/10 from 46.121.107.28 / 46-121-107-28.static.012.net.il
2014-09-15 11:58:20.677535500 4819 Connection from 46-121-107-28.static.012.net.il [46.121.107.28]
2014-09-15 11:58:20.849989500 4819 tls plugin (init): ciphers: HIGH:!SSLv2
2014-09-15 11:58:22.085202500 4819 tls plugin (connect): Connected via SMTPS
2014-09-15 11:58:23.086712500 4819 check_earlytalker plugin (connect): remote host said nothing spontaneous, proceeding
2014-09-15 11:58:23.304000500 4819 220 mx1..k12.il ESMTP
2014-09-15 11:58:23.752957500 4819 dispatching EHLO xpq37f4
2014-09-15 11:58:23.971873500 4819 250-.k12.il Hi 46-121-107-28.static.012.net.il [46.121.107.28]
2014-09-15 11:58:23.972096500 4819 250-PIPELINING
2014-09-15 11:58:23.972234500 4819 250-8BITMIME
2014-09-15 11:58:23.972367500 4819 250 SIZE 10000000000
2014-09-15 11:58:24.005195500 4819 dispatching MAIL FROM: <revahaomer@.k12.il>
2014-09-15 11:58:24.005863500 4819 full from_parameter: FROM: <revahaomer@.k12.il>
2014-09-15 11:58:24.249111500 4819 getting mail from <revahaomer@.k12.il>
2014-09-15 11:58:24.249479500 4819 250 <revahaomer@.k12.il>, sender OK - how exciting to get mail from you!
2014-09-15 11:58:24.337919500 4819 dispatching RCPT TO: <rachels@KNESSET.GOV.IL>
2014-09-15 11:58:24.631000500 4819 logging::logterse plugin (deny): ` 46.121.107.28   46-121-107-28.static.012.net.il   xpq37f4   <revahaomer@.k12.il>      rhsbl   901   v=spf1 a -all   msg denied before queued
2014-09-15 11:58:24.631610500 4819 550 v=spf1 a -all
2014-09-15 11:58:24.666777500 4819 dispatching RSET
2014-09-15 11:58:24.668029500 4819 250 OK
2014-09-15 11:58:24.703785500 4819 dispatching MAIL FROM: <revahaomer@.k12.il>
2014-09-15 11:58:24.703794500 4819 full from_parameter: FROM: <revahaomer@.k12.il>
2014-09-15 11:58:24.742147500 4819 getting mail from <revahaomer@.k12.il>
2014-09-15 11:58:24.742477500 4819 250 <revahaomer@.k12.il>, sender OK - how exciting to get mail from you!
2014-09-15 11:58:24.774876500 4819 dispatching RCPT TO: <KerenKa@molsa.gov.il>
2014-09-15 11:58:24.782991500 4819 logging::logterse plugin (deny): ` 46.121.107.28   46-121-107-28.static.012.net.il   xpq37f4   <revahaomer@.k12.il>      rhsbl   901   v=spf1 a -all   msg denied before queued
2014-09-15 11:58:24.783458500 4819 550 v=spf1 a -all
2014-09-15 11:58:24.818267500 4819 dispatching RSET
Title: Re: Can't send email SME 7.5
Post by: Daniel B. on September 15, 2014, 11:56:18 AM
Your client simply isn't configured to auth against the SMTP server, so relaying is denied. Please adjust you account parameters to enable auth on SMTP.
Title: Re: Can't send email SME 7.5
Post by: mgb on September 15, 2014, 12:11:38 PM
SMTP authentication    Allow SSMTP (secure)
is not send mail
is not get mail Mail Delivery Subsystem <mailer-daemon@googlemail.com>


Delivery to the following recipient failed permanently:

     admin@**.k12.il

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain   .k12.il by  . .k12.il. [217.194.194.156].

The error that the other server returned was:
The error that the other server returned was:
550 v=spf1 a -all
Title: Re: Can't send email SME 7.5
Post by: Stefano on September 15, 2014, 12:14:00 PM
IIUC, you are trying to send email as user@gmail.com using your server as smtp..
recipient server is checking spf dns record which say that your server is not entitled to send emails as @gmail.com
Title: Re: Can't send email SME 7.5
Post by: CharlieBrady on September 15, 2014, 05:08:40 PM
IIUC, you are trying to send email as user@gmail.com using your server as smtp..
recipient server is checking spf dns record which say that your server is not entitled to send emails as @gmail.com

I also see messages being sent by "revahaomer@.k12.il", which is not a valid email address.
Title: Re: Can't send email SME 7.5
Post by: mgb on September 15, 2014, 06:10:01 PM
#  you are trying to send email as user@gmail.com using your server as smtp..
i send mail from myuser@gmail.com  to my sme server


1  i using smtp server sme
2  config my server to SMTP authentication    Allow SSMTP (secure)
 a : is not send mail
b: is not get mail Mail Delivery Subsystem send from myuser@gmail.com to  admin@..k12.il

b: if config SMTP authentication  Disabled
is get mail
is not send mail
Title: Re: Can't send email SME 7.5
Post by: mgb on September 16, 2014, 05:25:13 PM
My server does not send mail
If I set Send Mail
It also stops receiving mail (SMTP authentication    Allow SSMTP (secure)
)
Thanks for any help
Title: Re: Can't send email SME 7.5
Post by: mgb on September 17, 2014, 08:09:21 AM

is update to sme 9
is not send mail is not get mail
i send mail from walla. to my sme9 is not work
erro
Returned mail: see transcript for details
send : Mail Delivery Subsystem <MAILER-DAEMON@walla.com>  הוסף
 
Transcript of session follows -----
... while talking to *.k12.il.:
>>> DATA
<<< 550 v=spf1 a -all
550 5.1.1 <admin@*.k12.il>... User unknown
<<< 550 v=spf1 a -all
log sme
2014-09-17 09:16:09.771611500 2355 dispatching RCPT TO:<yosi@*.k12.il>
2014-09-17 09:16:09.772437500 2355 logging::logterse plugin (deny): ` 74.125.82.52   mail-wg0-f52.google.com   mail-wg0-f52.google.com   <yo*2002@gmail.com>      rhsbl   901   v=spf1 a -all   msg denied before queued
2014-09-17 09:16:09.772550500 2355 550 v=spf1 a -all
2014-09-17 09:16:09.863041500 2355 dispatching QUIT
2014-09-17 09:16:09.863204500 2355 221 *.k12.il closing connection. Have a wonderful day.
2014-09-17 09:16:09.863356500 2355 click, disconnecting
2014-09-17 09:16:10.607230500 1803 cleaning up after 2355
2014-09-17 09:18:58.282136500 1803 tls plugin (init): ciphers: HIGH:!SSLv2:!ADH:!aNULL:!MD5:!RC4
2014-09-17 09:18:58.283322500 1803 Initializing spool_dir
2014-09-17 09:18:58.283831500 1803 Permissions on spool_dir /var/spool/qpsmtpd/ are not 0700
2014-09-17 09:18:58.283985500 1803 size_threshold set to 0
 
Title: Re: Can't send email SME 7.5
Post by: mgb on September 17, 2014, 04:04:59 PM
Deprecated pathname /home/e-smith/spamassassin_V3 passed to _file_path()
Unable to open spamassassin configuration dbase. at /usr/local/unjunkmgr/spamfilter-statsclient.pl line 157.