Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2004-10-03 20:48:36

  BiExi - matka przelozona

BiExi
matka przelozona
Skąd: Gorlice
Zarejestrowany: 2004-04-16
Serwis

postfix smtpd errorek sasl2

A wiec w logach kwitnie mi cos takiego

Kod:

Oct  4 22:14:53 centralny postfix/smtpd[3601]: fatal: invalid option: ?
Oct  4 22:14:54 centralny postfix/master[3425]: warning: process /usr/lib/postfix/smtpd pid 3601 exit status 1
Oct  4 22:14:54 centralny postfix/master[3425]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

moje pliki [b]/etc/default/saslauthd[/b]

Kod:

MECHANISMS="pam"
START=yes

[]b/etc/pam.d/smtp[/b]

Kod:

auth     required       pam_permit.so
account  required       pam_permit.so
password required       pam_permit.so
ession  required       pam_permit.so

[b]/etc/postfix.main.cf[/b]

Kod:

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = centralny.centralny.dug.net.pl
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = centralny.dug.net.pl, centralny.centralny.dug.net.pl, localhost.centralny.dug.net.pl, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_mynetworks , permit_sasl_authenticated , check_relay_domains

oraz
[b]/etc/postfix/sasl/smtpd.conf[/b]

Kod:

pwcheck_method: saslauthd
auto_transition: false
mech_list: PLAIN LOGIN

po drodze byly jescze wydawane takowe polecenia

Kod:

mkdir -p -m710 /var/spool/postfix/var/run/saslauthd
mount --bind /var/run/saslauthd /var/spool/postfix/var/run/saslauthd/
/etc/init.d/saslauthd restart
/etc/init/postfix restart

co moze byc przyczynom nie dzialania tej autoryzacji

po prubie telnetowania sie na port 25 localhosta otrymuje take cos w logach jak na poczatku tego posta

Kod:

centralny:/# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'

i jak widac snmp sie nie przedstawia
posiadam zainstalowane paczki

Kod:

postfix-tls libsasl2 libsasl2-modules-plain sasl2-bin

[url=http://dug.net.pl][b]DUG[/b][/url]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.007 seconds, 10 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00003 SET NAMES latin2
0.00125 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.138.36.168' WHERE u.id=1
0.00082 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.138.36.168', 1732350361)
0.00051 SELECT * FROM punbb_online WHERE logged<1732350061
0.00065 DELETE FROM punbb_online WHERE ident='3.135.206.166'
0.00036 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=134 AND t.moved_to IS NULL
0.00038 SELECT search_for, replace_with FROM punbb_censoring
0.00103 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=134 ORDER BY p.id LIMIT 0,25
0.00079 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=134
Total query time: 0.00592 s