Networking Forums

Networking Forums > Computer Networking > Linux Networking > postfix port not visible to other machines

Reply
Thread Tools Display Modes

postfix port not visible to other machines

 
 
shrini
Guest
Posts: n/a

 
      03-28-2006, 04:37 AM
Friends.

I configured postfix mail server in my server.
It seems simple.
I entered all the details in mail.cf
then strarted.
nmap localhost shows port 25

but from other system nmap mailserver wont shows port 25.

i gave telnet mailserver 25
it gives connection failed.

what to do?

Thanks.

T.Shrinivasan.

 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      03-28-2006, 04:48 AM
On 27 Mar 2006 20:37:49 -0800, shrini wrote:
> Friends.
>
> I configured postfix mail server in my server.
> It seems simple.


Yep, was for me. Reading the docs helped.

> I entered all the details in mail.cf


Oh, hmmm, I just append what I wanted changed to /etc/postfix/main.cf

you can use
http://groups.google.com/advanced_group_search
to see my main.cf for LAN and WAN examples.

> then strarted.
> nmap localhost shows port 25
>
> but from other system nmap mailserver wont shows port 25.
>
> i gave telnet mailserver 25
> it gives connection failed.
>
> what to do?


check /var/log/mail and /var/log/messages

If tcwrappers is running I would set up /etc/hosts.allow/deny.
Examples for my LAN's domain ".home.invalid" on all nodes.

$ cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

ALL: LOCAL,.home.invalid

# End of hosts.allow.Run service xinetd reload


$ cat /etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

ALL: ALL:\
spawn ( \
/bin/echo -e "\n\
TCP Wrappers\: Connection Refused\n\
By\: $(uname -n)\n\
Process\: %d (pid %p)\n\
\n\
User\: %u\n\
Host\: %c\n\
Date\: $(date)\n\
" | /bin/mail -s \"$(uname -n)\" root ) & : DENY
 
Reply With Quote
 
Alo
Guest
Posts: n/a

 
      03-28-2006, 05:20 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

shrini wrote:

> nmap localhost shows port 25


In main.cf review "inet_interfaces".

"nmap -p 25 127.0.0.1" (localhost) works fine, but "nmap -p 25
the.local.ip.address" (Example : nmap -p 25 192.168.1.1 25)?

You have firewall blocking port 25 in your linux machine?

- --
Un saludo
Alo [alo(@)uk2.net]
PGP en http://pgp.eteo.mondragon.edu [Get "0xF6695A61 "]
Usuario registrado Linux #276144 [http://counter.li.org]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEKMexvzPPcPZpWmERAuDNAKC5SbPkZ4ZekNsIY5vblC Unh1291ACfaU6j
jbHrw5L4jafiNrxVngbqq28=
=lB+7
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      03-28-2006, 03:48 PM
"shrini" <(E-Mail Removed)> writes:

>Friends.


>I configured postfix mail server in my server.
>It seems simple.
>I entered all the details in mail.cf


What is mail.cf?

And the daemons are controlled from master.cf What are the contents of that
file?
And when you start up postfix are there error messages in /var/log/syslog
or messages?

>then strarted.
>nmap localhost shows port 25


>but from other system nmap mailserver wont shows port 25.


>i gave telnet mailserver 25
>it gives connection failed.


>what to do?


>Thanks.


>T.Shrinivasan.


 
Reply With Quote
 
shrini
Guest
Posts: n/a

 
      03-29-2006, 02:43 AM
Friends.

Thanks for your suggestions.

There is no firewall running in my systems.

In server, i can mail for internal users.
But the from address is like this
(E-Mail Removed)ldomain

I have already setup Bind DNS.
so, i doubt the error may be in dns configuration.

The forward lookup only occurs.
Reverse lookup shows errors.

And, the command dnsdomainname gives nothing in server and in client.

so, let me reconfigure my dns and tell you the status.

Thanks for your kind responses.

T.Shrinivasan.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mail server behind router port forwarding 25 domain static ip postfix lonux linux konqueror in progress Linux Networking 1 06-22-2007 01:28 PM
iptables - opening an inbound port but allowing access to all machines outbound Allan M. Bruce Linux Networking 1 06-12-2006 08:18 AM
Have 4 port router but 5 machines! Marvin G Windows Networking 9 09-30-2003 02:59 PM
DFS not visible Mike Robertson Windows Networking 0 08-25-2003 07:57 PM
Postfix not opening port to outside Dan Linux Networking 1 07-15-2003 12:57 AM



1 2 3 4 5 6 7 8 9 10 11