Search the Community
Showing results for tags 'SMTP'.
Found 1 result
-
This is specially for @tadios: Configure SMTP mail service according to the following requirement. a.your mail server should accept mail from remote host and local hosts. b.user2 must be able to receive mail from remote hosts. c. mail delivered to alice should spool into the default mail spool for alice /var/spool/mail/alice Ans: # rpm –q postfix #yum install –y postfix* #service postfix status # service postfix start #vim /etc/postfix/main.cf Go to 75th line -------- uncomment and edit Myhostname = station40.domain80.example.com Go to 83rd line ----- uncomment and edit Mydomain = domain80.example.com Go to 99thline ---- uncomment the line. Myorigin = $mydomain Go to 113thline ------ uncomment the line Inet_interfaces = all Go to 116 line ----- comment this line #inet_interfaces = localhost Go to 164th line ----- comment the line Go to 165th line ----- uncomment the line :wq # iptables -I INPUT -p tcp --dport 25 -j ACCEPT #service postfix restart #chkconfig postfix on # mail –v [email protected] subject : hi(can give anything) In body : ( type anything ) . and enter EOT #su – user2 #mail ------ will have mail here. # mail –[email protected] subject : hi(can give anything) In body : how are you ( can give anything ) . and enter EOT #su – alice #mail ------ will have mail here @tadios: Please PM me your mail id. @others: Correct if there are any mistakes.