SMTP Autenticace
Rudolf Cejka
cejkar at fit.vutbr.cz
Mon Dec 6 10:15:02 CET 2004
Pavel wrote (2004/12/05):
> diky za tip, ale nedari se. Postupuji presne podle navodu a pri pokusu
> provest `make` v `/usr/src/usr.sbin/sendmail` obdrzim hlasku"
> make: don't know how to make
> /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
Zavislosti az tak daleko bezne nejdou. V takovem pripade je potreba
pred prekladem sendmailu udelat navic cd /usr/src/lib/libsmutil ; make
> sm-mta[543]: starting daemon (8.13.1): SMTP+queueing at 00:30:00
> ...
> sm-mta[543]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot
Tady jsem trochu laboroval mezi *.mc, *.cf a sockstat, abych videl, co
sendmail opravdu otvira. Treba najdete inspiraci v tomto diffu:
76a77
> FEATURE(`authinfo', `hash -o /etc/mail/authinfo')
84c85
< DAEMON_OPTIONS(`Name=IPv4, Family=inet')
---
> dnl DAEMON_OPTIONS(`Name=IPv4, Family=inet')
85a87
> FEATURE(`no_default_msa')
92a95,112
>
> # SASL (cyrus-sasl-2)
> define(`confAUTH_MECHANISMS', `PLAIN LOGIN')
> TRUST_AUTH_MECH(`PLAIN LOGIN')
> define(`CERT_DIR', `/etc/mail/certs')
> define(`confCACERT_PATH', `CERT_DIR')
> define(`confCACERT', `CERT_DIR/cert.pem')
> define(`confSERVER_CERT', `CERT_DIR/cert.pem')
> define(`confSERVER_KEY', `CERT_DIR/key.pem')
> define(`confCLIENT_CERT', `CERT_DIR/cert.pem')
> define(`confCLIENT_KEY', `CERT_DIR/key.pem')
> define(`confAUTH_OPTIONS', `p')
> DAEMON_OPTIONS(`Port=smtp, Name=MTA, Addr=127.0.0.1')
> DAEMON_OPTIONS(`Port=smtp, Name=MTA, Addr=192.168.0.1')
> DAEMON_OPTIONS(`Port=submission, Name=MSA, M=a')
> DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=sa')
> dnl define(`confLOG_LEVEL', `25')
--
Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66 Brno, Czech Republic
More information about the Users-l
mailing list