[Ubuntu] w Dovecot + Sendmail + OpenWebmail
Dovecot M󴣨 pop3 / pop3s / imap / imaps AȡC
Sendmail HHHA
sasl2-bin ѻ{ҪA

: Ubuntu (8.04 Server)

1.w dovecot M

# sudo apt-get install dovecot-common dovecot-pop3d 


2.]w /etc/dovecot/dovecot.conf

	protocols = pop3
	disable_plaintext_auth = no
	ssl_disable = yes 

3.Ұ dovecot

/etc/init.d/dovecot start 

4. 

# telnet pop3_server 110

  auth
  user user_name
  pass user_password 

YX{ OK ܦ\C


1.w Sendmail A

sudo apt-get install sendmail


2.]w Relay IP 

/etc/mail/access
192.168.1.1 RELAY  (  <---   172.21 RELAY  )


mail  (ݦ mail O)
# sudo apt-get install mailx

# echo "test text" | mail -s "Test Mail Title" <YOUR_NAME@MAIL_SERVER_NAME>

<YOUR_NAME@MAIL_SERVER_NAME> : ex Herbert_Su@cameo.com.tw


---------------------------------------------------------------------------
ե :
# telnet 172.21.66.8 110
# echo "test" | mail -s "TEST MAIL" Herbert_Su@cameo.com.tw


Y
# zip -r failLog.zip /home/dailyCheck/failLog/

[ɮױHe   (`date +%Y%m%d` ^ ~ YYYYMMDD)
# uuencode /home/dailyCheck/failLog.zip /home/dailyCheck/failLog`date +%Y%m%d`.zip | mail -s "Daily Check SVN Build Fail Log file" Herbert_Su@cameo.com.tw

ŪJɮױHe
# mail -s "Daily Check SVN Report" Herbert_Su@cameo.com.tw < $LOGFILE_PATH


---------------------------------------------------------------------------
