こんにちわ たとえば、telnet gmail-smtp-in.l.google.com 25 など他へSMTP接続できますか? 問題の切り分けの話です。NAT が原因ではないでしょう。
2018年4月5日 7:13 西村良弘 <ilov...@topaz.plala.or.jp>: > ありがとうございます。 > 前に書きましたが、昨年の夏までは、FreeBSD4.8で同様のルータを作って作っていたのですが、その時は問題なくできていました。 > /etc/rc.confに > > sendmail_enable="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable=“NO" > > としてsendmailを止めているのですが、 > > sendmail_enable="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="YES" > sendmail_msp_queue_enable=“NO” > > としても状況は変わりませんでした。 > > /etc/ppp/ppp.confの > nat enable yes > をやめてppp+natdの組み合わせでやったほうがいいのでしょうか? > > > > 2018/04/05 0:17、y...@dearest.netのメール: > > > > こんばんわ > > > > OP25B ではありませんか?以前というのがいつ頃かによるかもしれませんが。 > > https://www.plala.or.jp/support/manual/mail/plala_mail/submission/ < > https://www.plala.or.jp/support/manual/mail/plala_mail/submission/> > > > > > > > > 2018年4月4日 22:51 西村良弘 <ilov...@topaz.plala.or.jp <mailto: > ilov...@topaz.plala.or.jp>>: > > > >> 西村といいます。 > >> > >> Freebsd10.1でカーネルPPPoeでNATルータを作り、ppp.confに > >> > >> nat enable yes > >> nat port tcp 192.168.1.31:143 143 > >> nat port tcp 192.168.1.31:25 25 > >> nat port udp 192.168.1.31:25 25 > >> nat port udp 192.168.1.31:143 143 > >> > >> を設定したのですが、インターネット側から内部(192.168.1.0/24)のメールサーバ(192.168.1.31 > <http://192.168.1.0/24)%E3%81%AE%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90(192.168.1.31> > ) > >> <http://192.168.1.0/24 <http://192.168.1.0/24>)%E3% > 81%AE%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90( > 192.168.1.31)>にtelnet > >> すると > >> 以下のようになりimapは通るのですが,smptが拒絶されます。 > >> > >> Mac:~ ccommail$ telnet hoge.dyndns-wiki.com 143 > >> Trying 219.165.236.94... > >> Connected to hoge.dyndns-wiki.com. > >> Escape character is '^]'. > >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE > IDLE > >> AUTH=PLAIN AUTH=LOGIN] Dovecot ready. > >> bye > >> bye BAD Error in IMAP command received by server. > >> bye > >> bye BAD Error in IMAP command received by server. > >> bye > >> * BYE Too many invalid IMAP commands. > >> Connection closed by foreign host. > >> Mac:~ ccl$ telnet hoge.dyndns-wiki.com 25 > >> Trying 219.165.236.94... > >> telnet: connect to address 219.165.236.94: Connection refused > >> telnet: Unable to connect to remote host > >> Mac:~ ccommail$ > >> > >> もちろんメールサーバと同じ内部ネット(NATルータの内側)に置いた端末からやると問題なく以下のように接続できました > >> Mac:~ ccommail$ telnet 192.168.1.31 143 > >> Trying 192.168.1.31... > >> Connected to 192.168.1.31. > >> Escape character is '^]'. > >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE > IDLE > >> AUTH=PLAIN AUTH=LOGIN] Dovecot ready. > >> bye > >> bye BAD Error in IMAP command received by server. > >> bye > >> bye BAD Error in IMAP command received by server. > >> bye > >> * BYE Too many invalid IMAP commands. > >> Connection closed by foreign host. > >> Mac:~ ccommail$ telnet 192.168.1.31 25 > >> Trying 192.168.1.31... > >> Connected to 192.168.1.31. > >> Escape character is '^]'. > >> 220 mail5.iloveyou.com ESMTP > >> bye > >> 502 5.5.2 Error: command not recognized > >> quit > >> 221 2.0.0 Bye > >> Connection closed by foreign host. > >> ccmailnoiMac:~ ccmail$ > >> > >> PPPOEがimapはリダイレクトしていますが、smtpは弾いているようです。 > >> /etc/rc.confの中でfirewall_type=“open”としています、 > >> 以前はFBSD4.8で同様のルータを作っていた時はこのような問題はなかったので、お教えいただければ幸いです。 > >> > >> > >> _______________________________________________ > >> freebsd-users-jp@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp > >> To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe@ > freebsd.org > >> " > >> > > _______________________________________________ > > freebsd-users-jp@freebsd.org <mailto:freebsd-users-jp@freebsd.org> > mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp < > https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp> > > To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe@ > freebsd.org <mailto:freebsd-users-jp-unsubscr...@freebsd.org>" > > _______________________________________________ > freebsd-users-jp@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp > To unsubscribe, send any mail to "freebsd-users-jp-unsubscr...@freebsd.org > " > _______________________________________________ freebsd-users-jp@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp To unsubscribe, send any mail to "freebsd-users-jp-unsubscr...@freebsd.org"