| |||||||||||||||||||||||||||||||
|
> Performed following steps; > > $ ftp http://k2net.hakuba.jp/spam/postfix.conf.2.tar.gz > Trying 210.188.204.245... > Requesting http://k2net.hakuba.jp/spam/postfix.conf.2.tar.gz > 100% |**************************************************| 5287 > 00:00 > Successfully retrieved file > > > Extraction; > $ tar -zxvf postfix.conf.2.tar.gz > postfix.conf.2 > postfix.conf.2/Rgrey.main.cf > postfix.conf.2/ClamSMTP.master.cf > postfix.conf.2/taRgrey.main.cf > postfix.conf.2/reject_helo > postfix.conf.2/reject_ns > postfix.conf.2/check_ns > postfix.conf.2/prepend_client > postfix.conf.2/reject_mx > postfix.conf.2/whitelist_client > postfix.conf.2/check_sender_apacheinfo > postfix.conf.2/permit_client_nots25r > postfix.conf.2/whitelist_recipient > postfix.conf.2/check_helo_19info > * end * > > dunno what this is all about... you'd better start it all over again. you'll find it easier to reinstall a fresh postfix and moidify incrementally... > $ sudo cp postfix.conf.2/permit_client_nots25r /etc/postfix/ > Password: > No complaint > > > $ ls -l /etc/postfix/permit_client_nots25r > -rw-r--r-- 1 root wheel 1234 Jun 16 00:41 > /etc/postfix/permit_client_nots25r > > > $ sudo postmap /etc/postfix/permit_client_nots25r > No complaint > > > $ telnet localhost 25 > Trying ::1... > telnet: connect to address ::1: Connection refused > telnet: connect to address ::1: Connection refused > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > Connection closed by foreign host. > > > $ sudo cat /var/log/maillog | tail > sudo? how about su? or was openbsd ubuntified? > Password: > Jun 16 00:47:33 home postfix/master[31582]: warning: process > /usr/libexec/postfi > x/smtpd pid 17763 exit status 1 > Jun 16 00:47:33 home postfix/master[31582]: warning: > /usr/libexec/postfix/smtpd: > bad command startup -- throttling > Jun 16 00:48:37 home postfix/postfix-script[6041]: refreshing the > Postfix mail s > ystem > Jun 16 00:48:37 home postfix/master[31582]: reload configuration > /etc/postfix > Jun 16 00:48:54 home postfix/smtpd[9942]: warning: > smtpd_sasl_auth_enable is tru > e, but SASL support is not compiled in > Jun 16 00:48:54 home postfix/smtpd[9942]: warning: TLS has been > selected, but TL > S support is not compiled in > Jun 16 00:48:54 home postfix/smtpd[9942]: connect from > localhost.openbsd101[127. > 0.0.1] > Jun 16 00:48:54 home postfix/smtpd[9942]: fatal: non-null host address > bits in " > 127.0.0.1/8", perhaps you should use "127.0.0.0/8" instead > Jun 16 00:48:55 home postfix/master[31582]: warning: process > /usr/libexec/postfi > x/smtpd pid 9942 exit status 1 > Jun 16 00:48:55 home postfix/master[31582]: warning: > /usr/libexec/postfix/smtpd: > bad command startup -- throttling > * end * > > > Fatal warning:- > Jun 16 00:48:54 home postfix/smtpd[9942]: fatal: non-null host address > bits in " > 127.0.0.1/8", perhaps you should use "127.0.0.0/8" instead > > > # cat /etc/postfix/main.cf | grep 127.0.0.0/8 > #mynetworks = 168.100.189.0/28, 127.0.0.0/8 > mynetworks = 127.0.0.1/8, 192.168.x.y/24 > > > Edited /etc/postfix/main.cf > changed "mynetworks = 127.0.0.1/8, 192.168.x.y/24" > to: "mynetworks = 127.0.0.0/8, 192.168.x.y/24" > > > $ sudo /usr/sbin/postfix reload > $ > Password: > postfix/postfix-script: refreshing the Postfix mail system > > > $ telnet localhost 25 > Trying ::1... > telnet: connect to address ::1: Connection refused > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 mail.satimis.com ESMTP Postfix > ehlo satimis.com > 250-mail.satimis.com > 250-PIPELINING > 250-SIZE 10240000 > 250-ETRN > 250-ENHANCEDSTATUSCODES > 250-8BITMIME > 250 DSN > quit > 221 2.0.0 Bye > Connection closed by foreign host. > > > Now it connects finally. But why there is a warning "telnet: connect > to address ::1: Connection refused" > since you don't have IPv6 on the system, you should fix your dsn to not return IPv6 addresses. > > $ sudo cat /var/log/maillog | tail > Jun 16 01:04:16 home postfix/smtpd[681]: disconnect from > localhost.openbsd101[127.0.0.1] > Jun 16 01:07:36 home postfix/anvil[60]: statistics: max connection rate > 1/60s for (smtp:127.0.0.1) at Jun 16 01:02:13 > Jun 16 01:07:36 home postfix/anvil[60]: statistics: max connection > count 1 for (smtp:127.0.0.1) at Jun 16 01:02:13 > Jun 16 01:07:36 home postfix/anvil[60]: statistics: max cache size 1 at > Jun 16 01:02:13 > Jun 16 01:22:04 home postfix/postfix-script[9773]: refreshing the > Postfix mail system > Jun 16 01:22:04 home postfix/master[31582]: reload configuration > /etc/postfix > Jun 16 01:22:10 home postfix/smtpd[30393]: warning: > smtpd_sasl_auth_enable is true, but SASL support is not compiled in > Jun 16 01:22:10 home postfix/smtpd[30393]: warning: TLS has been > selected, but TLS support is not compiled in > Jun 16 01:22:10 home postfix/smtpd[30393]: connect from > localhost.openbsd101[127.0.0.1] > Jun 16 01:22:37 home postfix/smtpd[30393]: disconnect from > localhost.openbsd101[127.0.0.1] > * end * > > > Warning; > Jun 16 01:04:16 home postfix/smtpd[681]: disconnect from > localhost.openbsd101[127.0.0.1] > > > $ hostname > home.openbsd101 > this is not fqdn. it doesn't end with a valid tld. but this is not a problem for now. > > Which file I have to check??? TIA > for what? Install postfix from openbsd packages/ports/whatever and modifiy the config a step at a time. trying to fix a broken setup with a big bang approach is not optimal.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com