LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-30-2009, 10:32 PM   #1
Vimuth
Member
 
Registered: Sep 2009
Posts: 56

Rep: Reputation: 15
Basic postfix configuration problem


Greetings gentlemen! I'm in the attempt of configuring my first postfix mail server in a rhel5 box. I compiled the packages from the source and postfix seems to be running alright.
[root@homeboy1 postfix]# ps -ef | grep master
root 6542 1 0 05:14 ? 00:00:00 /usr/libexec/postfix/maste[/B]r

following are the only few amendments that I've done on my main.cf
myhostname = homeboy1.homenet.internal
mydomain = homenet.internal
myorigin = $myhostname
mydestination = $myhostname, localhost

I restarted postfix and tried sending mail to the user "vimuth" that resides in my local machine with "sendmail -v vimuth" but the message is getting stucked at mailq. My mailq appears as follows..

CE56818FD08* 321 Tue Dec 1 04:52:01 root@homeboy1.homenet.internal
vimuth@homeboy1.homenet.internal

Note binddns runs in the same machine and following is from my "etc/hosts" file..

#127.0.0.1 homeboy1 localhost.localdomain localhost
192.168.1.12 homeboy1

Following is from my "/etc/sysconfig/networks" file..

NETWORKING=yes
HOSTNAME=homeboy1
GATEWAY=192.168.1.1

Last but not least here are some directives from my zone file from /var/named/

IN NS homeboy1.homenet.internal.
homeboy1 IN A 192.168.1.12
vimuth-laptop IN A 192.168.1.9

All I want is to test mail delivery among the local users of the same box before exploring the big picture of postfix. Please someone help out.

By the way earlier I had a failed attempt compiling sendmail on same machine. But before installing postfix I made sure that I renamed all sendmail related files. However when I do this "rpm -qf /usr/sbin/sendmail" the result is "exim-4.63-3.el5".

Many many thanks in advance Gentleman. Counting on a faster resp.

Regards
Vimuth
 
Old 12-01-2009, 12:26 AM   #2
grep65535
LQ Newbie
 
Registered: Jul 2006
Location: Seattle, WA
Distribution: Fedora, RHEL, CentOS
Posts: 29

Rep: Reputation: 18
Quote:
Originally Posted by Vimuth View Post
Greetings gentlemen! I'm in the attempt of configuring my first postfix mail server in a rhel5 box. I compiled the packages from the source and postfix seems to be running alright.
[root@homeboy1 postfix]# ps -ef | grep master
root 6542 1 0 05:14 ? 00:00:00 /usr/libexec/postfix/maste[/B]r

following are the only few amendments that I've done on my main.cf
myhostname = homeboy1.homenet.internal
mydomain = homenet.internal
myorigin = $myhostname
mydestination = $myhostname, localhost

I restarted postfix and tried sending mail to the user "vimuth" that resides in my local machine with "sendmail -v vimuth" but the message is getting stucked at mailq. My mailq appears as follows..

CE56818FD08* 321 Tue Dec 1 04:52:01 root@homeboy1.homenet.internal
vimuth@homeboy1.homenet.internal

Note binddns runs in the same machine and following is from my "etc/hosts" file..

#127.0.0.1 homeboy1 localhost.localdomain localhost
192.168.1.12 homeboy1

Following is from my "/etc/sysconfig/networks" file..

NETWORKING=yes
HOSTNAME=homeboy1
GATEWAY=192.168.1.1

Last but not least here are some directives from my zone file from /var/named/

IN NS homeboy1.homenet.internal.
homeboy1 IN A 192.168.1.12
vimuth-laptop IN A 192.168.1.9

All I want is to test mail delivery among the local users of the same box before exploring the big picture of postfix. Please someone help out.

By the way earlier I had a failed attempt compiling sendmail on same machine. But before installing postfix I made sure that I renamed all sendmail related files. However when I do this "rpm -qf /usr/sbin/sendmail" the result is "exim-4.63-3.el5".

Many many thanks in advance Gentleman. Counting on a faster resp.

Regards
Vimuth
Just a quick thought since I only have about 30 seconds to type this out...

Install system-switch-mail-gnome.noarch if you haven't already and switch your system default Mail system to postfix.

I think you should make sure that 'localhost' isnt commented out in your /etc/hosts

And if it's your first attempt at setting up postfix, why dont u use the provided yum rpm of postfix, make sure that runs well, save your conf file and then go ./configure/make all the postfix latest builds you want and use the known-working conf file. At least that way you won't be left wondering if it's a compile-time issue or a config file issue.
 
  


Reply

Tags
postfix


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
Basic Postfix Configuration? JoeBleaux Linux - Server 5 05-28-2009 05:21 AM
Basic Postfix Installation Problem InTech Linux - Software 3 10-29-2006 11:20 PM
postfix configuration problem kryptonite0110 Linux - Software 0 12-11-2005 10:29 PM
Postfix configuration problem ricky_ds Linux - Software 2 04-14-2005 06:49 AM
Postfix basic configuration Swift&Smart Linux - Software 21 09-05-2004 05:38 PM


All times are GMT -5. The time now is 04:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration