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 email@example.com
Note binddns runs in the same machine and following is from my "etc/hosts" file..
#127.0.0.1 homeboy1 localhost.localdomain localhost
Following is from my "/etc/sysconfig/networks" file..
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.
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.
|All times are GMT -5. The time now is 04:00 PM.|