Jim Flanagan wrote:
Hi, I'm trying to complete my migration from my suse 8.2 box to my clean install of Suse 10.0 retail. All default w KDE except I'm running Cyrus imap. That's all working. My internet domain is set us as example.com and mail.example.com. I'm on a dynamic ip, with my fqdn resolved to this ip.
I can't seem to send/receive messages using thunderbird. I can send/receive using "mail". A telnet session does not seem to work correctly, see below,
linux:/home/user # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mail.example.com ESMTP Postfix HELO 501 Syntax: HELO hostname HELO client.example.com 250 mail.example.com MAIL FROM:
250 Ok RCPT TO: 250 Ok Test mail from a telnet session. 502 Error: command not implemented . 502 Error: command not implemented QUIT 221 Bye Connection closed by foreign host.
smtp connection needs these steps:
telnet mail.example.com 25
Trying xxx.xxx.xxx.xxx...
Connected to mail.example.com.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix
ehlo client.example.com
250-mail.example.com
mail from:
I'm not sure postfix is reading my subnet correctly,
postconf mynetworks mynetworks = 127.0.0.0/8 192.168.1.0/24 [::1]/128 [fe80::]/64
But my subnet is not in the 192.168.1.0/24 range. I tried setting it manually to my range, but got an error on postfix reload. Pehaps I'm not setting it correclty, or I need to do something with ifconfig. My ethernet card is set up by the yast default install. Connected to my nat router (small box). All local machines, including my new and old mail server get ip via dhcp from this router.
Always set a server up with a static ip.
At present postconf -n returns...
postconf -n alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no disable_mime_output_conversion = no html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all inet_protocols = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 51200000 mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_exceptions = root message_size_limit = 10240000 mydestination = $mydomain, $myhostname, localhost mydomain = example.com myhostname = mail.example.com myorigin = $mydomain newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = localhost
Uh, what is that supposed to do? This should be the mail server of your isp or you can leave it empty and try to send directly. Though that will lead to many rejected mails from big isp that refuse to accept mails from dynamic ips.
relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = no smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_use_tls = no strict_8bitmime = yes strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550
The actual hostname of this box is not FQDN, but something like linux.local
Any help appreciated. I need to move my email off my 8.2 box as security fixes aren't being supported any longer.
Log entries? I am flying blind here! Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com