View previous topic :: View next topic |
Author |
Message |
Heinzelmännchen Apprentice
Joined: 11 Mar 2004 Posts: 179 Location: MV, Germany
|
Posted: Wed Feb 02, 2005 3:46 pm Post subject: |
|
|
Also local geht die Mail veraus. Das ist schon mal gut. Tat es allerdings vorher auch schon.
Wenn ich jetzt jedoch über den Mail-Client versenden möchte, dann bekomme ich log ( smtpd -v ) folgende ausgabe: Code: | Feb 2 15:56:26 [postfix/smtpd] name_mask: subnet
Feb 2 15:56:26 [postfix/smtpd] inet_addr_local: configured 4 IPv4 addresses
Feb 2 15:56:26 [postfix/smtpd] warning: inet_addr_local[procnet_ifinet6]: Couldn't open /proc/net/if_inet6 for reading: No such file or directory
Feb 2 15:56:26 [postfix/smtpd] inet_addr_local: configured 0 IPv6 addresses
Feb 2 15:56:26 [postfix/smtpd] mynetworks: 192.168.0.0/24 127.0.0.0/8 1.1.1.0/24 212.209.128.118/32
Feb 2 15:56:26 [postfix/smtpd] match_string: mynetworks ~? debug_peer_list
Feb 2 15:56:26 [postfix/smtpd] match_string: mynetworks ~? fast_flush_domains
Feb 2 15:56:26 [postfix/smtpd] match_string: mynetworks ~? mynetworks
Feb 2 15:56:26 [postfix/smtpd] match_string: relay_domains ~? debug_peer_list
Feb 2 15:56:26 [postfix/smtpd] match_string: relay_domains ~? fast_flush_domains
Feb 2 15:56:26 [postfix/smtpd] match_string: relay_domains ~? mynetworks
Feb 2 15:56:26 [postfix/smtpd] match_string: relay_domains ~? permit_mx_backup_networks
Feb 2 15:56:26 [postfix/smtpd] match_string: relay_domains ~? qmqpd_authorized_clients
Feb 2 15:56:26 [postfix/smtpd] match_string: relay_domains ~? relay_domains
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: user = [***]
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: password = [***]
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: dbname = mail
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: table = virtual
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: select_field = dest
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: where_field = alias
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: additional_conditions = and status=1
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-mydestination.cf: hosts = localhost
Feb 2 15:56:26 [postfix/smtpd] mysqlname_parse: /etc/postfix/mysql-mydestination.cf: adding host 'localhost' to list of mysql server hosts
Feb 2 15:56:26 [postfix/smtpd] dict_open: mysql:/etc/postfix/mysql-mydestination.cf
Feb 2 15:56:26 [postfix/smtpd] match_string: permit_mx_backup_networks ~? debug_peer_list
Feb 2 15:56:26 [postfix/smtpd] match_string: permit_mx_backup_networks ~? fast_flush_domains
Feb 2 15:56:26 [postfix/smtpd] match_string: permit_mx_backup_networks ~? mynetworks
Feb 2 15:56:26 [postfix/smtpd] match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
Feb 2 15:56:26 [postfix/smtpd] connect to subsystem private/proxymap
Feb 2 15:56:26 [postfix/smtpd] send attr request = open
Feb 2 15:56:26 [postfix/smtpd] send attr table = unix:passwd.byname
Feb 2 15:56:26 [postfix/smtpd] send attr flags = 64
Feb 2 15:56:26 [postfix/smtpd] private/proxymap socket: wanted attribute: status
Feb 2 15:56:26 [postfix/smtpd] input attribute name: status
Feb 2 15:56:26 [postfix/smtpd] input attribute value: 0
Feb 2 15:56:26 [postfix/smtpd] private/proxymap socket: wanted attribute: flags
Feb 2 15:56:26 [postfix/smtpd] input attribute name: flags
Feb 2 15:56:26 [postfix/smtpd] input attribute value: 80
Feb 2 15:56:26 [postfix/smtpd] private/proxymap socket: wanted attribute: (list terminator)
Feb 2 15:56:26 [postfix/smtpd] input attribute name: (end)
Feb 2 15:56:26 [postfix/smtpd] dict_proxy_open: connect to map=unix:passwd.byname status=0 server_flags=0120
Feb 2 15:56:26 [postfix/smtpd] dict_open: proxy:unix:passwd.byname
Feb 2 15:56:26 [postfix/smtpd] dict_open: hash:/etc/mail/aliases
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: user = [***]
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: password = [***]
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: dbname = mail
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: table = virtual
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: select_field = dest
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: where_field = alias
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: additional_conditions = and status=1
Feb 2 15:56:26 [postfix/smtpd] cfg_get_str: /etc/postfix/mysql-virtual.cf: hosts = localhost
Feb 2 15:56:26 [postfix/smtpd] mysqlname_parse: /etc/postfix/mysql-virtual.cf: adding host 'localhost' to list of mysql server hosts
Feb 2 15:56:26 [postfix/smtpd] dict_open: mysql:/etc/postfix/mysql-virtual.cf
Feb 2 15:56:26 [postfix/smtpd] match_string: smtpd_access_maps ~? debug_peer_list
Feb 2 15:56:26 [postfix/smtpd] match_string: smtpd_access_maps ~? fast_flush_domains
Feb 2 15:56:26 [postfix/smtpd] match_string: smtpd_access_maps ~? mynetworks
Feb 2 15:56:26 [postfix/smtpd] match_string: smtpd_access_maps ~? permit_mx_backup_networks
Feb 2 15:56:26 [postfix/smtpd] match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Feb 2 15:56:26 [postfix/smtpd] match_string: smtpd_access_maps ~? relay_domains
Feb 2 15:56:26 [postfix/smtpd] match_string: smtpd_access_maps ~? smtpd_access_maps
Feb 2 15:56:26 [postfix/smtpd] smtpd_sasl_initialize: SASL config file is smtpd.conf
[b]Feb 2 15:56:26 [postfix/smtpd] sql_select option missing[/b]
Feb 2 15:56:26 [postfix/smtpd] auxpropfunc error no mechanism available_
Feb 2 15:56:26 [postfix/smtpd] match_string: fast_flush_domains ~? debug_peer_list
Feb 2 15:56:26 [postfix/smtpd] match_string: fast_flush_domains ~? fast_flush_domains
Feb 2 15:56:26 [postfix/smtpd] watchdog_create: 0x80a5830 18000
Feb 2 15:56:26 [postfix/smtpd] watchdog_stop: 0x80a5830
Feb 2 15:56:26 [postfix/smtpd] watchdog_start: 0x80a5830
Feb 2 15:56:26 [postfix/smtpd] connection established
Feb 2 15:56:26 [postfix/smtpd] master_notify: status 0
Feb 2 15:56:26 [postfix/smtpd] name_mask: resource
Feb 2 15:56:26 [postfix/smtpd] name_mask: software
Feb 2 15:56:26 [postfix/smtpd] name_mask: noanonymous
Feb 2 15:56:27 [postfix/smtpd] connect from ***domain mit IP***
Feb 2 15:56:27 [postfix/smtpd] match_list_match: ***domain***: no match
Feb 2 15:56:27 [postfix/smtpd] match_list_match: ***IP***: no match
Feb 2 15:56:27 [postfix/smtpd] match_list_match: ***domain***: no match
Feb 2 15:56:27 [postfix/smtpd] match_list_match: ***IP***: no match
Feb 2 15:56:27 [postfix/smtpd] > ***domain mit IP***: 220 xyz.no-ip.org ESMTP Postfix
Feb 2 15:56:27 [postfix/smtpd] watchdog_pat: 0x80a5830
Feb 2 15:56:34 [postfix/smtpd] < ***domain mit IP***: EHLO ***locale***
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250-xyz.no-ip.org
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250-PIPELINING
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250-SIZE 10240000
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250-VRFY
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250-ETRN
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250-AUTH=CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
Feb 2 15:56:34 [postfix/smtpd] match_list_match: ***domain***: no match
Feb 2 15:56:34 [postfix/smtpd] match_list_match: ***IP***: no match
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 250 8BITMIME
Feb 2 15:56:34 [postfix/smtpd] watchdog_pat: 0x80a5830
Feb 2 15:56:34 [postfix/smtpd] < ***domain mit IP***: AUTH LOGIN
Feb 2 15:56:34 [postfix/smtpd] smtpd_sasl_authenticate: sasl_method LOGIN
Feb 2 15:56:34 [postfix/smtpd] smtpd_sasl_authenticate: uncoded challenge: Username:
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 334 VXNlcm5hbWU6
Feb 2 15:56:34 [postfix/smtpd] < ***domain mit IP***: ZGFuaWVs
Feb 2 15:56:34 [postfix/smtpd] smtpd_sasl_authenticate: decoded response: ***user***
Feb 2 15:56:34 [postfix/smtpd] smtpd_sasl_authenticate: uncoded challenge: Password:
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 334 UGFzc3dvcmQ6
Feb 2 15:56:34 [postfix/smtpd] < ***domain mit IP***: ZGFuaWVs
Feb 2 15:56:34 [postfix/smtpd] smtpd_sasl_authenticate: decoded response: ***user***
Feb 2 15:56:34 [postfix/smtpd] warning: SASL authentication problem: unknown password verifier
Feb 2 15:56:34 [postfix/smtpd] warning: ***domain mit IP***: SASL LOGIN authentication failed
Feb 2 15:56:34 [postfix/smtpd] > ***domain mit IP***: 535 Error: authentication failed
Feb 2 15:56:34 [postfix/smtpd] watchdog_pat: 0x80a5830
Feb 2 15:56:35 [postfix/smtpd] < ***domain mit IP***: QUIT
Feb 2 15:56:35 [postfix/smtpd] > ***domain mit IP***: 221 Bye
Feb 2 15:56:35 [postfix/smtpd] disconnect from ***domain mit IP***
Feb 2 15:56:35 [postfix/smtpd] master_notify: status 1
Feb 2 15:56:35 [postfix/smtpd] connection closed
Feb 2 15:56:35 [postfix/smtpd] watchdog_stop: 0x80a5830
Feb 2 15:56:35 [postfix/smtpd] watchdog_start: 0x80a5830 |
Dabei ist mir die Mitteilung sql_select option missing aufgefallen. Nur deuten kann ich diese nicht.
Und wenn ich eine an den Mail-Server sende, dann bekomme ich folgende Logausgaben: Code: | Feb 2 16:46:22 [postfix/smtpd] connection established
Feb 2 16:46:22 [postfix/smtpd] master_notify: status 0
Feb 2 16:46:22 [postfix/smtpd] name_mask: resource
Feb 2 16:46:22 [postfix/smtpd] name_mask: software
Feb 2 16:46:22 [postfix/smtpd] name_mask: noanonymous
Feb 2 16:46:22 [postfix/smtpd] connect from mail.gmx.net[213.165.64.20]
Feb 2 16:46:22 [postfix/smtpd] match_list_match: mail.gmx.net: no match
Feb 2 16:46:22 [postfix/smtpd] match_list_match: 213.165.64.20: no match
Feb 2 16:46:22 [postfix/smtpd] match_list_match: mail.gmx.net: no match
Feb 2 16:46:22 [postfix/smtpd] match_list_match: 213.165.64.20: no match
Feb 2 16:46:22 [postfix/smtpd] > mail.gmx.net[213.165.64.20]: 220 xyz.no-ip.org ESMTP Postfix
Feb 2 16:46:22 [postfix/smtpd] watchdog_pat: 0x80a5830
Feb 2 16:46:22 [postfix/smtpd] < mail.gmx.net[213.165.64.20]: HELO mail.gmx.net
Feb 2 16:46:22 [postfix/smtpd] > mail.gmx.net[213.165.64.20]: 250 xyz.no-ip.org
Feb 2 16:46:22 [postfix/smtpd] watchdog_pat: 0x80a5830
Feb 2 16:46:22 [postfix/smtpd] < mail.gmx.net[213.165.64.20]: MAIL FROM:<mygmxaddr@gmx.de>
Feb 2 16:46:22 [postfix/smtpd] extract_addr: input: <mygmxaddr@gmx.de>
Feb 2 16:46:22 [postfix/smtpd] smtpd_check_addr: addr=mygmxaddr@gmx.de
Feb 2 16:46:22 [postfix/smtpd] ctable_locate: move existing entry key mygmxaddr@gmx.de
Feb 2 16:46:22 [postfix/smtpd] extract_addr: result: mygmxaddr@gmx.de
Feb 2 16:46:22 [postfix/smtpd] fsspace: .: block size 4096, blocks free 1082444
Feb 2 16:46:22 [postfix/smtpd] smtpd_check_size: blocks 4096 avail 1082444 min_free 0 msg_size_limit 10240000
Feb 2 16:46:22 [postfix/smtpd] > mail.gmx.net[213.165.64.20]: 250 Ok
Feb 2 16:46:22 [postfix/smtpd] watchdog_pat: 0x80a5830
Feb 2 16:46:23 [postfix/smtpd] < mail.gmx.net[213.165.64.20]: RCPT TO:<***user***@xyz.no-ip.org>
Feb 2 16:46:23 [postfix/smtpd] extract_addr: input: <***user***@xyz.no-ip.org>
Feb 2 16:46:23 [postfix/smtpd] smtpd_check_addr: addr=***user***@xyz.no-ip.org
Feb 2 16:46:23 [postfix/smtpd] ctable_locate: move existing entry key ***user***@xyz.no-ip.org
Feb 2 16:46:23 [postfix/smtpd] extract_addr: result: ***user***@xyz.no-ip.org
Feb 2 16:46:23 [postfix/smtpd] >>> START Recipient address RESTRICTIONS <<<
Feb 2 16:46:23 [postfix/smtpd] generic_checks: name=permit_sasl_authenticated
Feb 2 16:46:23 [postfix/smtpd] generic_checks: name=permit_sasl_authenticated status=0
Feb 2 16:46:23 [postfix/smtpd] generic_checks: name=permit_mynetworks
Feb 2 16:46:23 [postfix/smtpd] permit_mynetworks: mail.gmx.net 213.165.64.20
Feb 2 16:46:23 [postfix/smtpd] match_hostname: mail.gmx.net ~? 192.168.0.0/24
Feb 2 16:46:23 [postfix/smtpd] match_hostaddr: 213.165.64.20 ~? 192.168.0.0/24
Feb 2 16:46:23 [postfix/smtpd] match_hostname: mail.gmx.net ~? 127.0.0.0/8
Feb 2 16:46:23 [postfix/smtpd] match_hostaddr: 213.165.64.20 ~? 127.0.0.0/8
Feb 2 16:46:23 [postfix/smtpd] match_hostname: mail.gmx.net ~? 1.1.1.0/24
Feb 2 16:46:23 [postfix/smtpd] match_hostaddr: 213.165.64.20 ~? 1.1.1.0/24
Feb 2 16:46:23 [postfix/smtpd] match_hostname: mail.gmx.net ~? 212.209.128.118/32
Feb 2 16:46:23 [postfix/smtpd] match_hostaddr: 213.165.64.20 ~? 212.209.128.118/32
Feb 2 16:46:23 [postfix/smtpd] match_list_match: mail.gmx.net: no match
Feb 2 16:46:23 [postfix/smtpd] match_list_match: 213.165.64.20: no match
Feb 2 16:46:23 [postfix/smtpd] generic_checks: name=permit_mynetworks status=0
Feb 2 16:46:23 [postfix/smtpd] generic_checks: name=reject_unauth_destination
Feb 2 16:46:23 [postfix/smtpd] reject_unauth_destination: ***user***@xyz.no-ip.org
Feb 2 16:46:23 [postfix/smtpd] permit_auth_destination: ***user***@xyz.no-ip.org
Feb 2 16:46:23 [postfix/smtpd] ctable_locate: leave existing entry key ***user***@xyz.no-ip.org
Feb 2 16:46:23 [postfix/smtpd] NOQUEUE: reject: RCPT from mail.gmx.net[213.165.64.20]: 554 <***user***@xyz.no-ip.org>: Relay access denied; from=<mygmxaddr@gmx.de> to=<***user***@xyz.no-ip.org> proto=SMTP helo=<mail.gmx.net>
Feb 2 16:46:23 [postfix/smtpd] generic_checks: name=reject_unauth_destination status=2
Feb 2 16:46:23 [postfix/smtpd] > mail.gmx.net[213.165.64.20]: 554 <***user***@xyz.no-ip.org>: Relay access denied
Feb 2 16:46:23 [postfix/smtpd] watchdog_pat: 0x80a5830
Feb 2 16:46:23 [postfix/smtpd] < mail.gmx.net[213.165.64.20]: QUIT
Feb 2 16:46:23 [postfix/smtpd] > mail.gmx.net[213.165.64.20]: 221 Bye
Feb 2 16:46:23 [postfix/smtpd] disconnect from mail.gmx.net[213.165.64.20]
Feb 2 16:46:23 [postfix/smtpd] master_notify: status 1
Feb 2 16:46:23 [postfix/smtpd] connection closed
Feb 2 16:46:23 [postfix/smtpd] watchdog_stop: 0x80a5830
Feb 2 16:46:23 [postfix/smtpd] watchdog_start: 0x80a5830
|
Zusätzlich habe ich jetzt auch noch xinetd remerged und wollte dann den cyrus Dameon neustarten. Doch ich bekomme den gar nicht gestoppt. Code: | gentoo root # /etc/init.d/cyrus stop
* Stopping cyrus imapd... [ !! ] |
Habe mir daraufhin das Script angeschaut und musste feststellen das ich die cyrus-master.pid Datei überhaupt nicht habe. Ein Prozess selber gibt es lauf ps ax auch nicht.
Wie bekomme ich den jetzt gestoppt?
Habe jetzt noch mal netstat -an | grep LISTEN gemacht und die Ports 110 (POP3) und 143 (IMAP) werden jetzt nicht mehr abgehört. Sollte dafür aber nicht eigentlich auch cyrus zuständig sein oder ist xinetd von nöten? _________________ Gute Dinge, will Weile haben! |
|
Back to top |
|
|
Haldir Guru
Joined: 27 Sep 2002 Posts: 546
|
Posted: Wed Feb 02, 2005 4:19 pm Post subject: |
|
|
cyrus zap ist dein freund, das setzt den start/stop status auf stop zurück
Über den Rest enthalte ich mich jeglichen Kommentars, ich empfehl dir mal die Anleitung genau durchzulesen und die HowTos zu vergessen... |
|
Back to top |
|
|
Heinzelmännchen Apprentice
Joined: 11 Mar 2004 Posts: 179 Location: MV, Germany
|
Posted: Thu Feb 03, 2005 8:28 am Post subject: |
|
|
Haldir wrote: | cyrus zap ist dein freund, das setzt den start/stop status auf stop zurück
Über den Rest enthalte ich mich jeglichen Kommentars, ich empfehl dir mal die Anleitung genau durchzulesen und die HowTos zu vergessen... |
Danke, das mit dem zap ist mir wieder entfallen, sorry.
Welche Anleitung soll ich denn jetzt genau lesen? Sind HowTos nicht auch Anleitungen. Daher wäre dies für mich ein widerspruch.
Benötigt jetzt eigentlich cyrus xinetd und wo erwartet cyrus überhaupt die Mails? _________________ Gute Dinge, will Weile haben! |
|
Back to top |
|
|
Haldir Guru
Joined: 27 Sep 2002 Posts: 546
|
Posted: Thu Feb 03, 2005 1:10 pm Post subject: |
|
|
Ich bezog mich auf Anleitungen im Sinn von Handbüchern, du hast sicher nie die Configfile Referenz gelesen bzw. verstanden...
Desweiteren wenn du wirklich willst, dass dir hier einer hilft, poste nicht seitenweise logfiles, die nutzlosen Inhalt haben...
Du hast im ganzen Thread nicht einmal deine exakte Serverumgebung beschrieben, also wo der Server sitz, wer Mails an den Server schicken darf ob er Relay macht usw.
Danach können wir weiter sehen.
Apropos Cyrus, steht in der Anleitung was von XinetD?, schau nach, dann hast du deine Antwort... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|