I have installed SuSE 9 Pro and things are looking good. However, I'm having problems getting may mail systems working exactly right. I have configured Postfix, Cyrus-IMAP and Fetchmail and so far Postfix appears to work with Cyrus ok, (hence I am able to send this email) but all mail delivered via sent to Postfix from Fetchmail is bounced as not going to a known user. I have included a few lines from /var/log/mail and a few from postconf for your perusal. arizona:~ # grep -i "2C32D46A" /var/log/mail Dec 3 14:58:31 arizona postfix/smtpd[4042]: 2C32D46A: client=arizona.local[127.0.0.2] Dec 3 14:58:31 arizona postfix/cleanup[4044]: 2C32D46A: message-id=<3FCDF833.8030404@execpc.com> Dec 3 14:58:31 arizona postfix/qmgr[3013]: 2C32D46A: from=<suse-linux-e-return-169981-sylvanus=syrene.fsnet.co.uk@suse.com>, size=3183, nrcpt=1 (queue active) Dec 3 14:58:32 arizona postfix/smtp[4058]: 2C32D46A: to=<postmaster@arizona.local>, relay=none, delay=1, status=bounced (Name service error for name=localhost type=A: Host not found) arizona:~ # arizona:~ # postconf -nv alias_maps = hash:/etc/aliases canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_filter = vscan: daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no inet_interfaces = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 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_domains = $mydomain, syrene.fsnet.co.uk masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, $mydomain, $myorigin, localhost arizona.$myorigin localhost.$mydomain, localhost.$myorigin mydomain = local myhostname = arizona.local myorigin = syrene.fsnet.co.uk newaliases_path = /usr/bin/newaliases notify_classes = bounce, 2bounce, delay, policy, protocol, resource, software program_directory = /usr/lib/postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = smtp.freeserve.net 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 = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_use_tls = no smtpd_client_restrictions = smtpd_helo_required = yes smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = no smtpd_sender_restrictions = hash:/etc/postfix/access, reject_unknown_sender_domain smtpd_use_tls = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 450 arizona:~ # Regards, Sylvanus -- Love at first sight is one of the greatest labor-saving devices the world has ever seen. ---------- Forwarded Message ---------- Subject: Postmaster Copy: Undelivered Mail Date: Wed 03 Dec 2003 14:58 From: MAILER-DAEMON@syrene.fsnet.co.uk (Mail Delivery System) To: postmaster@syrene.fsnet.co.uk <postmaster@arizona.local>: Name service error for name=localhost type=A: Host not found ------------------------------------------------------- -- Life is like a simile.
The Wednesday 2003-12-03 at 15:24 -0000, Sylvanus A. Currie wrote:
I have configured Postfix, Cyrus-IMAP and Fetchmail and so far Postfix appears to work with Cyrus ok, (hence I am able to send this email) but all mail delivered via sent to Postfix from Fetchmail is bounced as not going to a known user.
Dec 3 14:58:31 arizona postfix/qmgr[3013]: 2C32D46A: from=<suse-linux-e-return-169981-sylvanus=syrene.fsnet.co.uk@suse.com>, size=3183, nrcpt=1 (queue active)
Dec 3 14:58:32 arizona postfix/smtp[4058]: 2C32D46A: to=<postmaster@arizona.local>, relay=none, delay=1, status=bounced (Name service error for name=localhost type=A: Host not found)
What does the command: host -t MX localhost say? probably nothing: failure. You must ensure that the address to which postfix is sending is resolved with a valid MX entry. It should perhaps go to "arizona.something" instead. Mine does it like: Dec 3 20:08:47 nimrodel postfix/qmgr[2775]: EB26613B8A: from=<suse-linux-e-return-*****@suse.com>, size=2436, nrcpt=1 (queue active) Dec 3 20:08:47 nimrodel postfix/pipe[8237]: 48F3313AE5: to=<cer@localhost.nimrodel.valinor>, orig_to=<cer@localhost>, relay=vscan, delay=1, status=sent (nimrodel.valinor) Ah, that "orig_to"... How do I do that, I wonder? And it is somewhat incorrect, it should be "cer@lnimrodel.valinor". I didn't do anything special, so it must be something different in your setup. Mmm, mine is handled by "postfix/pipe", yours by "postfix/smtp"... Is yours perhaps trying to send it to the outside (smtp)? I think it is not recognizing "arizona.local" as local. I have: mydestination = $myhostname, localhost.$mydomain myhostname = nimrodel.valinor # mydomain #-- not defined # myorigin #-- not defined You have: mydestination = $myhostname, $mydomain, $myorigin, localhost \ arizona.$myorigin localhost.$mydomain, localhost.$myorigin mydomain = local myorigin = syrene.fsnet.co.uk myhostname = arizona.local Perhaps removing "mydomain"? A wild guess. -- Cheers, Carlos Robinson
participants (2)
-
Carlos E. R.
-
Sylvanus A. Currie