[xmail] Re: Problem with XMail on NetBSD-4
On 7 Feb 2008, at 23:50, Davide Libenzi wrote: On Fri, 8 Feb 2008, David Lord wrote: On 30 Jan 2008, at 23:35, David Lord wrote: Now back to NetBSD-4.0. I'm still unable to get local mail outgoing from NetBSD-4.0 whilst mail to public addresses seems be delivered ok. The dns server is same for NetBSD-3.1 as for NetBSD-4.0 so I suspect problem is due to some changes from NetBSD-3.1 with Sendmail to NetBSD-4.0 with Postscript. Local mail delivery to other hosts on lan worked ok via Postscript. This was difficult to find but when I checked my main mailserver I found it had developed the same problem but same NetBSD version 3.1+ as system that was ok. As these are near identical configuration I just diffed the files and found a typo in server.tab smartdns line and on correcting this could again send mail to hosts on lan ok. Problem with NetBSD-4 system was down to same fault. So, are we cool? Not yet, I think I'm now infrequently using so many features I need to put in place a test suite I can run each time any change is made. Other than that I'm really pleased :-) Cheers David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On 30 Jan 2008, at 23:35, David Lord wrote: Now back to NetBSD-4.0. I'm still unable to get local mail outgoing from NetBSD-4.0 whilst mail to public addresses seems be delivered ok. The dns server is same for NetBSD-3.1 as for NetBSD-4.0 so I suspect problem is due to some changes from NetBSD-3.1 with Sendmail to NetBSD-4.0 with Postscript. Local mail delivery to other hosts on lan worked ok via Postscript. This was difficult to find but when I checked my main mailserver I found it had developed the same problem but same NetBSD version 3.1+ as system that was ok. As these are near identical configuration I just diffed the files and found a typo in server.tab smartdns line and on correcting this could again send mail to hosts on lan ok. Problem with NetBSD-4 system was down to same fault. David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On Fri, 8 Feb 2008, David Lord wrote: On 30 Jan 2008, at 23:35, David Lord wrote: Now back to NetBSD-4.0. I'm still unable to get local mail outgoing from NetBSD-4.0 whilst mail to public addresses seems be delivered ok. The dns server is same for NetBSD-3.1 as for NetBSD-4.0 so I suspect problem is due to some changes from NetBSD-3.1 with Sendmail to NetBSD-4.0 with Postscript. Local mail delivery to other hosts on lan worked ok via Postscript. This was difficult to find but when I checked my main mailserver I found it had developed the same problem but same NetBSD version 3.1+ as system that was ok. As these are near identical configuration I just diffed the files and found a typo in server.tab smartdns line and on correcting this could again send mail to hosts on lan ok. Problem with NetBSD-4 system was down to same fault. So, are we cool? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On Thu, 24 Jan 2008, David Lord wrote: On 20 Jan 2008, at 12:34, Davide Libenzi wrote: Give me a summary :) Should I look into it or not? Seems way hostnames are checked is different between NetBSD-4.0 (xmail-1.25-pre16) and NetBSD-3.1 (xmail-1.25) or NetBSD-3.1 (xmail 1.25). NetBSD 3.1 3.1 4.0 xmail 1.25-pre16 1.25 1.25 private A address sendmail ok fail fail recv ok ok ok public MX address xmailrelayok ok not checked sendmail ok ok ok recv ok ok not checked I have local dns for hosts on lan which also caches public addresses. There are only A records for private addresses. Server.tab has SmarDNSHost set to use local dns server. Mutt and some logging uses /var/MailRoot/bin/sendmail but I could get round part of problem by using postfix instead. Send failures have this form of error [00] XMail bounce: [EMAIL PROTECTED]; Error=[Recipient domain p4x2400c.home.lordynet.org does not exist (or it has a misconfigured DNS)] ### ; DiG 9.4.1-P1 p4x2400c.home.lordynet.org -t ANY ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 46719 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;p4x2400c.home.lordynet.org. IN ANY ;; ANSWER SECTION: p4x2400c.home.lordynet.org. 604800 INA 192.168.59.210 ### I've still to try an earlier version of xmail on NetBSD-4.0 and also try again with ipv6 enabled. I think XMail is getting a ERR_DNS_NXDOMAIN (NXDOMAIN) from your DNS server. When that's happening, XMail does not even try to fall back to the A record delivery. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On Tue, 29 Jan 2008, Davide Libenzi wrote: I've still to try an earlier version of xmail on NetBSD-4.0 and also try again with ipv6 enabled. I think XMail is getting a ERR_DNS_NXDOMAIN (NXDOMAIN) from your DNS server. When that's happening, XMail does not even try to fall back to the A record delivery. Forgot to tell that NXDOMAIN is Domain does not exist. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On 20 Jan 2008, at 12:34, Davide Libenzi wrote: Give me a summary :) Should I look into it or not? Seems way hostnames are checked is different between NetBSD-4.0 (xmail-1.25-pre16) and NetBSD-3.1 (xmail-1.25) or NetBSD-3.1 (xmail 1.25). NetBSD 3.1 3.1 4.0 xmail 1.25-pre16 1.25 1.25 private A address sendmail ok fail fail recv ok ok ok public MX address xmailrelayok ok not checked sendmail ok ok ok recv ok ok not checked I have local dns for hosts on lan which also caches public addresses. There are only A records for private addresses. Server.tab has SmarDNSHost set to use local dns server. Mutt and some logging uses /var/MailRoot/bin/sendmail but I could get round part of problem by using postfix instead. Send failures have this form of error [00] XMail bounce: [EMAIL PROTECTED]; Error=[Recipient domain p4x2400c.home.lordynet.org does not exist (or it has a misconfigured DNS)] ### ; DiG 9.4.1-P1 p4x2400c.home.lordynet.org -t ANY ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 46719 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;p4x2400c.home.lordynet.org. IN ANY ;; ANSWER SECTION: p4x2400c.home.lordynet.org. 604800 INA 192.168.59.210 ### I've still to try an earlier version of xmail on NetBSD-4.0 and also try again with ipv6 enabled. David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On Sun, 20 Jan 2008, David Lord wrote: On 20 Jan 2008, at 2:43, David Lord wrote: I've just been setting up a new server running NetBSD-4 and copied my existing 1.25-pre25 NetBSD 3.1 directory and binaries. 'telnet localhost 25' Allows me to connect and accepts a test email. All attempts at using the interface hostname or ip address get a connection refused. Sorry for followups to my own message but it now looks to be a configuration issue of some kind as my spare NetBSD 3.1 system XMail-1.25-pre16 shows exact same problem so it's probably not particularly a NetBSD-4 problem. I can telnet to port 25 on main server by hostname ok but get connection refused from spare server. It's only a few weeks ago that I setup and tested smtps and pop3 connections from a Ubuntu system to this spare server before transferring that configuration to main server to provide reasonably secure remote access as well as allowing direct connections from friends with outgoing port 25 blocked by isp. sorry for the noise - again Give me a summary :) Should I look into it or not? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On 20 Jan 2008, at 12:34, Davide Libenzi wrote: On Sun, 20 Jan 2008, David Lord wrote: On 20 Jan 2008, at 2:43, David Lord wrote: I've just been setting up a new server running NetBSD-4 and copied my existing 1.25-pre25 NetBSD 3.1 directory and binaries. 'telnet localhost 25' Allows me to connect and accepts a test email. All attempts at using the interface hostname or ip address get a connection refused. Sorry for followups to my own message but it now looks to be a configuration issue of some kind as my spare NetBSD 3.1 system XMail-1.25-pre16 shows exact same problem so it's probably not particularly a NetBSD-4 problem. I can telnet to port 25 on main server by hostname ok but get connection refused from spare server. It's only a few weeks ago that I setup and tested smtps and pop3 connections from a Ubuntu system to this spare server before transferring that configuration to main server to provide reasonably secure remote access as well as allowing direct connections from friends with outgoing port 25 blocked by isp. sorry for the noise - again Give me a summary :) Should I look into it or not? I'm still working on it but it appears to be NetBSD-4 and/or ipv6 related. Any help would still be appreciated. Sockstat showed xmail to be listening on tcp6 on all three systems. NetBSD-3.1 mail.lordynet.org is ipv6 enabled and both ipv4 and ipv6 working. NetBSD-3.1 with test server used same commandline with -M7 -B6 -P6 -S6 -X6 and also. With those parameters removed I now see sockstat only shows xmail listening on tcp rather than tcp6 and this system now accepts external connections. NetBSD-4.0 on intended new server had same commandline but after restart with above parameters removed I still get sockstat showing tcp6 and connection refused except from localhost. With two previously unconfigured interfaces set to dummy ip4 addresses, sockstat now shows tcp rather than tcp6 and I can make remote connections. So although systems are now working I suspect there is some problem there with xmail and or NetBSD. Also with default postfix there wasn't a problem. I disabled xmail and undid the changes to interfaces and sockstat then showed postscript listening on tcp (not tcp6) whilst external connections are ok. cheers David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
I've just been setting up a new server running NetBSD-4 and copied my existing 1.25-pre25 NetBSD 3.1 directory and binaries. 'telnet localhost 25' Allows me to connect and accepts a test email. All attempts at using the interface hostname or ip address get a connection refused. I've since done a fresh install of 1.25 which dumps core on attemp to start using supplied script /etc/rc.d/xmail and if started with my own I've looked through startup scripts and main difference is single extra line in script with 1.25: ulimit -s 128 If I add that line to my own script I also get a segfault/coredump. - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Problem with XMail on NetBSD-4
On 20 Jan 2008, at 2:43, David Lord wrote: I've just been setting up a new server running NetBSD-4 and copied my existing 1.25-pre25 NetBSD 3.1 directory and binaries. 'telnet localhost 25' Allows me to connect and accepts a test email. All attempts at using the interface hostname or ip address get a connection refused. Sorry for followups to my own message but it now looks to be a configuration issue of some kind as my spare NetBSD 3.1 system XMail-1.25-pre16 shows exact same problem so it's probably not particularly a NetBSD-4 problem. I can telnet to port 25 on main server by hostname ok but get connection refused from spare server. It's only a few weeks ago that I setup and tested smtps and pop3 connections from a Ubuntu system to this spare server before transferring that configuration to main server to provide reasonably secure remote access as well as allowing direct connections from friends with outgoing port 25 blocked by isp. sorry for the noise - again David - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]