I've tried to install Postfix for the first time searching for a good
sendmail substitute.
I've been having problems with Postfix, I installed it creating
makefiles to use Cyrus_SASL and Berkeley_DB
I used the following parameters to create the makefiles:
make makefiles 'CCARGS=-DHAS_DB -I/usr/local/BerkeleyDB.4.2/include \
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
-I/usr/local/include/sasl' 'AUXLIBS=-R/usr/local/BerkeleyDB.4.2/
lib -L/usr/local/BerkeleyDB.4.2/lib -ldb -L/usr/local/lib -R/usr/local/
lib -lsasl2'
Then I used make
then make install
It installed correctly, it didn't presented any errors or crashes
I ran it with the basic configuration and it ran, using
postfix start
I saw my process list and it's running.
bash-3.00# ps -fea | grep postfix
postfix 3036 3035 0 13:53:14 ? 0:00 pickup -l -t fifo -u
root 3035 1 0 13:53:14 ? 0:00 /usr/libexec/postfix/
master
postfix 3037 3035 0 13:53:14 ? 0:00 qmgr -l -t fifo -u
so I proceeded to:
telnet localhost 25
It connected and the normal message appeared
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Here I wrote:
HELO localhost
and there was no answer, I wrote
EHLO localhost
and still no answer, and I realized it doesn't matter what I write, it
doesn't even show an error of bad syntax. I can write
ojdgfsudpfhd in there and it just makes the line jump when I hit
Enter.
I checked my /var/adm/messages file and it says the following:
Jun 19 13:55:15 miniHelios postfix/smtpd[3041]: [ID 947731 mail.crit]
fatal: open database /etc/mail/aliases.dir: No such file or directory
Jun 19 13:56:16 miniHelios postfix/smtpd[3043]: [ID 947731 mail.crit]
fatal: open database /etc/mail/aliases.dir: No such file or directory
It repeats several times.
then I opened my syslog and it says:
Jun 19 13:55:15 miniHelios postfix/smtpd[3041]: [ID 947731 mail.crit]
fatal: open database /etc/mail/aliases.dir: No such file or directory
Jun 19 13:55:16 miniHelios postfix/master[3035]: [ID 947731
mail.warning] warning: process /usr/libexec/postfix/smtpd pid 3041
exit status 1
Jun 19 13:55:16 miniHelios postfix/master[3035]: [ID 947731
mail.warning] warning: /usr/libexec/postfix/smtpd: bad command startup
-- throttling
and it repeats
I don't understand what does the messages mean and I'm stuck on it,
hints on how to advance from this problem are welcome
I hope you can help me
Thanks in advance