Hi all , thanks for  good advices of Edgar &   Thomas ,
i manage to build mailserver  .


in the condition

wifi router
|
openbsd PC1(mail sever , dnsmasq )
bge0: 192.168.11.1
|
openbsd PC2

PC2's sylpheed can send and recieve mail .


all my setting is next.

1)
 tail -10  /etc/login.conf
        :openfiles-cur=512:\
        :tc=daemon:



# Dovecot
dovecot:\
        :openfiles-cur=2048:\
        :openfiles-max=4096:\
        :tc=daemon:

-------
http://comments.gmane.org/gmane.os.openbsd.misc/207288 also tells it.

2)
 /etc/dovecot/dovecot.conf
--------------------------                                        <
protocols = imap
listen = *
!include conf.d/*.conf


3)
/etc/dnsmasq.conf
------------------
listen-address=192.168.11.1    # Example IP
interface=bge0
dhcp-range=192.168.11.10,192.168.11.12,12h




4)
#/etc/dovecot/conf.d/auth-system.conf.ext
-------------------------------------------
passdb {
  driver = bsdauth
}
userdb {
  driver = passwd
}



/etc/dovecot/conf.d/10-ssl.conf
------------------------------
ssl = yes
ssl_cert = </etc/ssl/dovecotcert.pem
ssl_key = </etc/ssl/private/dovecot.pem



sometimes i change pop3d ,but it doesnot run background.
akpop3d can not suite for imap .
courier-imap is difficult .

thanks for all .

------
regards , tuyosi

Reply via email to