LINUX.ORG.RU
ФорумAdmin

Немогу настроить sendmail на AUTH real host


0

0

Немогу настроить sendmail как слиент с AUTH=LOGIN Что я пробовал: #1 O AuthMechanisms=LOGIN O DefaultAuthInfo=/etc/mail/default-auth-info O AuthOptions=A cat /etc/mail/default-auth-info AuthInfo:informaispmail.png.ws.xxxxx.com "U:loewa@wsinf.xxxx.com" "I:loewa" "P:XXXXX" "M:LOGIN" #2 cat /etc/mail/access localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY AuthInfo:informaispmail.png.ws.xxxxx.com "U:loewa@wsinf.xxxx.com" "I:loewa" "P:XXXXX" "M:LOGIN" #3 (This section has been written by Benji Fisher. Thanks!)

If you are using sendmail only to transfer e-mail from your local computer to a mail server that requires SMTP AUTH, follow these instructions. They assume that sendmail 8.12 or later, and other software, is already installed on your computer. You should probably be logged in as root to perform these steps. Change directory to where your sendmail configuration files (sendmail.mc and sendmail.cf) are located, usually /etc/mail/. Create a safe subdirectory (suggested name auth/):

# mkdir auth # chmod 600 auth Create a file with your authentication information (suggested name auth/client-info):

AuthInfo:your.isp.net "U:root" "I:user" "P:password" filling in your ISP's mail server, your user name, and your password. (Note: Earthlink, and perhaps other ISP's, requires your full e-mail address as a user name.) Generate the authentication database and make both files readable only by root:

# cd auth # makemap hash client-info < client-info # chmod 600 client-info* # cd .. Add the following lines to your sendmail.mc file, filling in your ISP's mail server:

define(`SMART_HOST',`your.isp.net')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl

Результат один: loewa@informaispmail.wsinf.xxxxx.com... Connecting to informaispmail.png.ws.xxxxx.com. via relay... 220 informaispmail.wsinf.xxxxx.com ESMTP Service (Lotus Domino Release 5.0.9a) ready at Thu, 5 May 2005 08:28:12 +0600 >>> EHLO pngaismonitor.png.ws.xxxxx.com 250-informaispmail.wsinf.xxxxx.com Hello pngaismonitor.png.ws.xxxxx.com ([172.26.140.37]), pleased to meet you 250-HELP 250-AUTH=LOGIN 250-SIZE 250 PIPELINING >>> QUIT 221 informaispmail.wsinf.xxxxx.com SMTP Service closing transmission channel lvov@informaispmail.wsinf.xxxxx.com... Deferred: Temporary AUTH failure Closing connection to informaispmail.png.ws.xxxxx.com. Гдето я чтото пропускаю..... Где ?????? sendmail-8.12.9 cyrus-sasl-1.5.28

На cyrus-sasl-1.5.28 наложен патч для работы sendmail-8.12.9 c методом LOGIN

Ктонибудь подскажите уже немогу и ничего в голову не лезет...:(


Почемуто неправельно отрабатывает конец строки у меня Opera 8

loewa
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.