Witam ! Używam zdalnego klienta MS Outlook 2003 do łączenia się z serwerem. Zainstalowałem
obsługę SASL z postfixem na Debianie 3.0. Szukam rozwiązania jak ograniczyć wysyłanie maili tylko do uwierzytelnionych
połączeń z serwerem, zakazując nie uwierzytelnionym połączeniom. Prawidłowo przy wyłączonym uwierzytelnieniu, zdalny klient nie powinien
nawiązać połączenia z serwerem SMTP , tylko przy włączonym uwierzytelnieniu. U
mnie działa przy włączonym jak i wyłączonym uwierzytelnieniu. Zainstalowałem ze źródeł : cyrus-sasl-2.1.20 postfix-2.1.5 solid-pop3d -0.16d dane do uwierzytelniania pobieram z pliku shadow w pliku konf. Postfixa main.cf dla obsługi sasl mam ustawione : smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes Login nie zawieraja żadnych błędów. Wycinek z sysloga dla testu polaczenia zdalnego klienta z serwerem bez
uwierzytelnienia: Feb 2 05:45:05 smarts postfix/smtpd[354]: connect from
smart[192.168.10.1] Feb 2 05:45:05 smarts postfix/smtpd[354]: 70547AE6E:
client=smart[192.168.10.1] Feb 2 05:45:05 smarts postfix/cleanup[357]: 70547AE6E:
message-id=<20050202044505.70547AE6E@smarts.aaaa.pl> Feb 2 05:45:05 smarts postfix/qmgr[319]: 70547AE6E: from=<rafal@aaaa.pl>,
size=665, nrcpt=1 (queue active) Feb 2 05:45:05 smarts postfix/smtpd[354]: disconnect from
smart[192.168.10.1] Feb 2 05:45:05 smarts postfix/local[358]: 70547AE6E: to=<rafal@aaaa.pl>,
relay=local, delay=0, status=sent (delivered to maildir) Feb 2 05:45:05 smarts postfix/qmgr[319]: 70547AE6E: removed Feb 2 05:45:05 smarts spop3d[374]: connect from 192.168.10.1 Feb 2 05:45:05 smarts spop3d[374]: user rafal authenticated Feb 2 05:45:05 smarts spop3d[374]: session ended for user rafal Wycinek z sysloga dla testu polaczenia zdalnego klienta z ustawieniem uwierzytelnienia
dla SMTP : Feb 2 05:45:18 smarts postfix/smtpd[354]: connect from
smart[192.168.10.1] Feb 2 05:45:18 smarts postfix/smtpd[354]: D9574AE6E:
client=smart[192.168.10.1], sasl_method=LOGIN, sasl_username=rafal Feb 2 05:45:18 smarts postfix/cleanup[357]: D9574AE6E: message-id=20050202044518.D9574AE6E@smarts.aaaa.pl Feb 2 05:45:19 smarts postfix/qmgr[319]: D9574AE6E: from=<rafal@aaaa.pl>,
size=666, nrcpt=1 (queue active) Feb 2 05:45:19 smarts postfix/smtpd[354]: disconnect from
smart[192.168.10.1] Feb 2 05:45:19 smarts postfix/local[358]: D9574AE6E: to=<rafal@aaaa>,
relay=local, delay=1, status=sent (delivered to maildir) Feb 2 05:45:19 smarts postfix/qmgr[319]: D9574AE6E: removed Feb 2 05:45:19 smarts spop3d[381]: connect from 192.168.10.1 Feb 2 05:45:19 smarts spop3d[381]: user rafal authenticated Feb 2 05:45:19 smarts spop3d[381]: session ended for user rafal Pozdrawiam Rafał |