ctfwp
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
Hallo. Ich brauche Hilfe. Weiß absolut nicht mehr weiter. Ich versuche seit zwei Wochen Mailserver mit Roundcube nach dieser Anleitung http://flurdy.com/docs/postfix/ zu installieren.
Das Problem ist, ich kann mich nicht einloggen.
In der Logdatei steht: #!
[03-Mar-2011 13:50:08 +0100]: IMAP Error: Login failed for admin@domain.de from myIP. AUTHENTICATE PLAIN: Temporary authentication failure. in /srv/mail/program/include/rcube_imap.php on line 192 (POST /?_task=login&_action=login) (admin@domain.de und myIP habe ich nachträglich geändert. Daran liegt es nicht)
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Was sagt das Log des Mailservers? Hast du schon mal das IMAP-Logging von Roundcube eingeschaltet? Evtl. hilft es auch, dort das Loglevel hochzudrehen.
|
ctfwp
(Themenstarter)
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
Wo finde ich die Logdateien von dem Mailserver?
|
ctfwp
(Themenstarter)
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
In der Datei /var/log/mail.err
steht:
| Mar 4 09:22:11 h1838770 postfix/smtpd[58737]: fatal: no SASL authentication mechanisms
Mar 4 09:25:55 h1838770 postfix/smtpd[62919]: fatal: no SASL authentication mechanisms
Mar 4 09:34:12 h1838770 postfix/smtpd[9448]: fatal: no SASL authentication mechanisms
Mar 4 09:37:55 h1838770 postfix/smtpd[14125]: fatal: no SASL authentication mechanisms
Mar 4 09:43:54 h1838770 postfix/smtpd[23567]: fatal: no SASL authentication mechanisms
Mar 4 09:50:27 h1838770 postfix/smtpd[32616]: fatal: no SASL authentication mechanisms
Mar 4 10:19:20 h1838770 postfix/smtpd[8137]: fatal: no SASL authentication mechanisms
|
|
Schwammkopf186
Anmeldungsdatum: 4. März 2011
Beiträge: 3
|
Hast du sichergestellt, dass mailversand ohne das frontend roundcube überhaupt möglich ist?
sieht im moment eher so aus als würde dein postfix nicht laufen. checks doch mal mit ps ef | grep postfix
|
ctfwp
(Themenstarter)
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
Ja es sieht so aus als ob er nicht läuft. Das gibt er mir aus: | ps ef | grep postfix
11700 pts/0 S+ 0:00 \_ grep --color=auto postfix TERM=xterm SHELL=/bin/bash XDG_SESSION_COOKIE=4ec43b0e984dd0b32a6a2e444d5d7d20-1299234063.812422-1461853646 SSH_CLIENT=130.149.104.241 2786 22 SSH_TTY=/dev/pts/0 LC_ALL=de_DE.utf8 USER=root LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: $JAVA_HOME: $JRE_HOME PWD=/root LANG=de_DE.utf8 SPEECHD_PORT=6560 SHLVL=1 HOME=/root LANGUAGE=de_DE.utf8 LOGNAME=root SSH_CONNECTION=130.149.104.241 2786 85.214.75.191 22 LESSOPEN=| /usr/bin/lesspipe %s LESSCLOSE=/usr/bin/lesspipe %s %s _=/bin/grep
|
So sieht mein main.cf aus:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76 | command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = mail.domain.de
mydomain = domain.de
myorigin = domain.de
inet_interfaces = all
mydestination =
local_recipient_maps =
virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
delay_warning_time = 4h
unknown_local_recipient_reject_code = 450
maximal_queue_lifetime = 7d
minimal_backoff_time = 1000s
maximal_backoff_time = 8000s
smtp_helo_timeout = 60s
smtpd_recipient_limit = 16
smtpd_soft_error_limit = 3
smtpd_hard_error_limit = 12
mynetworks_style = host
mynetworks = 127.0.0.0/8, 10.0.0.0/24
virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
virtual_mailbox_base = /var/spool/mail/virtual
home_mailbox = Maildir/
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
smtpd_banner = $myhostname ESMTP $mail_name
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
masquerade_domains = domain.de
message_size_limit = 10485760
mailbox_size_limit = 1073741824
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth-client
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = no
smtpd_sasl_local_domain =
smtpd_client_restrictions = permit_mynetworks,reject_unknown_client,permit
smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject
content_filter = amavis:[127.0.0.1]:10024
smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname,
reject_invalid_hostname, permit
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org,
reject_rbl_client blackholes.easynet.nl,
reject_rbl_client dnsbl.njabl.org
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks,
warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain,
reject_unauth_pipelining, permit
smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks,
permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain,
reject_unauth_destination, check_policy_service inet:127.0.0.1:10023, permit
smtpd_helo_required = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
|
Und so master.cf:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79 | smtp inet n - - - - smtpd
submission inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_tls_auth_only=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination,reject
-o smtpd_sasl_security_options=noanonymous,noplaintext
-o smtpd_sasl_tls_security_options=noanonymous
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_tls_auth_only=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o smtpd_sasl_security_options=noanonymous,noplaintext
-o smtpd_sasl_tls_security_options=noanonymous
pickup fifo n - - 60 1 pickup
-o content_filter=
-o receive_override_options=no_header_body_checks
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o smtp_fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
dovecot unix - n n - - pipe flags=DRhu
user=vmail:mail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
|
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Und was steht in /var/log/mail.log, wenn du Postfix mit sudo /etc/init.d/postfix start versuchst zu starten?
|
ctfwp
(Themenstarter)
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
Immer so was(root@domain.de habe ich nachträglich geändert): 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 | Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B4734325D14C: message has been queued for 4 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B4734325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[52299]: warning: B4734325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B4C81325D14C: message has been queued for 8 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B4C81325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[50580]: warning: connect to mysql server 127.0.0.1: Access denied for user 'mail'@'localhost' (using password: YES)
Mar 6 16:14:52 h1838770 postfix/cleanup[50580]: warning: B4C81325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B5353325D14C: message has been queued for 1 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B5353325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[52299]: warning: B5353325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B5604325D14C: message has been queued for 2 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B5604325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[50580]: warning: B5604325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B585C325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[52299]: warning: B585C325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B5B12325D14C: message has been queued for 3 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B5B12325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[50580]: warning: B5B12325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B5DBE325D14C: message has been queued for 6 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B5DBE325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[52299]: warning: B5DBE325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B600D325D14C: message has been queued for 2 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B600D325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[50580]: warning: B600D325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B62CC325D14C: message has been queued for 5 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B62CC325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[52299]: warning: B62CC325D14C: virtual_alias_maps map lookup problem for root@domain.de
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: warning: B6530325D14C: message has been queued for 7 days
Mar 6 16:14:52 h1838770 postfix/pickup[19904]: B6530325D14C: uid=0 from=<root>
Mar 6 16:14:52 h1838770 postfix/cleanup[50580]: warning: B6530325D14C: virtual_alias_maps map lookup problem for root@domain.de
|
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Logs von Dovecot kann ich da nicht sehen. Läuft der IMAP-Server überhaupt? Und was dein Postfix betrifft: Der kann sich augenscheinlich nicht mit deiner MySQL-Datenbank verbinden. Sind da überhaupt die korrekten Zugangsdaten eingetragen?
|
ctfwp
(Themenstarter)
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
Also. Ich habe jetzt alle Passwörter geändert ( mit copy/paste damit ales richtig ist).
Alles neu gestartet. Hat sich nichts verändert. Hier sind die neuen Losgs. mail.log 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 | Mar 7 16:01:01 h1838770 cleanup: clean up process starting: policyd v1.82
Mar 7 16:01:01 h1838770 cleanup: connecting to mysql database: 127.0.0.1
Mar 7 16:01:01 h1838770 cleanup: clean up process starting: policyd v1.82
Mar 7 16:01:01 h1838770 cleanup: connected..
Mar 7 16:01:01 h1838770 cleanup: expiring throttlesender records older than 31 days (1296831661)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:01 h1838770 cleanup: connecting to mysql database: 127.0.0.1
Mar 7 16:01:01 h1838770 cleanup: expiring throttlesender instances older than 1 hour (1299506461)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:01 h1838770 cleanup: connected..
Mar 7 16:01:01 h1838770 cleanup: expiring validated records older than 7 days (1298905261)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:01 h1838770 cleanup: expiring unvalidated records older than 2 days (1299337261)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:01 h1838770 cleanup: expiring blacklisted records (1299510061)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:01 h1838770 cleanup: expiring autowhitelisted records older than 7 days (1299510061)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:01 h1838770 cleanup: expiring helo records older than 7 days (1299510061)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:01 h1838770 cleanup: expiring throttlerecipient records older than 31 days (1296831661)
Mar 7 16:01:01 h1838770 cleanup: expired: 0 records
Mar 7 16:01:11 h1838770 postfix/master[16125]: terminating on signal 15
Mar 7 16:01:11 h1838770 postfix/master[36050]: daemon started -- version 2.7.0, configuration /etc/postfix
Mar 7 16:01:33 h1838770 postfix/smtpd[36075]: connect from mail-vw0-f49.google.com[209.85.212.49]
Mar 7 16:01:33 h1838770 postfix/smtpd[36075]: warning: SASL: Connect to private/auth-client failed: Connection refused
Mar 7 16:01:33 h1838770 postfix/smtpd[36075]: fatal: no SASL authentication mechanisms
Mar 7 16:01:34 h1838770 postfix/master[36050]: warning: process /usr/lib/postfix/smtpd pid 36075 exit status 1
Mar 7 16:01:34 h1838770 postfix/master[36050]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 7 16:02:53 h1838770 authdaemond: stopping authdaemond children
Mar 7 16:02:53 h1838770 authdaemond: modules="authmysql", daemons=5
Mar 7 16:02:53 h1838770 authdaemond: Installing libauthmysql
Mar 7 16:02:53 h1838770 authdaemond: Installation complete: authmysql
Mar 7 16:02:55 h1838770 authdaemond: stopping authdaemond children
Mar 7 16:02:55 h1838770 authdaemond: modules="authmysql", daemons=5
Mar 7 16:02:55 h1838770 authdaemond: Installing libauthmysql
Mar 7 16:02:55 h1838770 authdaemond: Installation complete: authmysql
Mar 7 16:03:14 h1838770 postfix/anvil[36077]: statistics: max connection rate 1/60s for (smtp:209.85.212.49) at Mar 7 16:01:33
Mar 7 16:03:14 h1838770 postfix/anvil[36077]: statistics: max connection count 1 for (smtp:209.85.212.49) at Mar 7 16:01:33
Mar 7 16:03:14 h1838770 postfix/anvil[36077]: statistics: max cache size 1 at Mar 7 16:01:33
Mar 7 16:09:28 h1838770 postfix/smtpd[42421]: connect from mta1067.mail.ukl.yahoo.com[77.238.184.195]
Mar 7 16:09:28 h1838770 postfix/smtpd[42421]: warning: SASL: Connect to private/auth-client failed: Connection refused
Mar 7 16:09:28 h1838770 postfix/smtpd[42421]: fatal: no SASL authentication mechanisms
Mar 7 16:09:29 h1838770 postfix/master[36050]: warning: process /usr/lib/postfix/smtpd pid 42421 exit status 1
Mar 7 16:09:29 h1838770 postfix/master[36050]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 7 16:11:09 h1838770 postfix/anvil[42422]: statistics: max connection rate 1/60s for (smtp:77.238.184.195) at Mar 7 16:09:28
Mar 7 16:11:09 h1838770 postfix/anvil[42422]: statistics: max connection count 1 for (smtp:77.238.184.195) at Mar 7 16:09:28
Mar 7 16:11:09 h1838770 postfix/anvil[42422]: statistics: max cache size 1 at Mar 7 16:09:28
Mar 7 16:16:08 h1838770 postfix/smtpd[47036]: connect from mta1067.mail.ukl.yahoo.com[77.238.184.195]
Mar 7 16:16:08 h1838770 postfix/smtpd[47036]: warning: SASL: Connect to private/auth-client failed: Connection refused
Mar 7 16:16:08 h1838770 postfix/smtpd[47036]: fatal: no SASL authentication mechanisms
Mar 7 16:16:09 h1838770 postfix/master[36050]: warning: process /usr/lib/postfix/smtpd pid 47036 exit status 1
Mar 7 16:16:09 h1838770 postfix/master[36050]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 7 16:17:49 h1838770 postfix/anvil[47037]: statistics: max connection rate 1/60s for (smtp:77.238.184.195) at Mar 7 16:16:08
Mar 7 16:17:49 h1838770 postfix/anvil[47037]: statistics: max connection count 1 for (smtp:77.238.184.195) at Mar 7 16:16:08
Mar 7 16:17:49 h1838770 postfix/anvil[47037]: statistics: max cache size 1 at Mar 7 16:16:08
Mar 7 16:18:08 h1838770 postfix/master[36050]: terminating on signal 15
Mar 7 16:18:09 h1838770 postfix/master[52415]: daemon started -- version 2.7.0, configuration /etc/postfix
|
und dovecot.log
| 2011-03-07 16:07:39 dovecot: Info: Dovecot v1.2.9 starting up (core dumps disabled)
2011-03-07 16:07:39 auth-worker(default): Error: mysql: Connect failed to localhost (postfix): Access denied for user 'postfix'@'localhost' (using password: YES) - waiting for 1 seconds before retry
2011-03-07 16:18:13 dovecot: Warning: Killed with signal 15 (by pid=52982 uid=0 code=kill)
2011-03-07 16:18:13 dovecot: Info: Dovecot v1.2.9 starting up (core dumps disabled)
2011-03-07 16:18:13 auth-worker(default): Info: mysql: Connected to localhost (postfix)
2011-03-07 16:18:54 imap-login: Info: Aborted login (auth failed, 1 attempts): user=<admin@domain.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
|
Wenn ich das richtig verstehe, versucht er jetzt sich mit user=<admin@domain.de> anzumelden. Ich habe meiner Meinung nach alles durchgesucht und es steht überall richtiger MYSQL user und nicht admin@domain.de
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Dein Dovecot versucht sich als Benutzer postfix mit MySQL zu verbinden, was nicht funktioniert:
2011-03-07 16:07:39 auth-worker(default): Error: mysql: Connect failed to localhost (postfix): Access denied for user 'postfix'@'localhost' (using password: YES) - waiting for 1 seconds before retry
|
ctfwp
(Themenstarter)
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
Mit:
kann ich mich problemlos verbinden.
Also ist irgendwo bei Postfix falsches Passwort gesetzt. Wie finde ich raus, wo?
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Nicht bei Postfix sondern in deiner Dovecot-Konfiguration. Du wirst dir also mal die entsprechende Datei (vermutlich) in /etc/dovecot ansehen müssen.
|
ctfwp
(Themenstarter)
Anmeldungsdatum: 18. Februar 2011
Beiträge: 22
|
Es sind bei mir im /etc/dovecot/ zwei lehre Ordner (auth.d und conf.d)
dann dovecot.conf 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100 | base_dir = /var/run/dovecot
protocols = imap imaps managesieve
protocol imap {
listen = *:143
mail_plugins = quota imap_quota
}
protocol managesieve {
listen = *:2000
login_executable = /usr/lib/dovecot/managesieve-login
mail_executable = /usr/lib/dovecot/managesieve
managesieve_max_line_length = 65536
managesieve_logout_format = bytes=%i/%o
managesieve_implementation_string = dovecot
}
listen = *
disable_plaintext_auth = yes
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
syslog_facility = mail
mail_location = maildir:/var/vmail/%d/%u
mail_privileged_group = mail
mail_debug = no
first_valid_uid = 150
last_valid_uid = 150
maildir_copy_with_hardlinks = yes
protocol imap {
login_executable = /usr/lib/dovecot/imap-login
mail_executable = /usr/lib/dovecot/imap
imap_max_line_length = 65536
mail_plugin_dir = /usr/lib/dovecot/modules/imap
}
protocol managesieve {
}
protocol lda {
postmaster_address = postmaster@domain.de
mail_plugins = quota sieve
mail_plugin_dir = /usr/lib/dovecot/modules/lda
deliver_log_format = msgid=%m: %$
sendmail_path = /usr/lib/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}
auth_verbose = no
auth_debug = no
auth default {
mechanisms = plain login
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
# steigert Performance mit Datenbank
userdb prefetch {
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
user = nobody
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = postfix
group = mail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
dict {
quotadict = mysql:/etc/dovecot/dovecot-dict-sql.conf
mail_debug = yes
}
plugin {
quota = dict:user::proxy::quotadict
quota_rule = *:storage=500MB
sieve=~/dovecot.sieve
sieve_dir=~/sieve
}
|
dovecot-dict-sql.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | connect = host=localhost dbname=postfix user=postfix password=richtigesPasswort
map {
pattern = priv/quota/storage
table = quota2
username_field = username
value_field = bytes
}
map {
pattern = priv/quota/messages
table = quota2
username_field = username
value_field = messages
}
|
dovecot-ldap.conf
1
2
3
4
5
6
7
8
9
10
11
12
13 | hosts = 127.0.0.1:389
ldap_version = 3
auth_bind = yes
dn = cn=vmail,dc=domain,dc=de
dnpass = 6U8BjljA8hKNiWmV7LUEE7dFgjn8lE //hier bin ich mir nicht sicher
base = o=domains,dc=domain,dc=de
scope = subtree
deref = never
user_filter = (&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(&(enabledService=shadowaddress)(shadowAddress=%u))))
pass_filter = (&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=%Ls%Lc)(|(mail=%u)(&(enabledService=shadowaddress)(shadowAddress=%u))))
pass_attrs = userPassword=password //hier bin ich mir auch nicht sicher
default_pass_scheme = CRYPT
user_attrs = storageBaseDirectory=home,mailMessageStore=mail=maildir:~/%$/Maildir/,mailQuota=quota_rule=*:bytes=%$
|
und dovecot-sql.conf
| driver = mysql
connect = host=localhost dbname=postfix user=postfix password=richtigesPasswort
default_pass_scheme = MD5-CRYPT
# Get the mailbox
user_query = SELECT '/var/vmail/%d/%n' as home, 'maildir:/var/vmail/%d/%n' as mail, 150 AS uid, 8 AS gid, CONCAT('*:bytes=', CAST(quota AS CHAR)) AS quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
# Get the password
password_query = SELECT username as user, password, '/var/vmail/%d/%n' as userdb_home, 'maildir:/var/vmail/%d/%n' as userdb_mail, 150 as userdb_uid, 8 as userdb_gid, CONCAT('*:bytes=', CAST(quota AS CHAR)) AS userdb_quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
|
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Hat der User postfix denn auch die benötigten Rechte an der Datenbank postfix?
|