Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-04-2006, 01:03 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Lightbulb Postfix SMTP issue

Hi All,

I have installed postfix on redhat linux server Ver9, I have been using it for quite sometime and I have been facing a peculiar problem, This postfix mail server I have been using it for intra office communication, i.e only for internal office people communication only, but when I send mail to the internet address something like or something like, the mail goes out from mail server, I haven't given gateway or dns adress in the network configuration of my ethernet NIC, as server is not configured for internet use the mail should not route out of the local LAN, but in my case all our internal user are able to send mails to the outside world, I have to restrict this at the earliest, if anyone can help me out that would be great for me, I do run netstat -antp | grep 25 and I got the follwing message in my terminal,

[root@server2 postfix]# netstat -antp | grep 25
tcp 0 0* LISTEN
tcp 0 0 TIME_WAIT
[root@server2 postfix]#

Please help me out to resolve this problem.

Many thanks

Kannan B
Old 08-04-2006, 01:11 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 69
Can't you just pull it off the wan side of your network?

Also, can you post up your:
postconf -n
results so we can see your conf info. Feel free to remove personal/sensitive information (or simply alter it to something like

Old 08-04-2006, 02:17 AM   #3
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
This should do the job for you
Old 08-05-2006, 12:15 AM   #4
LQ Newbie
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0


Many thanks for replying, I have solved thism isssue by removing route information from my route entry, there was a route entry having route with netmask and through my internet gateway, I removed this entry by the command
"route del -net netmask gw etho" command and added a entry in "maximal-queue_lifetime = 0".
So this solved my problem and mails are not going out of my LAN as well as I'm getting the bounce back mail.

Many thanks

Kannan B


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
SMTP with POSTFIX shipon_97 Linux - Newbie 2 05-02-2006 03:33 PM
Postfix - Using for SMTP wfernley Linux - Newbie 3 12-29-2005 08:22 AM
postfix smtp issue(s) (fedora core 4) alfNtexas Linux - Software 4 10-05-2005 03:44 AM
Postfix and SMTP Phaethar Linux - Software 0 03-09-2004 08:29 AM
Help with Postfix and SMTP????? graystarr Linux - Software 1 03-10-2003 12:55 PM > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration