Total739288 Week279 Yesterday161 Today118 1count/day on each IP Since 2006-06-06

Mail

«Prev || 1 || Next»

30 July 2013

Raspberry Pi - 作業記録

dovecot apop と cram-md5 の 設定
 passdb に {CARM-MD5} で登録すると apopができない
 {PLAIN} で 登録してあると apop でも cram-md5 どちらでも認証できた

07/30/13 15:06:56 - noboru - No comments RaspberryPi , Mail

25 July 2013

Raspberry Pi - 作業記録

postfix smtp-authの設定を行う
パッケージの追加
root@raspberrypi:~# apt-get install sasl2-bin

/etc/postfix/main.cf の修正
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous,noplaintext
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination

sasl パスワードの登録
saslpasswd2 -c -u myhostname username

sasl パスワードDBをpostfixから参照できるようにする
 chgrp postfix /etc/sasldb2
 chmod 640 /etc/sasldb2
 ln /etc/sasldb2 /var/spool/postfix/etc/sasldb2

参考ページ
debian postfix dovecot sasl - わすれないうちにメモしよう

07/25/13 14:33:06 - noboru - No comments RaspberryPi , Linux , Mail

24 July 2013

Raspberry Pi - 作業記録

ssh 公開鍵の登録

sshd 設定
 root ログイン拒否
 パスワード ログイン拒否

vsftpd の導入
 apt-get install vsftpd

dovecont の導入
 dovecot-core
 dovecot-pop3d

 dovecot.conf
   #listen = *, ::
   listen = *

 conf.d/10-mail.conf
   #mail_access_groups =
   mail_access_groups = mail

パスワード生成
doveadm pw -s CRAM-MD5

postfix 設定変更
/etc/postfix/main.cf
#inet_protocols = all
inet_protocols = ipv4

07/24/13 16:09:00 - noboru - No comments RaspberryPi , Linux , Mail
«Prev || 1 || Next»