I need some help configuring postfix...
I am using Slackware 13.0. I currently have sendmail installed and running. I then downloaded and installed postfix 2.6.5. I did not disable sendmail or anything.
I am confused about this. I just want to use postfix for smtp. So postfix uses the already installed sendmail program? You would think they would conflict. Anyhow, it's up and running. I have master running and listening on 0.0.0.0:25. However, whenever I netcat to 127.0.0.1 25 I get no header, it just stays blank. Why is this so? I do not have a FQDN, I just use an IP address. I would like to use smtp to sendmail to users within my computer and network. I would also like to be able to send mail to a few hosts like hotmail, yahoo, and some ISP servers, assuming they do not filter emails coming from a source that is not a FQDN. A few key settings that I have changed in /etc/postfix/main.cf are myhostname = server mydomain = darkstar.net myorigin = $myhostname proxy_interfaces = x.x.x.x inet_interfaces = all The x.x.x.x is my external IP address. The name of computer I am configuring postfix is called server and my domain name is darkstar.net(not FQDN). It's just called darkstar.net within my internal network. In /etc/mail/sendmail.cf # SMTP client options #O ClientPortOptions=Family=inet, Address=x.x.x.x What else should I check to get postfix working? It's running, but when I telnet in the banner doesn't come out, it just stays stuck on a blank line. Also, why is the master program running as root? Shouldn't it be running as postfix? Or does it have to run as root to access sendmail? I even tried running postfix with Code:
su postfix -c "/usr/sbin/postfix start" Also, in the /etc/postfix/master.cf Code:
# Also, found these errors in the maillog Code:
Jan 17 12:07:24 server postfix/smtpd[3918]: fatal: open database /etc/aliases.db: No such file or directory postmaster: you postfix you to the /etc/aliases. However, I still cannot pull a banner after telnetting to 25. |
I got it, just had to make a symbolic link /etc/aliases.db point to /etc/mail/aliases.db. W00t.
|
All times are GMT -5. The time now is 10:10 PM. |