SMTP Autenticace
Pavel
phlubik at seznam.cz
Sun Dec 5 10:21:14 CET 2004
>> Ja jsem pouzil navod na
>> http://www.puresimplicity.net/~hemi/freebsd/sendmail.html .
>> Musi se jeste nainstalovat port cyrus-sasl-saslauthd, do
>> /usr/local/lib/sasl2/Sendmail.conf dat
>> pwcheck_method: saslauthd
>> a do /etc/rc.conf jsem dal
>> saslauthd_enable="YES"
>> saslauthd_flags="-a pam -n 1"
>> a jestli jsem uz na nic dalsiho nezapomnel, tak to takto chodi.
Zdravim,
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
Nevite nekdo, jak to vyresit?
Potom jsem to zkusil pres `make buildworld && make installworld`. Buhuzel
nejde spustit sendmail. V souboru `/var/log/maillog` se objevi chybove
hlaseni
sm-mta[543]: starting daemon (8.13.1): SMTP+queueing at 00:30:00
sm-mta[543]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot
bind: Address already in use
sm-mta[543]: daemon MTA: problem creating SMTP socket
sm-msp-queue[546]: starting daemon (8.13.1): queueing at 00:30:00
sm-mta[543]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot
bind: Address already in use
sm-mta[543]: daemon MTA: problem creating SMTP socket
Pokud ze `/etc/mail/freebsd.mc` odstranim
define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl
define(`CERT_DIR', `/etc/mail/certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl
define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl
define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnla vygeneruji novy
konfiguracni soubor sendmailu, tak je vse v poradku.Jeste jsem zkousel
vyradit `M=s`, ale take nic.Predem diky za nejake napady.
Pavel
>
> ano, takto to chodi, pouzivam to napr. aj v spolupraci s pam_mysql na
> overovanie userov cez mysql.
>
> --
> Juraj Lutter | () Ascii Ribbon
> Campaign
> | /\ Support plain text
> e-mail
> --
> FreeBSD mailing list (users-l at freebsd.cz)
> http://www.freebsd.cz/listserv/listinfo/users-l
More information about the Users-l
mailing list