From: "Алексей Синицын" <asinitsinster@gmail.com> To: "ALT Linux Community" <community@lists.altlinux.org> Subject: [Comm] postfix & smtp_auth Date: Wed, 22 Nov 2006 20:02:45 +0300 Message-ID: <a1b0b2150611220902s78ff8927k9fda3c4d21514c3@mail.gmail.com> (raw) Доброго времени суток. Под авторизацией имеется в виду авторизация локального постфикса у smtp провайдера. Сюда а не в сисадмин потому, что для меня это десктопная задача, а две домашних машины - это не админство. Со времен диалапа почта отправляется через локальный транспорт. Вторая (кроме привычки и удобства) причина использования postfix - на машине жены интернет через прокси (думать о безопасности неохота). Но почтовый сервер провайдера стал требовать авторизации. Нашел описание, где описывалось так: /etc/postfix/main.cf relayhost = mail.overta.ru #defer_transports = smtp smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth smtp_sasl_security_options = noanonymous /etc/postfix/smtp_auth #[provaider.net] username:password [mail.overta.ru] a.sinitsin@overta.ru:пароль При этом, при попытке отправить почту выхоит вот такой лог: Nov 22 19:48:39 wind postfix/pickup[11436]: 4CD4561496: uid=500 from=<a.sinitsin@gmail.com> Nov 22 19:48:39 wind postfix/cleanup[18338]: 4CD4561496: message-id=<200611221948.38803.a.sinitsin@gmail.com> Nov 22 19:48:39 wind postfix/qmgr[11437]: 4CD4561496: from=<a.sinitsin@gmail.com>, size=671, nrcpt=1 (queue active) Nov 22 19:48:50 wind postfix/smtp[18340]: warning: mail.overta.ru[217.65.208.5] offered AUTH option multiple times Nov 22 19:48:50 wind postfix/smtp[18340]: warning: mail.overta.ru[217.65.208.5] offered AUTH option multiple times Nov 22 19:48:52 wind postfix/smtp[18340]: 4CD4561496: to=<a.sinitsin@gmail.com>, relay=mail.overta.ru[217.65.208.5], delay=13, status=bounced (host mail.overta.ru[217.65.208.5] said: 571 a.sinitsin@gmail.com prohibited. We do not relay (in reply to RCPT TO command)) Nov 22 19:48:54 wind postfix/cleanup[18338]: 9A8DE62692: message-id=<20061122164854.9A8DE62692@wind.wood> Nov 22 19:48:54 wind postfix/qmgr[11437]: 9A8DE62692: from=<>, size=2458, nrcpt=1 (queue active) Nov 22 19:48:54 wind postfix/qmgr[11437]: 4CD4561496: removed Nov 22 19:49:05 wind postfix/smtp[18340]: warning: mail.overta.ru[217.65.208.5] offered AUTH option multiple times Nov 22 19:49:05 wind postfix/smtp[18340]: warning: mail.overta.ru[217.65.208.5] offered AUTH option multiple times Nov 22 19:49:07 wind postfix/smtp[18340]: 9A8DE62692: to=<a.sinitsin@gmail.com>, relay=mail.overta.ru[217.65.208.5], delay=13, status=bounced (host mail.overta.ru[217.65.208.5] said: 571 a.sinitsin@gmail.com prohibited. We do not relay (in reply to RCPT TO command)) Nov 22 19:49:09 wind postfix/qmgr[11437]: 9A8DE62692: removed Админ который заведует этим почтовым сервером сказал что у него в логе неудачные попыки авторизиции. На мой конфиг сказал, что зная сендмайл, но не зная постфикс хочет убрать скобки из /etc/postfix/smtp_auth. При указании mail.overta.ru a.sinitsin@overta.ru:пароль лог получился такой: Nov 22 19:55:21 wind postfix/pickup[18841]: 8EA4161496: uid=500 from=<a.sinitsin@gmail.com> Nov 22 19:55:21 wind postfix/cleanup[18866]: 8EA4161496: message-id=<200611221955.21119.a.sinitsin@gmail.com> Nov 22 19:55:21 wind postfix/qmgr[18842]: 8EA4161496: from=<a.sinitsin@gmail.com>, size=671, nrcpt=1 (queue active) Nov 22 19:55:32 wind postfix/smtp[18868]: warning: mail.overta.ru[217.65.208.5] offered AUTH option multiple times Nov 22 19:55:32 wind postfix/smtp[18868]: warning: mail.overta.ru[217.65.208.5] offered AUTH option multiple times Nov 22 19:55:37 wind postfix/smtp[18868]: 8EA4161496: to=<a.sinitsin@gmail.com>, relay=mail.overta.ru[217.65.208.5], delay=16, status=deferred (Authentication failed: SASL authentication failed; server mail.overta.ru[217.65.208.5] said: 535 (515) incorrect password or account name) Не использует-ли кто нибудь такую отправку почты, и если кто есть - сравните, plz, со своими конфигами. При отправке из kmail с авторизацией (без шифрования, авторизация - plain) - письма уходят.
next reply other threads:[~2006-11-22 17:02 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-11-22 17:02 Алексей Синицын [this message] 2006-11-22 21:26 ` Yura Kalinichenko 2006-11-23 16:30 ` Алексей Синицын 2006-11-23 17:17 ` Yura Kalinichenko 2006-11-23 17:35 ` Алексей Синицын 2006-11-23 19:51 ` Yura Kalinichenko 2006-11-24 13:03 ` Алексей Синицын 2006-11-28 14:13 ` [Comm] pptptunnel Konstantin Polanskiy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=a1b0b2150611220902s78ff8927k9fda3c4d21514c3@mail.gmail.com \ --to=asinitsinster@gmail.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git