??? ???? ?? ??????? - ?????? ?????? ???????????? ?????/?????? ? ?????????
sendmail ?? ????? ?????, ??????????? ?? ???? ??????, ?????????? ?? IP-??????,
? ???????? ?????? ????????????. ?????????? ?????? ????????? sendmail'a ? ? ???????
?????.
????????????? ?? ?????? ?????? Victor Prylipko
<Victor.Prylipko ?? f4.n4635.z2.fidonet.org> ?? ????-??????????? ru.unix.bsd
????:
FreeBSD 4.8 STABLE;
sendmail - ???????.
?????????:
????????? ??????????? ??????? ????????????? Outlook Express ??? ??????
????? ?? ????, ????? ??? ??????????? ????????? ????? ?? ???????, ???? ??
?????????? ????? ? "?????" IP-???????.
1. ?????? ?? ?????? cyrus-sasl2 ? cyrus-sasl2-saslauthd
# portinstall cyrus-sasl
? ???????? security/cyrus-sasl2
# portinstall cyrus-sasl2-saslauthd
2. ?? /etc/defaults/make.conf ???????? ?????? ? /etc/make.conf
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
3. ???????????? sendmail
# cd /usr/src/lib/libsm
# make clean && make obj && make depend && make
# cd /usr/src/lib/libsmutil
# make clean && make obj && make depend && make
# cd /usr/src/usr.sbin/sendmail
# make clean && make obj && make depend && make && make install
4. ????????? ?????? ? /etc/rc.conf
sasl_saslauthd_flags="-a sasldb"
5. ????????? ????? SASL-?
# /usr/local/etc/rc.d/saslauthd.sh start
???? ????? ??????? ??????????? Slava Vovk aka vovk ?? km.ua
6. ??????? Sendmail.conf
# echo pwcheck_method: saslauthd > /usr/local/lib/sasl2/Sendmail.conf
??? ?? ????? ???????, ??? ????? srvtab:
# echo srvtab: /etc/srvtab >> /usr/local/lib/sasl2/Sendmail.conf
7. ????????? ????? ? ??? .mc ????
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
? ???????? ????? ??????????? ?????? ????? ??????? LOGIN, ???? ????? ??????
??? Outlook Express (?????? ???????? ? ?? ????????).
TRUST_AUTH_MECH(`LOGIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN')dnl
8. ??????? sendmail.cf ? ????????????? ???
# cd /etc/mail
# make install restart
9. ??????? ???????????? ? ???? SASL
# saslpasswd2 -a sendmail newuser
????????, ??? ???????????? ????????:
# sasldblistusers2
?????? ?????? ????????????? ? ????.
10. ??????? ?????? ???? /etc/srvtab ????? sendmail ? ????? ?? ???????,
???? ????? ????? ? ?? ??????. :-)
11. ? ?????????? Outlook Express
Tools | Accounts... | ?????? ??????? | Properties | Servers |
?????? "???????" My server requires authentication ? ???? ??????
Settings...
?????? Account name ? Password ??????? ??????? ? ???? ? 8-? ??????.
???, ????? ?? ???????????? ??????????? ???????? ?? /etc/mail/access.db
(c) 2003, Alexandr Peresunko <alex ?? freeman.org.ua>
$Id: index.html,v 1.7 2003/06/13 10:18:52 freeman Exp $