LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2004, 02:40 PM   #1
Strixy
Member
 
Registered: Apr 2004
Location: Nowhere, Oblivion
Distribution: Ubuntu
Posts: 48

Rep: Reputation: 15
Working with SMTP and Postfix


I am trying to open port 25 for postfix, or otherwise figure out what's going on.

nmap localhost

returns the following

PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
etc...

nmap 192.167.1.123 and .1 and mydomain.com

return

PORT STATE SERVICE
80/tcp open http
etc...

It seems that somewhere along the line something is blocking port 25. I am wondering what it could be? My ISP isn't blocking port 25 (Shouldn't be a concern anyway) but I can't determine what the heck is causing it. I've looked at the router and looked at the IP tables/firewall and everything there seems fine (I'm new at this, so I may be reading it wrong).

Am I missing something? Do you need more information to help me solve the problem?

I'm running Ubuntu/Debian.
 
Old 12-12-2004, 05:20 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The default config of SMTP servers to only listen to localhost. The reason is that SMTP is used by internal services to send information by e-mail to the administrator, and on most Linux systems it shouldn't be relaying messages from other machines.

If you look in /etc/aliases you will see that lots of accounts are aliased to 'root', and at bottom there is a note to alias root itself to the e-mail address of the administrator. When you've done that, run 'newaliases' for the change to take effect. You'll then start getting messages through to your account from various automated processes.

To enable your system to act as the mail server for a domain you'll need to edit /etc/postfix/main.cf. It's fairly well commented, and the documentation on postfix.org is helpful as well, from what I remember.

Hope that helps.
 
  


Reply


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
Postfix - Using for SMTP wfernley Linux - Newbie 3 12-29-2005 08:22 AM
Postfix and SMTP Phaethar Linux - Software 0 03-09-2004 08:29 AM
Postfix newbie - send to ISP SMTP server not working deanquanne Linux - Software 2 11-05-2003 01:22 PM
postfix smtp bas_vdl Linux - Networking 0 10-19-2003 04:24 PM
Help with Postfix and SMTP????? graystarr Linux - Software 1 03-10-2003 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:54 AM.

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