sorry , i hide real adress and name for my privacy .

Vice versa at my home , i can    sent    mail
                      but cannot recieve mail .

i  first doubt  dovecot setting  .

 /etc/dovecot/dovecot.conf

--------------------------
protocols = imap
listen = *
!include conf.d/*.conf


 /etc/dovecot/conf.d/10-mail.conf

--------------------------------
mail_location = maildir:~/Maildir
namespace inbox {
  inbox = yes
}
mmap_disable = yes
first_valid_uid = 1000
mail_plugin_dir = /usr/local/lib/dovecot
mbox_write_locks = fcntl


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


in mailer ,sylpheed
----------------------
smtp port ;587
imap4 port:143 # <-Correction


but in my  company i can recieve mail by sylpheed
with ( {protocols = imap in dovecot.conf}  +  { imap4 port 993 in sylpheed
} ) .
                    143=imap                               993=imaps


/var/log/maillog does not show nothing when i recieve mail .


to test relaying , i use http://www.rbl.jp/svcheck.php .
it says only 'Error: Can't connect to abc.vs.sakura.ne.jp'

it shows that the problem may be port closing .

so i nmap my home address.

result is
PORT   STATE    SERVICE
22/tcp open     ssh
25/tcp filtered smtp
80/tcp open     http

namely ports 143 doesnot open. (so cannot revieve)
ports 587 also doesnot open.      (but can send  ?????   )


i set wifi router at home
1) port forwarding
1       192.168.100.101         22 - 22         TCP&UDP  effective
2       192.168.100.101         80 - 80         TCP&UDP  effective
3       192.168.100.101         143 - 143       TCP&UDP  effective
4       192.168.100.101         587 - 587       TCP&UDP  effective
5       192.168.100.101         993 - 993       TCP&UDP  effective

2)pfctl
-sr
pass in on run0 inet proto tcp from any to (run0:0) port = 22 flags S/SA
pass in on run0 inet proto tcp from any to (run0:0) port = 80 flags S/SA
pass in on run0 inet proto tcp from any to (run0:0) port = 143 flags S/SA
pass in on run0 inet proto tcp from any to (run0:0) port = 587 flags S/SA
pass in on run0 inet proto tcp from any to (run0:0) port = 993 flags S/SA

are there another point  about opening ports ?

i  think opensmtpd and postfix and sendmail have the power of sending mail .

--------------
regards

Reply via email to