-
04.03.2010, 18:08
#1

Member
Relaying denied. Proper authentication required.
Не доходит почта. Ошибка такая:
ruleset=check_rcpt, arg1=<zakaz@test.ru>, relay=forward9.mail.yandex.net [77.88.61.48], reject=550 5.7.1 … <b>Relaying denied. Proper authentication required.</b>
Mar 3 23:10:28 animelove sendmail[29975]: o23KASP2029975: from=, size=1223, class=0, nrcpts=0, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=forward9.mail.yandex.net [77.88.61.48]пс письма с этого ящика должны перенаправляться на другой (в настройках указал)
В тех поддержке хостера ответили:
<i>Здравствуйте, это говорит о том что при отправке была не верно указана авторизационная информация. пропишите в почтовом клиенте для сервера исходящей почты теже логин и пароль как для входящей.</i>
Т.к. все эти дела должны делаться через вашу панель за которую я плачу. Я прошу Вас решить это проблему. Сказать мне куда зайти и что отредактировать.
А там в панели я всё сделал правильно — создал почтовый домен, создал почтовый ящик. Раньше я так делал и всё работало. И там другие ящики продолжают нормально работать.Последний раз редактировалось Set; 04.03.2010 в 21:58.
-
04.03.2010, 19:32
#2

ISPsystem team

Если в Почтовые домены создан домен, а выдает такую ошибку когда почта приходит на сервер извне, то вероятнее всего у вас просто не перезапустился sendmail, перезапустите его в Сервисы.
-
04.03.2010, 21:58
#3

Member

- Remove From My Forums
-
Question
-
I have just started receiving the following error while trying to send to one particular domain. We have sent to this domain in the past. It just started today.
The following recipient(s) cannot be reached:
jhiggins@otherdomain.com on 5/13/2008 10:56 AM
You do not have permission to send to this recipient. For assistance, contact your system administrator.
<mail.mydomain.com #5.7.1 smtp;550 5.7.1 jhiggins@otherdomain>… Relaying denied. Proper authentication required.
I understand how relay errors occur while trying to send email through one’s ISP from another domain; however this seems to be coming from our own Exchanger Server 2003.
I had this error a couple of weeks ago to a different domain, again, it appeared out of the blue after having sent emails to that domain. I added all internal IPs to the allowed relay and that seemed to fix it.
Any help?
Thanks.
Mike
I am an absolute newB on sendmail, now I installed sendmail, configured it (as far as i know) added localhost-names, added access entries added virtuser entry, opened port 25 in iptables.
My DNS is pointing to my server!
Now when I connect from another location on the internet, and use telnet server.com 25 and use manual SMTP commands (HELO, MAIL From etc) the mail goes and arrives and gets put to the right user. but When I use another client and it’s relayed by (for example google) I get this error back:
Relaying denied. Proper authentication required. (state 14).
What setting did I forget? Any config files I need to post so you can help me?
I use CentOS 5.5 and the latest sendmail rpm
local-host-names:
localhost
localhost.localdomain
footballmatcher.com
access:
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
footballmatcher.com OK
domaintable = empty
mailertable = empty
trustedusers = empty
virtusertable = empty
sendmail.mc (extract from webmin, so firt line word is not real)
Entry type Line in configuration file Move
Other divert(-1)dnl
Other dnl #
Other dnl # This is the sendmail macro config file for m4. If you make changes to
Other dnl # /etc/mail/sendmail.mc, you will need to regenerate the
Other dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
Other dnl # installed and then performing a
Other dnl #
Other dnl # make -C /etc/mail
Other dnl #
Other include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
Other VERSIONID(`setup for linux')dnl
OS Type OSTYPE(`linux')dnl
Other dnl #
Other dnl # Do not advertize sendmail version.
Other dnl #
Other dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl
Other dnl #
Other dnl # default logging level is 9, you might want to set it higher to
Other dnl # debug the configuration
Other dnl #
Other dnl define(`confLOG_LEVEL', `9')dnl
Other dnl #
Other dnl # Uncomment and edit the following line if your outgoing mail needs to
Other dnl # be sent out through an external mail server:
Other dnl #
Other dnl define(`SMART_HOST', `smtp.your.provider')dnl
Other dnl #
Define define(`confDEF_USER_ID', ``8:12'')dnl
Other dnl define(`confAUTO_REBUILD')dnl
Define define(`confTO_CONNECT', `1m')dnl
Define define(`confTRY_NULL_MX_LIST', `True')dnl
Define define(`confDONT_PROBE_INTERFACES', `True')dnl
Define define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
Define define(`ALIAS_FILE', `/etc/aliases')dnl
Define define(`STATUS_FILE', `/var/log/mail/statistics')dnl
Define define(`UUCP_MAILER_MAX', `2000000')dnl
Define define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
Define define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
Define define(`confAUTH_OPTIONS',`A')
Other dnl #
Other dnl # The following allows relaying if the user authenticates, and disallows
Other dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
Other dnl #
Other dnl #
Other dnl # PLAIN is the preferred plaintext authentication method and used by
Other dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
Other dnl # use LOGIN. Other mechanisms should be used if the connection is not
Other dnl # guaranteed secure.
Other dnl # Please remember that saslauthd needs to be running for AUTH.
Other dnl #
Other TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
Define define(`confAUTH_MECHANISMS',`LOGIN PLAIN')
Other dnl #
Other dnl # Rudimentary information on creating certificates for sendmail TLS:
Other dnl # cd /etc/pki/tls/certs; make sendmail.pem
Other dnl # Complete usage:
Other dnl # make -C /etc/pki/tls/certs usage
Other dnl #
Other dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl
Other dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl
Other dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl
Other dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
Other dnl #
Other dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
Other dnl # slapd, which requires the file to be readble by group ldap
Other dnl #
Other dnl define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl
Other dnl #
Other dnl define(`confTO_QUEUEWARN', `4h')dnl
Other dnl define(`confTO_QUEUERETURN', `5d')dnl
Other dnl define(`confQUEUE_LA', `12')dnl
Other dnl define(`confREFUSE_LA', `18')dnl
Define define(`confTO_IDENT', `0')dnl
Other dnl FEATURE(delay_checks)dnl
Feature FEATURE(`no_default_msa', `dnl')dnl
Feature FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
Feature FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
Feature FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
Feature FEATURE(redirect)dnl
Feature FEATURE(always_add_domain)dnl
Feature FEATURE(use_cw_file)dnl
Feature FEATURE(use_ct_file)dnl
Other dnl #
Other dnl # The following limits the number of processes sendmail can fork to accept
Other dnl # incoming messages or process its message queues to 20.) sendmail refuses
Other dnl # to accept connections once it has reached its quota of child processes.
Other dnl #
Other dnl define(`confMAX_DAEMON_CHILDREN', `20')dnl
Other dnl #
Other dnl # Limits the number of new connections per second. This caps the overhead
Other dnl # incurred due to forking new sendmail processes. May be useful against
Other dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP address
Other dnl # limit would be useful but is not available as an option at this writing.)
Other dnl #
Other dnl define(`confCONNECTION_RATE_THROTTLE', `3')dnl
Other dnl #
Other dnl # The -t option will retry delivery if e.g. the user runs over his quota.
Other dnl #
Feature FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
Feature FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
Feature FEATURE(`blacklist_recipients')dnl
Other EXPOSED_USER(`root')dnl
Other dnl #
Other dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery uncomment
Other dnl # the following 2 definitions and activate below in the MAILER section the
Other dnl # cyrusv2 mailer.
Other dnl #
Other dnl define(`confLOCAL_MAILER', `cyrusv2')dnl
Other dnl define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
Other dnl #
Other dnl # The following causes sendmail to only listen on the IPv4 loopback address
Other dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
Other dnl # address restriction to accept email from the internet or intranet.
Other dnl #
Other DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl
Other dnl #
Other dnl # The following causes sendmail to additionally listen to port 587 for
Other dnl # mail from MUAs that authenticate. Roaming users who can't reach their
Other dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
Other dnl # this useful.
Other dnl #
Other dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
Other dnl #
Other dnl # The following causes sendmail to additionally listen to port 465, but
Other dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed
Other dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't
Other dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS
Other dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps
Other dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1.
Other dnl #
Other dnl # For this to work your OpenSSL certificates must be configured.
Other dnl #
Other dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
Other dnl #
Other dnl # The following causes sendmail to additionally listen on the IPv6 loopback
Other dnl # device. Remove the loopback address restriction listen to the network.
Other dnl #
Other dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl
Other dnl #
Other dnl # enable both ipv6 and ipv4 in sendmail:
Other dnl #
Other dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6')
Other dnl #
Other dnl # We strongly recommend not accepting unresolvable domains if you want to
Other dnl # protect yourself from spam. However, the laptop and users on computers
Other dnl # that do not have 24x7 DNS do need this.
Other dnl #
Feature FEATURE(`accept_unresolvable_domains')dnl
Other dnl #
Other dnl FEATURE(`relay_based_on_MX')dnl
Other dnl #
Other dnl # Also accept email sent to "localhost.localdomain" as local email.
Other dnl #
Other LOCAL_DOMAIN(`localhost.localdomain')dnl
Other dnl #
Other dnl # The following example makes mail from this host and any additional
Other dnl # specified domains appear to be sent from mydomain.com
Other dnl #
Other dnl MASQUERADE_AS(`mydomain.com')dnl
Other dnl #
Other dnl # masquerade not just the headers, but the envelope as well
Other dnl #
Other dnl FEATURE(masquerade_envelope)dnl
Other dnl #
Other dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
Other dnl #
Other dnl FEATURE(masquerade_entire_domain)dnl
Other dnl #
Other dnl MASQUERADE_DOMAIN(localhost)dnl
Other dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
Other dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
Other dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
Mailer MAILER(smtp)dnl
Mailer MAILER(procmail)dnl
Other dnl MAILER(cyrusv2)dnl
Что такое ошибка 550 5.7.1?
A 550 5.7.1 Обычно относится к IP отправки электронной почты, в настоящее время заблокирован от службы электронной почты получателя. Обычно он заблокирован, потому что IP использовался для отправки спама в IP получателя в один момент времени. Если этот пример в том случае, сервис электронной почты получателя блокирует IP из будущего спама и уведомляет любых отправителей с 550 — 5.7.1kick-Back-Back где-то в возвращенной электронной почте.
Внесен ли мой IP в черный список?
Просто потому, что вы получили ошибку 550 — 5.7.1, не означает, что ваш IP заблокирован. Тем не менее, все еще хорошая практика, чтобы проверить ваш IP для черной списки и текущей репутации, если вы получили ошибку 550 для проверки. Обратите внимание, что это не IP-адрес от вашего локального компьютера, а IP вашего хостинга сервера.
Инструменты для проверки черного списка:
- MXToolBox: https://mxtoolbox.com/blacklists.aspx
- MultiRBL.valli.org Проверка черного списка: https://multirbl.valli.org/
Инструменты для репутации IP:
- Сайрен: https://www.cyren.com/security-center/ip-reputation-check
- Талос: https://talosintelligence.com/reputation_center
Немедленные шаги
Важно понимать, почему эта ошибка возникает и принимает профилактические меры для обеспечения того, чтобы это было разрешено как можно быстрее. Мы предлагаем выполнять следующее:
- Измените пароли вашей учетной записи электронной почты в безопасный пароль
- Обновите любые приложения, которые вы используете для своих услуг веб-хостинга.
- Удалите все неиспользованные приложения, которые вы больше не используете
- Выполните проверку на вирусы на вашем компьютере
Если вы сделали эти шаги, и ваш IP возвращается в черный список, пожалуйста, откройте билет с нашей технической поддержкой, чтобы удалить IP из черного списка с любыми соответствующими заголовками электронной почты от этих сообщений Back Back.
Как убрать ошибку 550 5.7.1?
К сожалению, если ваш IP не заблокирован, требуется запрос «делист» на почтовую службу получателя.Это включает в себя форму с необходимой информацией, которая должна быть представлена, объясняя их сервис, в настоящее время блокирует IP, и вы хотите, чтобы он был разблокирован.Форма делиста отличается для каждой почтовой службы (пример, Outlook, Gmail) и после отправки, она зависит от текущей почтовой службы для разблокировки IP из своего списка.
Каждая почтовая почта имеет свою собственную отдельную форму для заполнения для делистирования. HOVEDWINDS ТЕХНИЧЕСКАЯ ПОДДЕРЖКА СДЕЛАНО СДЕЛАННАЯ СДЕЛАТЬ С ЗАПРЕДУЮЩЕМУ НЕДЕСТИЦИИ ВАШЕГО IP при открытии билета и запрашивающейся IP-адресом для любого из ваших управляемых услуг, таких как общий хостинг, бизнес-хостинг, управляемый Linux, управляемый Windows или выделенный сервер.
Сколько времени займет запрос на удаление после отправки?
Это может варьироваться в зависимости от результатов вашей репутации IP. Важно отметить, что запрос исключительно в руках услуги делиста. Если IP никогда не передается из их сервиса, и сам IP не подключен к черной списке, ошибка 550 7.5.1 будет продолжать быть подкрепленным.
Если мы можем помочь вам в любом случае, пожалуйста, отправьте билет или присоединяйтесь к нам в IveChat в любое время.Мы доступны 24/7/365, и мы посвящены успеху нашего клиента;Каждый клиент действительно имеет значение для нас.
Написано Hostwinds Team / апреля 5, 2018
- Remove From My Forums
-
Question
-
Hi all,
I have built a windows service that sends mail from a database table using smtp. This worked fine until we moved to a new ISP. This ISP requires simple smtp authentication. I built this into my service. But still I get problems. I discussed with the ISP
what could be the problem, eventually I got it to work using telnet. On my own program though, it still doesn’t work. I get the following error:Error: Mailbox unavailable. The server response was: 5.7.1 <mark@silverstar-it.nl>… Relaying denied. Proper authentication required.
The code I use to send mail:
Dim MailMsg As New MailMessage(New MailAddress(«address@domain.nl»), New MailAddress(«mark@anotherdomain.nl»))
MailMsg.BodyEncoding = Encoding.Default
MailMsg.Subject = «Onderwerp»
MailMsg.Body = «Mailbody»
MailMsg.Priority = MailPriority.Normal
MailMsg.IsBodyHtml = True‘Smtpclient to send the mail message
Dim SmtpMail As New SmtpClient
SmtpMail.Host = My.Settings.SMTPServer
If My.Settings.SMTPUser.Length > 0 Then
Dim basicAuthenticationInfo As New System.Net.NetworkCredential(My.Settings.SMTPUser, My.Settings.SMTPPass)
SmtpMail.UseDefaultCredentials = False
SmtpMail.Credentials = basicAuthenticationInfo
End IfSmtpMail.Send(MailMsg)
A log of a succesfull telnet session:
500 5.5.1 Command unrecognized: «»
EHLO surveynet.nl
250-smtp-c1n2.argeweb.nl Hello host-195-46-37-155.argeweb.nl [195.46.37.155], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-STARTTLS
250-DELIVERBY
250 HELP
AUTH LOGIN
334 VXNlcm5hbWU6
*********************
334 UGFzc3dvcmQ6
*********************
235 2.0.0 OK Authenticated
MAIL FROM:no-reply@surveynet.nl
250 2.1.0 no-reply@surveynet.nl… Sender ok
RCPT TO:mark@silverstar-it.nl
250 2.1.5 mark@domain.nl… Recipient ok
DATA
354 Enter mail, end with «.» on a line by itself
test
.
250 2.0.0 o7CEaRDc063953 Message accepted for deliveryDoes anybody have any ideas? I’m out of ideas 🙁
Thanks in advance,
Mark
Answers
-
Hi Wendell,
I forgot all about this thread. We finally decided to set up our own smtp server on the virtual machine which hosts the application. This because the ISP could not help me further with the problem.
Thanks for your response.
Mark
-
Marked as answer by
Friday, September 24, 2010 9:46 AM
-
Marked as answer by