Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 11-28-2005, 03:41 PM   #1
LQ Newbie
Registered: Feb 2003
Posts: 15

Rep: Reputation: 0
SUSE as an internal mail server

I have recently installed SUSE 10 and wanted to set it up as a mail server for our internal network. I computer only has one network card and I can't seem to get the firewall to open the proper port. When I type netstat -l it shows two rules for smtp both are the same.
tcp localhost:smtp *.* LISTEN
Should there not be a rule like tcp *:smtp *.* LISTEN ? I have enabled mail server on the external interface in Yast under firewall but it does not change any of the rules. Is there something in Postfix that needs to be changed or is the SUSE firewall not working properly because I only have one nic? I can telnet localhost 25 but I cannot telnet realip 25. Any help would be great!

Thanks in advance,
Old 11-28-2005, 05:44 PM   #2
LQ Newbie
Registered: Nov 2005
Location: Cortlandt Manor, NY
Distribution: FreeBSD, RHEL, CentOS, Slack
Posts: 16

Rep: Reputation: 0
yes, you need to tell postfix to listen on more then just localhost.

edit your, you most likely have something like this

#inet_interfaces = all
inet_interfaces = localhost
Switch the line thats commented, the do postfix reload and you should be set.
Old 11-29-2005, 09:51 AM   #3
LQ Newbie
Registered: Feb 2003
Posts: 15

Original Poster
Rep: Reputation: 0
I had done what you suggested and it didn't seem to help but then I uncommented the mynetworks = and added my network range and everything seems to be working now. Thanks for your help though. The SUSE postfix config file is a little wierd with a lot of the config at the very end of the file. Here was my working file. Hope this might help if anyone else has problems.

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 550
mynetworks =,
debug_peer_level = 2
debugger_command =
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
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname =
mydomain =
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname, $mydomain, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal/External Mail Server Aeiedil Linux - Software 27 10-13-2009 10:16 AM
How to Setup an Internal Mail Server in Linux? denu_love Linux - Newbie 1 09-04-2004 07:03 AM
How to Setup an Internal Mail Server with Linux? denu_love Linux - Software 1 09-04-2004 07:02 AM
Internal Mail Server Question Breezwell Linux - Software 4 01-24-2004 08:25 PM
Postfix relaying mail to internal mail server tradecraft1 Linux - Networking 2 10-28-2003 04:01 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration