OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: 421 Service not available

From: Brian Evans (grknightscent-team.com)
Date: Fri Apr 25 2008 - 08:53:08 CDT


El Neofito wrote:
> Dear All,
>
> I got "421 4.3.2 Service shutting down, closing channel" in all
> scenarios using 'telnet localhost 25' be it sending to external and
> local users despite all services are up n running.
>
> Excerpt:
> Apr 25 18:33:46 fotohubmail postfix/smtp[7740]: 7C2C3D8DC3:
> to=<adminimumxxmail.dyndns.org>, orig_to=<adminimum>,
> relay=127.0.0.1[127.0.0.1]:10024, delay=5802,
> delays=5796/3.9/1.8/0.07, dsn=4.3.2, status=deferred (host
> 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
> channel (in reply to end of DATA command))
Notice the "relay=127.0.0.1[127.0.0.1]:10024". This is what is not
responding. Check and/or post your master.cf to figure what this is.
Note: i hope this is `postconf -n` below and not a copy/paste of main.cf.

Brian
>
> Note i am using dyndns account to test this SuSE10.3 server.
>
> 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
> home_mailbox = Maildir/
> 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 = 0
> mailbox_transport =
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> masquerade_classes = envelope_sender, header_sender, header_recipient
> masquerade_domains =
> masquerade_exceptions = root
> message_size_limit = 10240000
> mydestination = $myhostname, localhost.$mydomain
> myhostname = xxmail.dyndns.org
> mynetworks_style = subnet
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/packages/postfix/README_FILES
> relay_domains = dyndns.org,xxmail.dyndns.org
> relayhost =
> 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 = no
> strict_rfc821_envelopes = no
> transport_maps = hash:/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_domains = hash:/etc/postfix/virtual
> virtual_alias_maps = hash:/etc/postfix/virtual
>
> Thanks a million!
> Fred