boesi666
29.08.12, 15:50
moin zusammen,
habe einen vserver bei hetzner und auf diesem dort ebenfalls das serververwaltungstool ISPConfig installiert
dieser server soll auch mails empfangen und ich habe schon versucht die postfix config manuell anzupassen. allerdings kommen keine mails an dem server an. wenn ich von einen anderen rechner eine mail an diese domain nun schicke, kommt alle paar stunden eine mail zurück, dass diese mail noch nicht zugestellt werden konnte und es weiter probiert wird.
habe versucht auf meinem server in der konsole folgendes einzugeben:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^C^C^CConnection closed by foreign host.
Dabei kommt nach dem connect die meldung: Escape character is '^]'. und dann hängt er einfach nur noch und nix passiert mehr. komtm auch kein fehler- hab min nmap einen port scan gemacht. der sagt auch, dass der port offen ist.
habe bei meinem provider die dns daten angezeigt. habe nicht so viel ahnung davon aber folgendes steht da zumindest u.a. drin:
mail IN A festip
den postfix dienst stoppe, kommt:
wenn ich telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
also denke ich, dass der mailserver schon normal erreichbar ist, jedoch was mit der postfix konfig nicht stimmt
wenn ich ne mail an den mailserver schicke (software@hro-netz.de), dann sagt die mail.log:
Aug 29 16:38:46 Ubuntu-1204-precise-64-minimal postfix/smtpd[5597]:
Aug 29 16:38:46 Ubuntu-1204-precise-64-minimal postfix/smtpd[5597]: connect from moutng.kundenserver.de[212.227.17.8]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal pop3d: Connection, ip=[::ffff:127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal imapd: Connection, ip=[::ffff:127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: connect from localhost[127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: SSL_accept error from localhost[127.0.0.1]: lost connection
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: lost connection after CONNECT from localhost[127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: disconnect from localhost[127.0.0.1]
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/cleanup[5691]: warning: database /etc/postfix/sender_canonical.db is older than source file /etc/postfix/sender_canonical
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/pickup[4786]: 8E27E83D63: uid=33 from=<www-data>
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/cleanup[5691]: 8E27E83D63: message-id=<20120829144002.8E27E83D63@mail.hro-netz.de>
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 8E27E83D63: from=<www-data@mydomain>, size=907, nrcpt=1 (queue active)
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal maildrop[5696]: Unable to create a dot-lock at /var/vmail/mydomain/root/5696.0.Ubuntu-1204-precise-64-minimal.
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/pipe[5695]: 8E27E83D63: to=<root@mydomain>, orig_to=<root>, relay=maildrop, delay=0.15, delays=0.12/0.02/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/hro-netz.info/root/5696.0.Ubuntu-1204-precise-64-minimal. )
Aug 29 16:40:04 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: connect from moutng.kundenserver.de[212.227.126.186]
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 8F0A3835E8: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 54E75824D2: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 734FA837E9: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 703EB824BC: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: ADDC882A6F: from=<>, size=2932, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: A205782CEF: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: CFDF58244C: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: C0FF283665: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: EF5978363C: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: E15E8837C5: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: E9CF4836BC: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: E035283796: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 11F2383C94: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: B42D7835D5: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 2462F83618: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 3EDEF82CCE: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal maildrop[5702]: Unable to create a dot-lock at /var/vmail/mydomain/www-data/5702.0.Ubuntu-1204-precise-64-minimal.
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 4AE01839BF: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/pipe[5695]: 8F0A3835E8: to=<www-data@hro-netz.info>, relay=maildrop, delay=123855, delays=123855/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/hro-netz.info/www-data/5702.0.Ubuntu-1204-precise-64-minimal. )
A
die mail die dann zurück kommt hat u.a. folgenden inhalt:
This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of
its recipients after 2 days.
The message has not yet been delivered to the following addresses:
<software@festip>
mail transaction failed during initialization
meine /etc/postfix/main.cf :
mydestination = Ubuntu-1204-precise-64-minimal, localhost, localhost.localdomain
relayhost =
mynetworks = festip 127.0.0.0/8 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/li$
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 = /var/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.$
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
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domain$
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
smtpd_client_message_rate_limit = 100
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
owner_request_special = no
#content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
sender_canonical_maps = hash:/etc/postfix/sender_canonical
mit vielen der einträge in der config weiss ich gar nix anzufangen weil ich das zum ersten mal so machen
hab schon verschiedene tutorials gelesen und komme nicht wirklich klar. denke, dass einiges auch von diesem ispconfig3 tool herrührt
für HILFE Danke ich im voraus!!
habe einen vserver bei hetzner und auf diesem dort ebenfalls das serververwaltungstool ISPConfig installiert
dieser server soll auch mails empfangen und ich habe schon versucht die postfix config manuell anzupassen. allerdings kommen keine mails an dem server an. wenn ich von einen anderen rechner eine mail an diese domain nun schicke, kommt alle paar stunden eine mail zurück, dass diese mail noch nicht zugestellt werden konnte und es weiter probiert wird.
habe versucht auf meinem server in der konsole folgendes einzugeben:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^C^C^CConnection closed by foreign host.
Dabei kommt nach dem connect die meldung: Escape character is '^]'. und dann hängt er einfach nur noch und nix passiert mehr. komtm auch kein fehler- hab min nmap einen port scan gemacht. der sagt auch, dass der port offen ist.
habe bei meinem provider die dns daten angezeigt. habe nicht so viel ahnung davon aber folgendes steht da zumindest u.a. drin:
mail IN A festip
den postfix dienst stoppe, kommt:
wenn ich telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
also denke ich, dass der mailserver schon normal erreichbar ist, jedoch was mit der postfix konfig nicht stimmt
wenn ich ne mail an den mailserver schicke (software@hro-netz.de), dann sagt die mail.log:
Aug 29 16:38:46 Ubuntu-1204-precise-64-minimal postfix/smtpd[5597]:
Aug 29 16:38:46 Ubuntu-1204-precise-64-minimal postfix/smtpd[5597]: connect from moutng.kundenserver.de[212.227.17.8]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal pop3d: Connection, ip=[::ffff:127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal imapd: Connection, ip=[::ffff:127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: connect from localhost[127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: SSL_accept error from localhost[127.0.0.1]: lost connection
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: lost connection after CONNECT from localhost[127.0.0.1]
Aug 29 16:40:01 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: disconnect from localhost[127.0.0.1]
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/cleanup[5691]: warning: database /etc/postfix/sender_canonical.db is older than source file /etc/postfix/sender_canonical
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/pickup[4786]: 8E27E83D63: uid=33 from=<www-data>
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/cleanup[5691]: 8E27E83D63: message-id=<20120829144002.8E27E83D63@mail.hro-netz.de>
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 8E27E83D63: from=<www-data@mydomain>, size=907, nrcpt=1 (queue active)
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal maildrop[5696]: Unable to create a dot-lock at /var/vmail/mydomain/root/5696.0.Ubuntu-1204-precise-64-minimal.
Aug 29 16:40:02 Ubuntu-1204-precise-64-minimal postfix/pipe[5695]: 8E27E83D63: to=<root@mydomain>, orig_to=<root>, relay=maildrop, delay=0.15, delays=0.12/0.02/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/hro-netz.info/root/5696.0.Ubuntu-1204-precise-64-minimal. )
Aug 29 16:40:04 Ubuntu-1204-precise-64-minimal postfix/smtpd[5651]: connect from moutng.kundenserver.de[212.227.126.186]
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 8F0A3835E8: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 54E75824D2: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 734FA837E9: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 703EB824BC: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: ADDC882A6F: from=<>, size=2932, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: A205782CEF: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: CFDF58244C: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: C0FF283665: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: EF5978363C: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: E15E8837C5: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: E9CF4836BC: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: E035283796: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 11F2383C94: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: B42D7835D5: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 2462F83618: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 3EDEF82CCE: from=<>, size=2934, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal maildrop[5702]: Unable to create a dot-lock at /var/vmail/mydomain/www-data/5702.0.Ubuntu-1204-precise-64-minimal.
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/qmgr[4787]: 4AE01839BF: from=<>, size=2936, nrcpt=1 (queue active)
Aug 29 16:40:46 Ubuntu-1204-precise-64-minimal postfix/pipe[5695]: 8F0A3835E8: to=<www-data@hro-netz.info>, relay=maildrop, delay=123855, delays=123855/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/hro-netz.info/www-data/5702.0.Ubuntu-1204-precise-64-minimal. )
A
die mail die dann zurück kommt hat u.a. folgenden inhalt:
This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of
its recipients after 2 days.
The message has not yet been delivered to the following addresses:
<software@festip>
mail transaction failed during initialization
meine /etc/postfix/main.cf :
mydestination = Ubuntu-1204-precise-64-minimal, localhost, localhost.localdomain
relayhost =
mynetworks = festip 127.0.0.0/8 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/li$
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 = /var/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.$
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
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domain$
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
smtpd_client_message_rate_limit = 100
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
owner_request_special = no
#content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
sender_canonical_maps = hash:/etc/postfix/sender_canonical
mit vielen der einträge in der config weiss ich gar nix anzufangen weil ich das zum ersten mal so machen
hab schon verschiedene tutorials gelesen und komme nicht wirklich klar. denke, dass einiges auch von diesem ispconfig3 tool herrührt
für HILFE Danke ich im voraus!!