POSTFIX:
DOCUMENT FOR POSTFIX CONFIGURATION
1) cd /usr/local/src
2) wget ftp://ring.aist.go.jp/pub/net/mail/postfix/official/postfix-2.2.7.tar.gz
3) tar -zxvf postfix-2.2.7.tar.gz
*4) cp /usr/sbin/sendmail /usr/sbin/sendmail.OFF
*5) cp /usr/bin/newaliases /usr/bin/newaliases.OFF
*6) cp /usr/bin/mailq /usr/bin/mailq.OFF
7) Create the Users and groups as follows:
i)useradd -M -s /dev/null -u 2323 postfix
ii)groupadd -g 54321 postdrop
8) Make (/usr/local/src/postfix….)
9) At this time probably you make get errors like db*-devel is not installed
10) cd /usr/local/src
11) wget http://snowbird-linux.com/rh9/RPMS/db4-devel-4.0.14-20.i386.rpm
12) Cd /etc----'install the RPM
13) Go to /usr/local/src/postfix…. ' make
14) Mkdir /queue
15) Make install
16) command_directory : /usr/sbin2
17) queue_directory : /queue
18) sendmail_path: /usr/sbin/sendmail.postfix
19) newaliases_path: /usr/bin/newaliases.postfix
20) mailq_path : /usr/bin/mailq.postfix
*21) vi /etc/postfix/master.cf
*22) make the changes as
2505 inet n - n - 100 smtpd
smtp unix - - n - 900 smtp
*23) /usr/sbin/postfix start
24) telnet localhost 2505
/usr/sbin/postfix -c /etc/postfix check
/usr/sbin/postfix start
postmap /etc/postfix/virtual
postmap /etc/postfix/virtual
postmap /etc/postfix/virtual
makemap hash /etc/mail/access.db < /etc/mail/access
makemap hash /etc/aliases.db < /etc/aliases
service postfix restart
No comments:
Post a Comment