From: Erçin EKER (erc.caldera@gmx.net)
Date: Tue 17 Aug 2004 - 09:29:48 EEST
Merhaba arkadaşlar,
Postfix'i saslauthd üstünden yetkilendirmeyi yapacak şekilde kurmaya
çalışıyorum fakazt herşey tamam görünmesine rağmen postfix
kardeş bir
türlü "SMTP Auth" yapmıyor.
Kullandığım sistem Debian Sarge
Postfix 2.1.3-1
sasl2-bin 2.1.18-4.1
libsasl2-modules 2.1.18-4.1
libsasl2 2.1.18-4.1
-------------------------------------
polaris:~# cat /etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = polaris.tufan.com.tr
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydomain = tufan.com.tr
myorigin = $mydomain
mydestination = polaris, polaris.tufan.com.tr, tufan.com.tr, localhost
relayhost = tufan.com.tr
mynetworks = 127.0.0.0/8 10.0.0.0/24
home_mailbox = Maildir/
disable_vrfy_command = yes
local_recipient_maps =
$alias_maps,
proxy:unix:passwd.byname
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
smtp_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtp_sender_restrictions = permit_sasl_authenticated,permit_mynetworks
smtp_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permi
t
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = polaris.tufan.com.tr
content_filter = amavis:[127.0.0.1]:10024
-------------------------------------------
polaris:/etc/postfix# cat sasl/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login cram-md5 digest-md5
auto_transition: no
---------------------------------------------
polaris:/etc/postfix# cat /etc/pam.d/smtp
#%PAM-1.0
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so
--------------------------------------------
220 polaris.tufan.com.tr ESMTP Postfix (Debian/GNU)
ehlo polaris.tufan.com.tr
250-polaris.tufan.com.tr
250-PIPELINING
250-SIZE 10240000
250-ETRN
250 8BITMIME
------------------------------
# testsaslauthd -f /var/spool/postfix/var/run/saslauthd/mux -u ercin -p
****
0: OK "Success."
------------------
polaris:/etc/postfix# tail /var/log/mail.log
Aug 17 09:21:19 polaris postfix/smtpd[2734]: connect from unknown
[10.1.1.66]
Aug 17 09:21:19 polaris postfix/smtpd[2734]: NOQUEUE: reject: RCPT from
unknown[10.1.1.66]: 554 <erc.caldera@gmx.net>: Relay access denied;
from=<ercin@tufan.com.tr> to=<erc.caldera@gmx.net> proto=ESMTP
helo=<[10.1.1.66]>
Aug 17 09:21:19 polaris postfix/smtpd[2734]: disconnect from unknown
[10.1.1.66]
--------------------------------
Birisi yardımcı olabilir mi?
Erçin EKER
UIN: 82166138
Jabber: ercineker@jabber.org
As to house maintenance, does it involve problem solfing? If so, your
hacker can safely be left to deall with the panning (for the musement
value, if nothering ese).
-- Telsa Gwynne
-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBBIaXcjUM+8D3W35ERAhvEAJ9QzZ4OD8tv5DmroAx42Zj4UzBikACfTTzK
GEHNjJLVUjBoNrPj5GslCQY
=uF5d
-----END PGP SIGNATURE-----