Hello friends There is a problem, i can not solve. I badly need help, because some people have no posibility to receive mails. I use a virtual server with suse9.2 where ISP-config is runnig. I generated some webs and users. Everything works fine, but the smtp-server. If I send a mail to an user who exists on the server, I get a message like that: Code: 451 4.0.0 Local error in processing Warning: message still undelivered after 4 hours. Will keep trying until message is 5 days, 0 hours old It is no problem, to receive mails from the server via pop3, but neither sending an mail to any user nor connecting directly via smtp is possible. I don't know, where to search. Everything I tried, failed. ISP-config means, that smtp is active and port 25 is open. I don't understand exactly what the problem is. Maybe you do. I hope so. edit: # netstat -tap Code: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:imaps *:* LISTEN 1560/couriertcpd tcp 0 0 *:pop3s *:* LISTEN 1535/xinetd tcp 0 0 *:mysql *:* LISTEN 1517/mysqld tcp 0 0 *:pop3 *:* LISTEN 1535/xinetd tcp 0 0 *:sunrpc *:* LISTEN 6712/portmap tcp 0 0 *:imap *:* LISTEN 1548/couriertcpd tcp 0 0 *:www-http *:* LISTEN 10750/httpd2-prefor tcp 0 0 *:hosts2-ns *:* LISTEN 1732/ispconfig_http tcp 0 0 *:ftp *:* LISTEN 9837/proftpd: (acce tcp 0 0 rm-infotainment.:domain *:* LISTEN 31775/named tcp 0 0 h1067088.serverk:domain *:* LISTEN 31775/named tcp 0 0 *:ssh *:* LISTEN 1529/sshd tcp 0 0 *:smtp *:* LISTEN 26223/master tcp 0 0 h1067088.serverkomp:953 *:* LISTEN 31775/named tcp 0 0 *:https *:* LISTEN 10750/httpd2-prefor tcp 0 0 rm-infotainment.com:ssh Cf9b4.c.strato-ds:63442 ESTABLISHED 24782/1 tcp 0 2016 rm-infotainment.com:ssh Cf9b4.c.strato-ds:63720 ESTABLISHED 30481/4 tcp 0 0 rm-infotainment.com:ssh Cf9b4.c.strato-ds:63470 ESTABLISHED 26021/2 tcp 0 0 rm-infotainment.com:ssh 141.30.85.172:34122 ESTABLISHED 5283/sshd: topgig [ tcp 0 0 rm-infotainment.com:ssh Cf9b4.c.strato-ds:63667 ESTABLISHED 29151/3 # postconf -n|grep mynetworks Code: smtpd_recipient_restrictions = [code] permit_sasl_authenticated,permit_mynetworks,check_relay_domains [/CODE] # postconf -d|grep mynetworks Code: mynetworks = 127.0.0.0/8 127.0.0.1/32 85.214.75.85/32 mynetworks_style = subnet parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps 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 smtpd_client_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks} smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
/var/log/mail* yes there are some messages, but I cannot understand them. Maybe I'm a little bit stupit. Here are the "tails" of my logfiles! var/log/mail Code: atus=sent (delivered to maildir) Nov 24 17:39:30 h1067088 postfix/qmgr[6674]: 97C0C8FC19E: removed Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection rate 1/60s for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection count 1 for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max cache size 1 at Nov 24 17:39:30 h1067088:/var/log # tail mail Nov 24 17:39:30 h1067088 postfix/cleanup[16807]: 97C0C8FC19E: message-id=<[email protected]> Nov 24 17:39:30 h1067088 postfix/qmgr[6674]: 97C0C8FC19E: from=<[email protected]>, size=1242, nrcpt=1 (queue active) Nov 24 17:39:30 h1067088 postfix/smtpd[16803]: disconnect from mout22.kundenservices.net[81.169.163.92] Nov 24 17:39:30 h1067088 postfix/local[16808]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 24 17:39:30 h1067088 postfix/local[16808]: warning: inet_protocols: configuring for IPv4 support only Nov 24 17:39:30 h1067088 postfix/local[16808]: 97C0C8FC19E: to=<[email protected]>, orig_to=<postmaster>, relay=local, delay=0, status=sent (delivered to maildir) Nov 24 17:39:30 h1067088 postfix/qmgr[6674]: 97C0C8FC19E: removed Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection rate 1/60s for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection count 1 for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max cache size 1 at Nov 24 17:39:30 h1067088:/var/log # tail mail Nov 24 17:39:30 h1067088 postfix/cleanup[16807]: 97C0C8FC19E: message-id=<[email protected]> Nov 24 17:39:30 h1067088 postfix/qmgr[6674]: 97C0C8FC19E: from=<[email protected]>, size=1242, nrcpt=1 (queue active) Nov 24 17:39:30 h1067088 postfix/smtpd[16803]: disconnect from mout22.kundenservices.net[81.169.163.92] Nov 24 17:39:30 h1067088 postfix/local[16808]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 24 17:39:30 h1067088 postfix/local[16808]: warning: inet_protocols: configuring for IPv4 support only Nov 24 17:39:30 h1067088 postfix/local[16808]: 97C0C8FC19E: to=<[email protected]>, orig_to=<postmaster>, relay=local, delay=0, status=sent (delivered to maildir) Nov 24 17:39:30 h1067088 postfix/qmgr[6674]: 97C0C8FC19E: removed Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection rate 1/60s for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection count 1 for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max cache size 1 at Nov 24 17:39:30 var/log/mail.err Code: Oct 23 13:22:10 h1067088 sendmail[1635]: filesys_update failed: Stale NFS file handle, fs=., avail=-1, blocksize=-1073755128 Oct 23 13:23:10 h1067088 sendmail[1635]: filesys_update failed: Stale NFS file handle, fs=., avail=-1, blocksize=-1073755128 Oct 23 13:24:10 h1067088 sendmail[1635]: filesys_update failed: Stale NFS file handle, fs=., avail=-1, blocksize=-1073755128 Oct 23 13:25:10 h1067088 sendmail[1635]: filesys_update failed: Stale NFS file handle, fs=., avail=-1, blocksize=-1073755128 Oct 23 13:26:10 h1067088 sendmail[1635]: filesys_update failed: Stale NFS file handle, fs=., avail=-1, blocksize=-1073755128 Nov 23 14:34:53 h1067088 postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration) Nov 23 14:35:43 h1067088 postfix[28062]: fatal: usage: postfix [-c config_dir] [-Dv] command Nov 23 14:36:57 h1067088 postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration) Nov 23 15:21:36 h1067088 postfix/master[31515]: fatal: dictionary mail_dict: macro processing error Nov 23 14:22:40 h1067088 postfix/postqueue[31720]: fatal: Cannot flush mail queue - mail system is down var/log/mail.info Code: Nov 24 17:39:30 h1067088 postfix/cleanup[16807]: 97C0C8FC19E: message-id=<[email protected]> Nov 24 17:39:30 h1067088 postfix/qmgr[6674]: 97C0C8FC19E: from=<[email protected]>, size=1242, nrcpt=1 (queue active) Nov 24 17:39:30 h1067088 postfix/smtpd[16803]: disconnect from mout22.kundenservices.net[81.169.163.92] Nov 24 17:39:30 h1067088 postfix/local[16808]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 24 17:39:30 h1067088 postfix/local[16808]: warning: inet_protocols: configuring for IPv4 support only Nov 24 17:39:30 h1067088 postfix/local[16808]: 97C0C8FC19E: to=<[email protected]>, orig_to=<postmaster>, relay=local, delay=0, status=sent (delivered to maildir) Nov 24 17:39:30 h1067088 postfix/qmgr[6674]: 97C0C8FC19E: removed Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection rate 1/60s for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max connection count 1 for (smtp:81.169.163.92) at Nov 24 17:39:30 Nov 24 17:42:50 h1067088 postfix/anvil[16805]: statistics: max cache size 1 at Nov 24 17:39:30
What's the output of Code: postfix check ? What's in /etc/postfix/main.cf (please strip out the comments)?
Thank you, for your help # postfix check Code: postfix: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol postfix: warning: inet_protocols: configuring for IPv4 support only postsuper: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol postsuper: warning: inet_protocols: configuring for IPv4 support only and the content of: main.cf Code: queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/lib/postfix mail_owner = postfix unknown_local_recipient_reject_code = 550 debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = maildrop html_directory = /usr/share/doc/packages/postfix/html manpage_directory = /usr/share/man sample_directory = /usr/share/doc/packages/postfix/samples readme_directory = /usr/share/doc/packages/postfix/README_FILES inet_protocols = all biff = no mydomain = rm-infotainment.com myhostname = www.$mydomain smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = [code] permit_sasl_authenticated,permit_mynetworks,check_relay_domains inet_interfaces = all alias_maps = hash:/etc/aliases smtpd_tls_auth_only = no smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom home_mailbox = Maildir/ mailbox_command = virtual_maps = hash:/etc/postfix/virtusertable relay_domains = $mydestination mydestination = /etc/postfix/local-host-names [/CODE]
Looks ok. Make sure your firewall and your ISP don't block port 25. What's your server's IP address? I could try to connect then.
I can connect without problems, and your DNS records look ok, too: Code: mh1:~# telnet 85.214.75.85 25 Trying 85.214.75.85... Connected to 85.214.75.85. Escape character is '^]'. 220 www.rm-infotainment.com ESMTP Postfix ehlo localhost 250-www.rm-infotainment.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250 8BITMIME quit 221 Bye Connection closed by foreign host. mh1:~# dig mx topgig.de ; <<>> DiG 9.2.1 <<>> mx topgig.de ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59855 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;topgig.de. IN MX ;; ANSWER SECTION: topgig.de. 1800 IN MX 20 mx0.serverkompetenz.de. topgig.de. 1800 IN MX 10 topgig.de. ;; Query time: 36 msec ;; SERVER: 81.169.163.104#53(81.169.163.104) ;; WHEN: Mon Nov 27 14:28:40 2006 ;; MSG SIZE rcvd: 79 mh1:~# dig topgig.de ; <<>> DiG 9.2.1 <<>> topgig.de ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45754 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;topgig.de. IN A ;; ANSWER SECTION: topgig.de. 1789 IN A 85.214.75.85 ;; Query time: 3 msec ;; SERVER: 81.169.163.104#53(81.169.163.104) ;; WHEN: Mon Nov 27 14:28:52 2006 ;; MSG SIZE rcvd: 43
hm ok so far, but I don't understand, why this server accepts no mails. if I send an email to any user on this server e.g with moz.thunderbird, the mail returns. Even internal mailing is broken. 'Pine' dies, while it tries sending an server-internal mail. What could be the reason PS: Wir können es auch auf Deutsch probieren, wenn das hier im Forum kein Problem ist
Please send a mail to your server and at the same time run Code: tail -f /var/log/mail What do you see? No. English please so that others can participate.
ok When I sent a mail from thunderbird to [email protected] I got the following output: Code: Nov 29 23:15:07 h1067088 postfix/smtpd[19843]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:15:07 h1067088 postfix/smtpd[19843]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:15:07 h1067088 postfix/proxymap[19844]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:15:07 h1067088 postfix/proxymap[19844]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:15:07 h1067088 postfix/smtpd[19843]: connect from mo-p00-ob.rzone.de[81.169.146.161] Nov 29 23:15:07 h1067088 postfix/anvil[19846]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:15:07 h1067088 postfix/anvil[19846]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:15:07 h1067088 postfix/trivial-rewrite[19847]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:15:07 h1067088 postfix/trivial-rewrite[19847]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:15:07 h1067088 postfix/smtpd[19843]: warning: unknown smtpd restriction: "[code] permit_sasl_authenticated" Nov 29 23:15:07 h1067088 postfix/smtpd[19843]: NOQUEUE: reject: RCPT from mo-p00-ob.rzone.de[81.169.146.161]: 451 Server configuration error; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mo-p00-ob.rzone.de> Nov 29 23:15:07 h1067088 postfix/smtpd[19843]: lost connection after RCPT from mo-p00-ob.rzone.de[81.169.146.161] Nov 29 23:15:07 h1067088 postfix/cleanup[19849]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:15:08 h1067088 postfix/cleanup[19849]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:15:08 h1067088 postfix/cleanup[19849]: 02BEC8FC008: message-id=<[email protected]> Nov 29 23:15:08 h1067088 postfix/qmgr[16654]: 02BEC8FC008: from=<[email protected]>, size=919, nrcpt=1 (queue active) Nov 29 23:15:08 h1067088 postfix/smtpd[19843]: disconnect from mo-p00-ob.rzone.de[81.169.146.161] Nov 29 23:15:08 h1067088 postfix/local[19850]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:15:08 h1067088 postfix/local[19850]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:15:08 h1067088 postfix/local[19850]: 02BEC8FC008: to=<[email protected]>, orig_to=<postmaster>, relay=local, delay=1, status=sent (delivered to maildir) Nov 29 23:15:08 h1067088 postfix/qmgr[16654]: 02BEC8FC008: removed [/CODE] An internal mail to the same adress produces this output Code: Nov 29 23:17:32 h1067088 postfix/sendmail[19921]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:17:32 h1067088 postfix/sendmail[19921]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:17:32 h1067088 postfix/smtpd[19921]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:17:32 h1067088 postfix/smtpd[19921]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:17:32 h1067088 postfix/smtpd[19921]: connect from localhost[127.0.0.1] Nov 29 23:18:28 h1067088 postfix/anvil[19846]: statistics: max connection rate 1/60s for (smtp:81.169.146.161) at Nov 29 23:15:07 Nov 29 23:18:28 h1067088 postfix/anvil[19846]: statistics: max connection count 1 for (smtp:81.169.146.161) at Nov 29 23:15:07 Nov 29 23:18:28 h1067088 postfix/anvil[19846]: statistics: max cache size 1 at Nov 29 23:15:07 Nov 29 23:21:08 h1067088 postfix/smtpd[20088]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:21:08 h1067088 postfix/smtpd[20088]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:21:08 h1067088 postfix/smtpd[20088]: connect from mo-p00-ob.rzone.de[81.169.146.161] Nov 29 23:21:08 h1067088 postfix/anvil[20089]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:21:08 h1067088 postfix/anvil[20089]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:21:08 h1067088 postfix/trivial-rewrite[20090]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:21:08 h1067088 postfix/trivial-rewrite[20090]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:21:08 h1067088 postfix/smtpd[20088]: warning: unknown smtpd restriction: "[code] permit_sasl_authenticated" Nov 29 23:21:08 h1067088 postfix/smtpd[20088]: NOQUEUE: reject: RCPT from mo-p00-ob.rzone.de[81.169.146.161]: 451 Server configuration error; from=<s [email protected]> to=<[email protected]> proto=ESMTP helo=<mo-p00-ob.rzone.de> Nov 29 23:21:08 h1067088 postfix/smtpd[20088]: lost connection after RCPT from mo-p00-ob.rzone.de[81.169.146.161] Nov 29 23:21:08 h1067088 postfix/cleanup[20091]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:21:08 h1067088 postfix/cleanup[20091]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:21:08 h1067088 postfix/cleanup[20091]: CE66C8FC008: message-id=<[email protected]> Nov 29 23:21:08 h1067088 postfix/qmgr[16654]: CE66C8FC008: from=<[email protected]>, size=919, nrcpt=1 (queue active) Nov 29 23:21:08 h1067088 postfix/local[20092]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol Nov 29 23:21:08 h1067088 postfix/smtpd[20088]: disconnect from mo-p00-ob.rzone.de[81.169.146.161] Nov 29 23:21:08 h1067088 postfix/local[20092]: warning: inet_protocols: configuring for IPv4 support only Nov 29 23:21:08 h1067088 postfix/local[20092]: CE66C8FC008: to=<[email protected]>, orig_to=<postmaster>, relay=local, delay=0, status=sen t (delivered to maildir) Nov 29 23:21:08 h1067088 postfix/qmgr[16654]: CE66C8FC008: removed [/CODE] is ipv6 the problem?
I think this is the problem: Code: Nov 29 23:15:07 h1067088 postfix/smtpd[19843]: warning: unknown smtpd restriction: "permit_sasl_authenticated" What's in /etc/postfix/main.cf (please strip out the comments)? What's the output of Code: telnet localhost 25 ehlo localhost ?
Please run Code: postconf -e 'smtpd_sasl_local_domain =' postconf -e 'smtpd_sasl_auth_enable = yes' postconf -e 'smtpd_sasl_security_options = noanonymous' postconf -e 'broken_sasl_auth_clients = yes' postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains' postconf -e 'inet_interfaces = all' postconf -e 'alias_maps = hash:/etc/aliases' postconf -e 'smtpd_tls_auth_only = no' postconf -e 'smtp_use_tls = yes' postconf -e 'smtpd_use_tls = yes' postconf -e 'smtp_tls_note_starttls_offer = yes' postconf -e 'smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key' postconf -e 'smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt' postconf -e 'smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem' postconf -e 'smtpd_tls_loglevel = 1' postconf -e 'smtpd_tls_received_header = yes' postconf -e 'smtpd_tls_session_cache_timeout = 3600s' postconf -e 'tls_random_source = dev:/dev/urandom' and restart Postfix.