OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: sles 10 postfix

From: MrC (lists-postfixcappella.us)
Date: Thu Apr 26 2007 - 18:12:44 CDT


 
> SLES comes with Postfix 2.29 installed.
> I've got a test dns and mx record setup. I can get the box to
> output email to my other servers, but can't get it to receive
> anything. I keep getting "Connection Refused" even when I try
> to telnet to port 25.
>
> I've never setup Postfix where it wasn't relaying using the
> transport file and I must be missing something. If anyone has
> done this I'd be interested in how they got it to work.
>
> postconf -n output:
> alias_maps = hash:/etc/aliases
> biff = no
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/lib/postfix
> defer_transports =
> disable_dns_lookups = no
> disable_mime_output_conversion = no
> inet_interfaces = 127.0.0.1 ::1

Postfix is only listening on the loopback interface.

Either comment out inet_interfaces (default is to listen to all interfaces),
or add the additional specific interface IPs you want postfix to listen on.

> inet_protocols = all
> local_transport = local
> mail_owner = postfix
> mail_spool_directory = /var/mail
> PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb
> $daemon_directory/$process_name $process_id & sleep 5
> mailbox_command = mailbox_size_limit = 0 mailbox_transport =
> mailq_path = /usr/bin/mailq manpage_directory =
> /usr/share/man masquerade_domains = message_size_limit =
> 500000 mydestination = $myhostname, localhost.$mydomain,
> localhost mydomain = sparxxxribune-bixxxxxel.com myhostname =
> test.sparkstribune-bignickel.com mynetworks = 1XX.5.2XX.19,
> 192.168.135.190, 127.0.0.0/8 mynetworks_style = subnet
> myorigin = $myhostname newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix readme_directory = no
> relay_domains = $mydestination relayhost = sample_directory =
> /usr/share/doc/packages/postfix/samples
> 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_use_tls = no
> strict_8bitmime = no
> strict_rfc821_envelopes = no
> unknown_local_recipient_reject_code = 450
> virtual_alias_domains = hash:/etc/postfix/virtual
> virtual_alias_maps = hash:/etc/postfix/virtual