Wednesday, October 04, 2006

Step by Step Install Postfix on AIX

1. Create user postfix dan freeware, setting kedua user sbb :

HOME directory -> /var/empty
Is this user ACCOUNT LOCKED? -> True
User can LOGIN? -> false
User can LOGIN REMOTELY(rsh,tn,rlogin)? -> false


2. Create group frec
3. Install pcre rpm
4. Ixtract postfix.exe menjadi bff
5. Install postfix menggunakan smitty
6. modify /etc/postfix/main.cf sbb :

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = namehost
mydomain = namedomain
myorigin = $mydomain
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain
mynetworks = 192.168.14.0/24, 127.0.0.0/8
relayhost = name relay mail server
alias_maps = dbm:/etc/postfix/aliases

alias_database = dbm:/etc/postfix/aliases
recipient_delimiter = +
mail_spool_directory = /var/spool/mail
smtpd_banner = $myhostname ESMTP $mail_name
setgid_group = frec
disable_dns_lookups = yes
defer_transport = smtp


7. stop service sendmail, stopsrc -s sendmail
8. matikan service sendmail pada saat start AIX, vi /etc/rc.tcpip
9. create folder /var/spool/postfix
10. chmod +s /usr/sbin/postqueue
11. chmod +s /usr/sbin/postdrop
12. cp /usr/lib/sendmail /usr/sbin/
13. chmod gu+x /usr/lib/sendmail
14. chmod -s /usr/lib/sendmail
15. chmod gu+x /usr/sbin/sendmail
16. chmod -s /usr/sbin/sendmail
17. postfix start, newaliases, postfix reload
18. testing send email

Semoga bermanfaat

No comments: