[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix_tls enable



On Sat, Mar 18, 2006 at 01:18 +0300, ln-s wrote:
> Sergey Korobitsin пишет:
> 
> >On Thu, Mar 16, 2006 at 20:59 +0300, ln-s wrote:
> > 
> >
> >>Sergey Korobitsin пишет:
> >>
> >>   
> >>
> >>>Как активировать сабж из поставки саржа?
> >>>В конфиге postfix указано отправлять на smtp с sasl-auth, так вот, после 
> >>>установки сабжа этот самый sasl-auth должен как бы появиться... Но:
> >>>Mar 14 23:17:18 zver postfix/qmgr[7633]: 0B4F41BAF8: 
> >>>from=<undertaker@gnu.kz>, size=424, nrcpt=1 (queue active)
> >>>Mar 14 23:17:19 zver postfix/smtp[7639]: warning: SASL authentication 
> >>>failure: No worthy mechs found
> >>>Mar 14 23:17:19 zver postfix/smtp[7639]: 0B4F41BAF8: 
> >>>to=<tha_undertaker@topmail.kz>, relay=mail.gnu.kz[195.82.30.187], 
> >>>delay=790, status=deferred (Authentication failed: cannot SASL 
> >>>authenticate to server mail.gnu.kz[195.82.30.187]: no mechanism 
> >>>available)
> >>>
> >>>
> >>>
> >>>
> >>>     
> >>>
> >>howtoforge.org
> >>в разделе дебиан и в разделе постфикс
> >>вот про постфикс http://howtoforge.org/virtual_postfix_mysql_quota_courier
> >>если припечет пиши лично кину рабочие конфиги ....
> >>
> >>
> >>-- 
> >>To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
> >>with a subject of "unsubscribe". Trouble? Contact 
> >>listmaster@lists.debian.org
> >>   
> >>
> >
> >Слушай, я уже и сокет скормил чруту постфикса, а он, сволочь,
> >все ту же гадость в конфиги пишет :(
> >
> >И еще один момент - мне сасл нужен для smtp, а не для smtpd.
> >
> >Кинь в меня конфигами плз, а то я затрахался уже.
> >
> >И еще - это нормально?
> >
> >
> >undertaker@zver:~$ ps ax | grep -i sasl
> >2963 ?        Ss     0:00 /usr/sbin/saslauthd -m 
> >/var/spool/postfix/var/run/saslauthd -r -a shadow
> >2965 ?        S      0:00 /usr/sbin/saslauthd -m 
> >/var/spool/postfix/var/run/saslauthd -r -a shadow
> >2966 ?        S      0:00 /usr/sbin/saslauthd -m 
> >/var/spool/postfix/var/run/saslauthd -r -a shadow
> >2967 ?        S      0:00 /usr/sbin/saslauthd -m 
> >/var/spool/postfix/var/run/saslauthd -r -a shadow
> >2968 ?        S      0:00 /usr/sbin/saslauthd -m 
> >/var/spool/postfix/var/run/saslauthd -r -a shadow
> >Аттачу + свои конфиги.
> > 
> >
> >------------------------------------------------------------------------
> >
> >queue_directory = /var/spool/postfix
> >command_directory = /usr/sbin
> >daemon_directory = /usr/libexec/postfix
> >mail_owner = postfix
> >myhostname = zver.machine
> >mydomain = machine
> >inet_interfaces = all
> >mynetworks = 127.0.0.0/8
> >relayhost = mail.gnu.kz
> >defer_transport = smtp
> >alias_maps = hash:/etc/postfix/aliases
> >alias_database = hash:/etc/postfix/aliases
> >mailbox_command = /usr/bin/procmail
> >smtpd_banner = Mega puper smtp on $myhostname by Undertaker
> >sendmail_path = /usr/sbin/sendmail
> >newaliases_path = /usr/bin/newaliases
> >mailq_path = /usr/bin/mailq
> >setgid_groups = postdrop
> >html_directory = no
> >readme_directory = no
> >myorigin = /etc/mailname
> >mydestination = $myhostname, localhost.$mydomain, $mydomain
> >smtp_sasl_auth_enable = yes
> >smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> > 
> >
> >------------------------------------------------------------------------
> >
> ># This needs to be uncommented before saslauthd will be run automatically
> >START=yes
> >
> ># You must specify the authentication mechanisms you wish to use.
> ># This defaults to "pam" for PAM support, but may also include
> ># "shadow" or "sasldb", like this:
> ># MECHANISMS="pam shadow"
> >
> >MECHANISMS="shadow"
> >PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
> > 
> >
> да, при smtp -
> 
> вид /etc/postfix/sasl_passwd
> куда-то.там username:password
> у тебя как?

Все так.

Дело в том, что постфис не цепляет сасл (см. логи выше) 
> 
> -- 
> To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org

-- 
|------------------------------------------------------------|
| Best regards, Sergey Korobitsin,                           |
| the young Free & OpenSource software and Debian enthusiast |
| from Kazakhstan                                            |
|------------------------------------------------------------|

--
Сила ночи, сила дня -
Одинаково х**ня! (с)Пелевин

--
Жизнь есть средство повышения организации материи...



Reply to: