We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

ISPconfig 3, problem z pocztą


no4b
12-10-2010, 18:45
Nie potrzebujesz SASL osobnego jeśli chcesz używać autoryzatora dovecota. Ścieżki oczywiście w pliku konfiguracyjnym postfixa.

patryk9200
12-10-2010, 18:21
Cytat Napisał no4b
Nie gada z dovecotem. Prawdopodobnie źle ustawione ścieżki.
własnie tak pomyślałem, gdzie można je ustawić i jak sprawdzić?
i jeszcze jedno SASL-> o co z tym chodzi, bibliotekę libsasl2-modules mam zainstalowaną...

no4b
12-10-2010, 10:16
Nie gada z dovecotem. Prawdopodobnie źle ustawione ścieżki.

giasek
12-10-2010, 10:01
Ewidentnie coś jest nie tak z konfiguracją Postfixa.

patryk9200
11-10-2010, 22:22
Cytat Napisał no4b
Zależy od konfiguracji sysloga. Najczęściej /var/log/maillog i /var/log/messages.
znalazłem, dzięki, log jest spory jak i sporo niezrozumiałych komunikatów oto one:
Kod:
Oct 11 21:40:11 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:40:11 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:40:11 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 21:40:11 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 21:40:11 r32145 postfix/smtpd[11579]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:40:11 r32145 postfix/smtpd[11579]: fatal: no SASL authentication mechanisms
Oct 11 21:40:12 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 11579 exit status 1
Oct 11 21:40:12 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 21:45:03 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:45:03 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:45:03 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 21:45:03 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 21:45:03 r32145 postfix/smtpd[11903]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:45:03 r32145 postfix/smtpd[11903]: fatal: no SASL authentication mechanisms
Oct 11 21:45:04 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 11903 exit status 1
Oct 11 21:45:04 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 21:47:15 r32145 postfix/smtpd[12034]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:47:15 r32145 postfix/smtpd[12034]: fatal: no SASL authentication mechanisms
Oct 11 21:47:16 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 12034 exit status 1
Oct 11 21:47:16 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 21:50:09 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:50:09 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:50:09 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 21:50:09 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 21:50:09 r32145 postfix/smtpd[12235]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:50:09 r32145 postfix/smtpd[12235]: fatal: no SASL authentication mechanisms
Oct 11 21:50:10 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 12235 exit status 1
Oct 11 21:50:10 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 21:51:40 r32145 postfix/smtpd[12320]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:51:40 r32145 postfix/smtpd[12320]: fatal: no SASL authentication mechanisms
Oct 11 21:51:41 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 12320 exit status 1
Oct 11 21:51:41 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 21:52:59 r32145 postfix/qmgr[13234]: 963BF352AB: from=, size=3038, nrcpt=1 (queue active)
Oct 11 21:53:01 r32145 postfix/smtpd[12384]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:53:01 r32145 postfix/smtpd[12384]: fatal: no SASL authentication mechanisms
Oct 11 21:53:02 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 12384 exit status 1
Oct 11 21:53:02 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 21:53:02 r32145 amavis[7365]: (07365-01) (!)FWD via SMTP:  -> , 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting:  at (eval 84) line 555,  line 102.): id=07365-01
Oct 11 21:53:02 r32145 amavis[7365]: (07365-01) Blocked MTA-BLOCKED,  -> , Message-ID: <20101011043416.963BF352AB@mail.autos24.pl>, mail_id: B1KUoXczsCRh, Hits: -0.001, size: 3038, 2712 ms
Oct 11 21:53:02 r32145 postfix/smtp[12381]: 963BF352AB: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=55126, delays=55123/0.21/0.02/2.7, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting:  at (eval 84) line 555,  line 102.): id=07365-01 (in reply to end of DATA command))
Oct 11 21:55:04 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:55:04 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 21:55:04 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 21:55:04 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 21:55:04 r32145 postfix/smtpd[12585]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:55:04 r32145 postfix/smtpd[12585]: fatal: no SASL authentication mechanisms
Oct 11 21:55:05 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 12585 exit status 1
Oct 11 21:55:05 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 21:59:43 r32145 postfix/smtpd[12838]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 21:59:43 r32145 postfix/smtpd[12838]: fatal: no SASL authentication mechanisms
Oct 11 21:59:44 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 12838 exit status 1
Oct 11 21:59:44 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 22:00:04 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:00:04 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 22:00:04 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:00:04 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 22:00:45 r32145 postfix/smtpd[13006]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 22:00:45 r32145 postfix/smtpd[13006]: fatal: no SASL authentication mechanisms
Oct 11 22:00:46 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 13006 exit status 1
Oct 11 22:00:46 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 22:05:04 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:05:04 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 22:05:04 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:05:04 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 22:05:05 r32145 postfix/smtpd[13520]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 22:05:05 r32145 postfix/smtpd[13520]: fatal: no SASL authentication mechanisms
Oct 11 22:05:06 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 13520 exit status 1
Oct 11 22:05:06 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 22:10:07 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:10:07 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 22:10:07 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:10:07 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 22:10:07 r32145 postfix/smtpd[13887]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 22:10:07 r32145 postfix/smtpd[13887]: fatal: no SASL authentication mechanisms
Oct 11 22:10:08 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 13887 exit status 1
Oct 11 22:10:08 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 22:15:07 r32145 postfix/smtpd[14253]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 22:15:07 r32145 postfix/smtpd[14253]: fatal: no SASL authentication mechanisms
Oct 11 22:15:08 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 14253 exit status 1
Oct 11 22:15:08 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 22:15:09 r32145 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:15:09 r32145 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 11 22:15:09 r32145 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 11 22:15:09 r32145 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 11 22:16:08 r32145 postfix/smtpd[14345]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 11 22:16:08 r32145 postfix/smtpd[14345]: fatal: no SASL authentication mechanisms
Oct 11 22:16:09 r32145 postfix/master[13227]: warning: process /usr/lib/postfix/smtpd pid 14345 exit status 1
Oct 11 22:16:09 r32145 postfix/master[13227]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 11 22:16:32 r32145 pop3d: Connection, ip=[::ffff:79.185.142.144]
Oct 11 22:16:34 r32145 pop3d: LOGIN, user=biuro@autos24.pl, ip=[::ffff:79.185.142.144], port=[51088]
Oct 11 22:16:34 r32145 pop3d: scancur opendir("cur"): No such file or directory
Oct 11 22:16:59 r32145 pop3d: Connection, ip=[::ffff:79.185.142.144]
Oct 11 22:17:00 r32145 pop3d: LOGIN, user=biuro@autos24.pl, ip=[::ffff:79.185.142.144], port=[51096]
Oct 11 22:17:00 r32145 pop3d: scancur opendir("cur"): No such file or directory
Oct 11 22:17:01 r32145 pop3d: Connection, ip=[::ffff:79.185.142.144]
Oct 11 22:17:01 r32145 pop3d: LOGIN, user=biuro@autos24.pl, ip=[::ffff:79.185.142.144], port=[51097]
Oct 11 22:17:01 r32145 pop3d: scancur opendir("cur"): No such file or directory
Messages:
Kod:
Oct 11 21:40:11 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 21:40:11 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 11 21:45:03 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 21:45:03 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 11 21:50:09 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 21:50:09 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 11 21:55:04 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 21:55:04 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 11 22:00:04 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 22:00:04 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 11 22:05:04 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 22:05:04 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 11 22:10:07 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 22:10:07 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 11 22:15:09 r32145 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 11 22:15:09 r32145 pure-ftpd: (?@127.0.0.1) [INFO] Logout.

no4b
11-10-2010, 21:16
Zależy od konfiguracji sysloga. Najczęściej /var/log/maillog i /var/log/messages.

patryk9200
11-10-2010, 20:25
Cytat Napisał no4b
Nie do postfix Cię autoryzuje przy dostępie do skrzynki tylko dovecot (prawdopodobnie).
Dobrze wiedzieć, dzięki za odpowiedź.
jak sprawdzić co jest przyczyną? gdzie devcot zapisuje logi oraz pliki konfiguracyjne za to odpowiedzialne?

no4b
11-10-2010, 10:03
Nie do postfix Cię autoryzuje przy dostępie do skrzynki tylko dovecot (prawdopodobnie).

patryk9200
10-10-2010, 21:15
Witam,
Posiadam serwer RPS 1 na dystrybucji Linux Debian Lenny x86.
Zainstalowałem na nim panel ISPconfig. Z nieznanych mi przyczyn POSTFIX wywala mi błędy, nie można się zalogować zwraca komunikat:
Błąd serwera: -ERR Maildir invalid (no 'cur' directory),
na serwerze istnieje taki katalog, konfiguracja POSTFIX:
Kod:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mail.domena.pl
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = r32145.ovh.net, localhost, localhost.localdomain, domena.pl, domena.net.pl, domena.com
relayhost = 
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = -1048576
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains = 
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = -1048576
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
Drzewo katalogów:
-home
-vmail
-domena.pl
-biuro
-mailfilters
-Maildir
-.Drafts
-.Junk
-.Sent
-.Trash
-cur
-new
-tmp