Re: outgoing mail STOPPED.
On Mon, Jan 07, 2008 at 11:13:45AM +, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gary Kline wrote: Then I checked my /etc/namedb/s/db.thought.org to see id anything there could conceivably be hanging port 25. Zip. (I still updated the date and re-exed. I checked with ps and grep to find something new: The best way to check for any processes listening on port 25 is: % sockstat | grep :25 root sendmail 1193 3 tcp4 81.187.76.162:25 *:* root sendmail 1193 5 tcp4 127.0.0.1:25 *:* root sendmail 1193 6 tcp6 ::1:25*:* root sendmail 1193 7 tcp6 2001:8b0:151:1:240:5ff:fea5:8db7:25*:* matthew, i did sockstat|gr 3, 4 da aago; couldn't make sense-of. here's what i get for sendmail and the above. i can't make sense ofthis:: p1 23:52 sage [5001] pss~ 1380 ?? Is 0:00.20 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/client 1382 ?? Ss 0:16.25 sendmail: accepting connections (sendmail) 14646 ?? I 0:00.02 sendmail: server 131.sub-75-212-161.myvzw.com [75.212 p1 23:53 sage [5002] sockstat | grep :25~ root sendmail 14646 1 tcp4 216.231.43.140:25 75.212.161.131:1416 root sendmail 14646 4 tcp4 216.231.43.140:25 75.212.161.131:1416 root sendmail 14646 7 tcp4 216.231.43.140:25 75.212.161.131:1416 root sendmail 1382 4 tcp4 *:25 *:* you'll prob'ly be up in a few hours, but it's time for me to cop a few z's 8 tz's west of you. thus, t'mmrw. gary ~ 624 ?? Ss 0:01.16 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/r p0 0:27 sage [5005] In theory I know pretty much what bind9does, c; but why this change? (Part of my gnome (2.20) is missing so I cannot max enlarge the konsole; ps -alx does not wrap so I cant see the entire string.) I can pimg ns1.thought.org--obviously. But if you see anything here, Matthew, would you please let me know? To get ps output without truncation, simply add 'ww' to the flags -- one 'w' gives you a 132 column output (shades of those old fan-fold line printer TTYs there) and two (or more) 'w's gives you unlimited width: # ps -alx | grep /usr/sbin/s 0 689 1 0 44 0 3188 1240 select Ss??0:07.28 /usr/sbin/s 0 1188 1 0 44 0 5640 3356 select Is??0:00.02 /usr/sbin/s # ps -alxww | grep /usr/sbin/s 0 689 1 0 44 0 3188 1240 - Rs??0:07.29 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -a 81.187.76.161/32:4096 -l /var/named/var/run/log 0 1188 1 0 44 0 5640 3356 select Is??0:00.02 /usr/sbin/sshd 1001 16014 1376 0 44 0 380 260 - R+p00:00.00 grep /usr/sbin/s As for the presence of '-l /var/named/var/run/log' -- that's added to the syslogd flags automatically by the /etc/rc.d/syslogd startup script[*] if you're running named chrooted (which is the default). This means that syslogd can log the items outside the chroot that are generated by named within it. You should see output from named in /var/log/all.log - -- precisely what you see depends entirely on the logging configuration in named.conf. Cheers, Matthew [*] The reason I have it twice is that a long time ago I'd also added it to syslogd_flags manually, something I shall correct imminently. - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgglp8Mjk52CukIwRCMTeAJ9U/iicerUyzugUEucgZ1fFvavB7ACeNLkM /Go2XMJctLl+Ci9w3RrjxeM= =LbnH -END PGP SIGNATURE- -- Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Tue, Jan 08, 2008 at 12:02:04AM -0800, Gary Kline wrote: On Mon, Jan 07, 2008 at 11:13:45AM +, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gary Kline wrote: Then I checked my /etc/namedb/s/db.thought.org to see id anything there could conceivably be hanging port 25. Zip. (I still updated the date and re-exed. I checked with ps and grep to find something new: The best way to check for any processes listening on port 25 is: % sockstat | grep :25 root sendmail 1193 3 tcp4 81.187.76.162:25 *:* root sendmail 1193 5 tcp4 127.0.0.1:25 *:* root sendmail 1193 6 tcp6 ::1:25*:* root sendmail 1193 7 tcp6 2001:8b0:151:1:240:5ff:fea5:8db7:25*:* matthew, i did sockstat|gr 3, 4 da aago; couldn't make sense-of. here's what i get for sendmail and the above. i can't make sense ofthis:: p1 23:52 sage [5001] pss ~ 1380 ?? Is 0:00.20 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/client 1382 ?? Ss 0:16.25 sendmail: accepting connections (sendmail) 14646 ?? I 0:00.02 sendmail: server 131.sub-75-212-161.myvzw.com [75.212 p1 23:53 sage [5002] sockstat | grep :25 ~ root sendmail 14646 1 tcp4 216.231.43.140:25 75.212.161.131:1416 root sendmail 14646 4 tcp4 216.231.43.140:25 75.212.161.131:1416 root sendmail 14646 7 tcp4 216.231.43.140:25 75.212.161.131:1416 root sendmail 1382 4 tcp4 *:25 *:* you'll prob'ly be up in a few hours, but it's time for me to cop a few z's 8 tz's west of you. thus, t'mmrw. gary ~ 624 ?? Ss 0:01.16 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/r p0 0:27 sage [5005] In theory I know pretty much what bind9does, c; but why this change? (Part of my gnome (2.20) is missing so I cannot max enlarge the konsole; ps -alx does not wrap so I cant see the entire string.) I can pimg ns1.thought.org--obviously. But if you see anything here, Matthew, would you please let me know? To get ps output without truncation, simply add 'ww' to the flags -- one 'w' gives you a 132 column output (shades of those old fan-fold line printer TTYs there) and two (or more) 'w's gives you unlimited width: # ps -alx | grep /usr/sbin/s 0 689 1 0 44 0 3188 1240 select Ss??0:07.28 /usr/sbin/s 0 1188 1 0 44 0 5640 3356 select Is??0:00.02 /usr/sbin/s # ps -alxww | grep /usr/sbin/s 0 689 1 0 44 0 3188 1240 - Rs??0:07.29 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -a 81.187.76.161/32:4096 -l /var/named/var/run/log 0 1188 1 0 44 0 5640 3356 select Is??0:00.02 /usr/sbin/sshd 1001 16014 1376 0 44 0 380 260 - R+p00:00.00 grep /usr/sbin/s As for the presence of '-l /var/named/var/run/log' -- that's added to the syslogd flags automatically by the /etc/rc.d/syslogd startup script[*] if you're running named chrooted (which is the default). This means that syslogd can log the items outside the chroot that are generated by named within it. You should see output from named in /var/log/all.log - -- precisely what you see depends entirely on the logging configuration in named.conf. Cheers, Matthew [*] The reason I have it twice is that a long time ago I'd also added it to syslogd_flags manually, something I shall correct imminently. I have a script here that sends test mail to various servers on thought.org. I just caught this returned mail from qmail here. From this, it loooks as though though.org has disappeared entirely:: [EMAIL PROTECTED]: host ns1.thought.org[216.231.43.140] said: 553 5.1.2 [EMAIL PROTECTED]... Unrecognized host name magnesium.net. (in reply to MAIL FROM command) Or is this thought.org that is not seeing magnesium.net?! Either way, and whatever else is going on, could my /etc/namedb/*/* files be involved in this mess? bind9 is one thing I simply do not touch. Or if/when (abs) necessary, I treat this stuff like nitroglycerine:) gary Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
Hi gang, first a public, up-front *thanks* to Bill Swingle and everyone else here at magnesium.net. If not for this site AND my networking (at least) working, I would be severely SOL and sans oar. At least this acct lets me tell a few people that i'm still hrer; havent given up So: again: i'm exceptionally grateful. . [volumes left unsaid.] On Sat, Jan 05, 2008 at 10:49:54AM +, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gary Kline wrote: Anybody know how I messed up? ---This is no excuse, but because of the recent build problems I did wholesale ``portupgrades -af'' (**sigh**) Why cannot creat the queue files?? At a guess, either the queue directories for either or both the MSP and MTA sendmail instances have the wrong permissions or one or other of MSP, MTA sendmail instances is running with the wrong user credentials. You shouldn't get that by doing portupgrade -- certainly I've done a few 'portupgrade -af' jobs as part of 6.x - 7.0 upgrading and not seen anything similar. Anyhow, you can check that files and directories have the correct ownership etc. by: # mtree -p / -ef /etc/mtree/BSD.sendmail.dist # mtree -p /var -ef /etc/mtree/BSD.var.dist You can fix any problems by: # mtree -p / -U /etc/mtree/BSD.sendmail.dist # mtree -p /var -U /etc/mtree/BSD.var.dist I found out on my own that my clientqueue was 755. my doing. it was set (not by me to something bizarre like 740. i thought i had opened it up to 777 as a test. i fixed that by hand. no diff. long-story-short, i ran into worse problems of Connection refused for tao==10.0.0.250, then after a bollixed mergemaster, Connection refused with tao only be recognized as 127.0.0.1. I knew that / I had blown away my working /etc/hosts file. I check, yup, all my 10.* hosts were gone. After I added back my private network, sendmail went back to the better failure, seeing Tao as 10.250, oldtao|tao2 at 100.247, etc. Then I checked my /etc/namedb/s/db.thought.org to see id anything there could conceivably be hanging port 25. Zip. (I still updated the date and re-exed. I checked with ps and grep to find something new: ~ 624 ?? Ss 0:01.16 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/r p0 0:27 sage [5005] In theory I know pretty much what bind9does, c; but why this change? (Part of my gnome (2.20) is missing so I cannot max enlarge the konsole; ps -alx does not wrap so I cant see the entire string.) I can pimg ns1.thought.org--obviously. But if you see anything here, Matthew, would you please let me know? The other thing to check is that you are running sendmail using the correct users and groups. You should see something like this: # ps -o ruser,rgroup,svuid,svgid,command -p `head -1 /var/run/sendmail.pid` -p `head -1 /var/spool/clientmqueue/sm-client.pid` RUSER RGROUP SVUID SVGID COMMAND root wheel 025 sendmail: accepting connections (sendmail) smmsp smmsp 2525 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientm Yep; this works. And that you have the following lines somewhere in /etc/master.passwd: smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin and the following in /etc/group: smmsp:*:25: mailnull:*:26: PING: i'm missing mailnull. how long has sendmail had this and if it is more than 6, 8 months, how ever was 6.2 sendmaiil working I just pasted in to master.passwd. EERp; it is in /etc/group. I never touch these files. I did use vipw on tao last week but not on ns1 (aka sage). Got to check my backups of /etc for sage and see. Proof: staff:*:20:root sshd:*:22:root smmsp:*:25:root,kline mailnull:*:26: id anybody can come up with a SWAG, I'Ll buy you a beer next time you're in seattle. ...this is worse than who killed jack-the-ripper. could-- well... [[?? (bar)]] and that the actual sendmail binary (assuming you're using the base system sendmail and not one from ports) has the following ownership and permissions: # ls -l /usr/libexec/sendmail/ total 688 - -r-xr-sr-x 1 root smmsp 686268 Dec 30 13:50 sendmail* Ouch; things are getting stranger and stranger; on tuesdayi did a make buildworld (plus a make kernel); then rebooted and after four hours of getty problems was finally able to get in an installworld. Does this make any sense? is this perhaps the 5.5 or 5,4 sendmail...? total 592 -r-xr-sr-x
Re: outgoing mail STOPPED.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gary Kline wrote: Then I checked my /etc/namedb/s/db.thought.org to see id anything there could conceivably be hanging port 25. Zip. (I still updated the date and re-exed. I checked with ps and grep to find something new: The best way to check for any processes listening on port 25 is: % sockstat | grep :25 root sendmail 1193 3 tcp4 81.187.76.162:25 *:* root sendmail 1193 5 tcp4 127.0.0.1:25 *:* root sendmail 1193 6 tcp6 ::1:25*:* root sendmail 1193 7 tcp6 2001:8b0:151:1:240:5ff:fea5:8db7:25*:* ~ 624 ?? Ss 0:01.16 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/r p0 0:27 sage [5005] In theory I know pretty much what bind9does, c; but why this change? (Part of my gnome (2.20) is missing so I cannot max enlarge the konsole; ps -alx does not wrap so I cant see the entire string.) I can pimg ns1.thought.org--obviously. But if you see anything here, Matthew, would you please let me know? To get ps output without truncation, simply add 'ww' to the flags -- one 'w' gives you a 132 column output (shades of those old fan-fold line printer TTYs there) and two (or more) 'w's gives you unlimited width: # ps -alx | grep /usr/sbin/s 0 689 1 0 44 0 3188 1240 select Ss??0:07.28 /usr/sbin/s 0 1188 1 0 44 0 5640 3356 select Is??0:00.02 /usr/sbin/s # ps -alxww | grep /usr/sbin/s 0 689 1 0 44 0 3188 1240 - Rs??0:07.29 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -a 81.187.76.161/32:4096 -l /var/named/var/run/log 0 1188 1 0 44 0 5640 3356 select Is??0:00.02 /usr/sbin/sshd 1001 16014 1376 0 44 0 380 260 - R+p00:00.00 grep /usr/sbin/s As for the presence of '-l /var/named/var/run/log' -- that's added to the syslogd flags automatically by the /etc/rc.d/syslogd startup script[*] if you're running named chrooted (which is the default). This means that syslogd can log the items outside the chroot that are generated by named within it. You should see output from named in /var/log/all.log - -- precisely what you see depends entirely on the logging configuration in named.conf. Cheers, Matthew [*] The reason I have it twice is that a long time ago I'd also added it to syslogd_flags manually, something I shall correct imminently. - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgglp8Mjk52CukIwRCMTeAJ9U/iicerUyzugUEucgZ1fFvavB7ACeNLkM /Go2XMJctLl+Ci9w3RrjxeM= =LbnH -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gary Kline wrote: Anybody know how I messed up? ---This is no excuse, but because of the recent build problems I did wholesale ``portupgrades -af'' (**sigh**) Why cannot creat the queue files?? At a guess, either the queue directories for either or both the MSP and MTA sendmail instances have the wrong permissions or one or other of MSP, MTA sendmail instances is running with the wrong user credentials. You shouldn't get that by doing portupgrade -- certainly I've done a few 'portupgrade -af' jobs as part of 6.x - 7.0 upgrading and not seen anything similar. Anyhow, you can check that files and directories have the correct ownership etc. by: # mtree -p / -ef /etc/mtree/BSD.sendmail.dist # mtree -p /var -ef /etc/mtree/BSD.var.dist You can fix any problems by: # mtree -p / -U /etc/mtree/BSD.sendmail.dist # mtree -p /var -U /etc/mtree/BSD.var.dist The other thing to check is that you are running sendmail using the correct users and groups. You should see something like this: # ps -o ruser,rgroup,svuid,svgid,command -p `head -1 /var/run/sendmail.pid` -p `head -1 /var/spool/clientmqueue/sm-client.pid` RUSER RGROUP SVUID SVGID COMMAND root wheel 025 sendmail: accepting connections (sendmail) smmsp smmsp 2525 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientm And that you have the following lines somewhere in /etc/master.passwd: smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin and the following in /etc/group: smmsp:*:25: mailnull:*:26: and that the actual sendmail binary (assuming you're using the base system sendmail and not one from ports) has the following ownership and permissions: # ls -l /usr/libexec/sendmail/ total 688 - -r-xr-sr-x 1 root smmsp 686268 Dec 30 13:50 sendmail* Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf2DR8Mjk52CukIwRCCdDAJ97dbwlBhHeL8s+97C3dGy5DI7KwQCeKA9L cBqEBEfLO5hHwq65cDvZrYI= =DKg1 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thu, Jan 03, 2008 at 05:48:06PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? Bill Moran http://www.potentialtech.com The two lines you suggested I add to my .cf file idn't work, Bill, but it was a start at least. Somehow I managed to screw up even incoming mail on sage==ns1. And most or all of my other internal servers are hosed too. TO get mail flowing again, at least incoming, I retrieved that last sendmail from RCS and restarted mail. I'm hoping that somebody can clue me in. It may be a peermissions problem. But where/ and why would this be a SYSERR problem. For instance, from my new server, when I try to send mail to my DNS server, the following is what is reported in maillog: Jan 4 13:25:45 tao sendmail[18706]: m04LPjIr018706: SYSERR(kline): collect: Cannot write ./dfm04LPjIr018706 (bfcommit, uid=1004, gid=25): Permission denied Jan 4 13:25:45 tao sendmail[18706]: m04LPjIr018706: from=kline, size=543, class=0, nrcpts=1, [EMAIL PROTECTED] Jan 4 13:25:45 tao sendmail[18706]: m04LPjIr018706: SYSERR(kline): queueup: cannot create queue file ./qfm04LPjIr018706, euid=1004, fd=-1, fp=0x0: Permission denied Anybody know how I messed up? ---This is no excuse, but because of the recent build problems I did wholesale ``portupgrades -af'' (**sigh**) Why cannot creat the queue files?? gary -- Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? yes. i don't se e anything from tao, zen, ethos, nothing. also nothing is in /var/spool/mqueue either. anything i should be looking for in maillog?? -- Bill Moran http://www.potentialtech.com -- Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? Oh::: update, thing do get out from ns1.thought.org, my DNS server. things do not get out to ns1. from my private network. what should i do to get my local sendmails going?? SMNARTSERVERR maybe?? (I just swwitched tao2 to tao.) ideas?? -- Bill Moran http://www.potentialtech.com -- Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? -- Bill Moran http://www.potentialtech.com MORE:: Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: -- MAIL From:[EMAIL PROTECTED] SIZE=635 Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.0 [EMAIL PROTECTED]... Sender ok Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: -- RCPT To:freebsd-questions@FreeBSD.ORG Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.5 freebsd-questions@FreeBSD.ORG... Recipient ok Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: -- DATA Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 354 Enter mail, end with . on a line by itself Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: from=[EMAIL PROTECTED], size=843, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, [EMAIL PROTECTED] [127.0.0.1] Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.0.0 m03MRshQ017367 Message accepted for delivery Jan 3 14:27:54 sage sendmail[17366]: m03MRsC6017366: [EMAIL PROTECTED], ctladdr=kline (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30635, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m03MRshQ017367 Message accepted for delivery) Jan 3 14:27:54 sage sendmail[17367]: m03MRshR017367: -- QUIT Jan 3 14:27:54 sage sendmail[17367]: m03MRshR017367: --- 221 2.0.0 sage.thought.org closing connection Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: --- 050 freebsd-questions@FreeBSD.ORG... Connecting to mx1.freebsd.org. via esmtp... Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: makeconnection (mx1.freebsd.org. [IPv6:2001:4f8:fff6::34]) failed: No route to host Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: SMTP outgoing connect on ns1 Jan 3 14:27:55 sage sendmail[17370]: m03MRshQ017367: --- 050 freebsd-questions@FreeBSD.ORG... Deferred: 450 4.7.1 freebsd-questions@FreeBSD.ORG: Recipient address rejected: Service is unavailable Jan 3 14:27:55 sage sendmail[17370]: m03MRshQ017367: to=freebsd-questions@FreeBSD.ORG, ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30843, relay=mx1.freebsd.org. [69.147.83.52], dsn=4.7.1, stat=Deferred: 450 4.7.1 freebsd-questions@FreeBSD.ORG: Recipient address rejected: Service is unavailable Jan 3 14:27:55 sage sendmail[17370]: NOQUEUE: --- 050 Closing connection to mx1.freebsd.org. I don't understand why freebsd.org seems unreachablea Do I have to configure IPv6? -- Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
In response to Gary Kline [EMAIL PROTECTED]: On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? This is what I was looking for. See inline comments: MORE:: Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: -- MAIL From:[EMAIL PROTECTED] SIZE=635 Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.0 [EMAIL PROTECTED]... Sender ok Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: -- RCPT To:freebsd-questions@FreeBSD.ORG Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.1.5 freebsd-questions@FreeBSD.ORG... Recipient ok Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: -- DATA Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 354 Enter mail, end with . on a line by itself Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: from=[EMAIL PROTECTED], size=843, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, [EMAIL PROTECTED] [127.0.0.1] Jan 3 14:27:54 sage sendmail[17367]: m03MRshQ017367: --- 250 2.0.0 m03MRshQ017367 Message accepted for delivery Jan 3 14:27:54 sage sendmail[17366]: m03MRsC6017366: [EMAIL PROTECTED], ctladdr=kline (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30635, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m03MRshQ017367 Message accepted for delivery) Jan 3 14:27:54 sage sendmail[17367]: m03MRshR017367: -- QUIT Jan 3 14:27:54 sage sendmail[17367]: m03MRshR017367: --- 221 2.0.0 sage.thought.org closing connection Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: --- 050 freebsd-questions@FreeBSD.ORG... Connecting to mx1.freebsd.org. via esmtp... Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: makeconnection (mx1.freebsd.org. [IPv6:2001:4f8:fff6::34]) failed: No route to host ^^ Here it's trying to connect the the IPv6 address for mx1.freebsd.org but is unable to. I'm going to go out with a limb and guess that you're not using IPv6 yet. Apparently you can add the following to your cf file: DAEMON_OPTIONS(`Family=inet, Name=MTA') CLIENT_OPTIONS(`Family=inet, Name=MTA') But I'm not a sendmail expert, so I can't verify that this information is correct. Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: SMTP outgoing connect on ns1 Jan 3 14:27:55 sage sendmail[17370]: m03MRshQ017367: --- 050 freebsd-questions@FreeBSD.ORG... Deferred: 450 4.7.1 freebsd-questions@FreeBSD.ORG: Recipient address rejected: Service is unavailable Why is this machine falling back to send mail via ns1? If that's intended, then ns1 needs to be configured to accept mail from this system and act as a relay. Jan 3 14:27:55 sage sendmail[17370]: m03MRshQ017367: to=freebsd-questions@FreeBSD.ORG, ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30843, relay=mx1.freebsd.org. [69.147.83.52], dsn=4.7.1, stat=Deferred: 450 4.7.1 freebsd-questions@FreeBSD.ORG: Recipient address rejected: Service is unavailable Jan 3 14:27:55 sage sendmail[17370]: NOQUEUE: --- 050 Closing connection to mx1.freebsd.org. I don't understand why freebsd.org seems unreachablea Do I have to configure IPv6? No, but apparently you need to tell sendmail that you haven't configured IPv6. Unless you're _trying_ to use IPv6, in which case there would appear to be something wrong with you IPv6 config. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thu, Jan 03, 2008 at 05:48:06PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? This is what I was looking for. See inline comments: MORE:: [ ... ] Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: --- 050 freebsd-questions@FreeBSD.ORG... Connecting to mx1.freebsd.org. via esmtp... Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: makeconnection (mx1.freebsd.org. [IPv6:2001:4f8:fff6::34]) failed: No route to host ^^ Here it's trying to connect the the IPv6 address for mx1.freebsd.org but is unable to. I'm going to go out with a limb and guess that you're not using IPv6 yet. Apparently you can add the following to your cf file: DAEMON_OPTIONS(`Family=inet, Name=MTA') CLIENT_OPTIONS(`Family=inet, Name=MTA') But I'm not a sendmail expert, so I can't verify that this information is correct. I'm FAR from savvy sendmail wise, but know enouhto assk if I have to run the above options thru the preprocesssor. Do you know?? Also, why-oh-why, can I only get out thru sage|ns1? I can reach from sage to here at toxic.magnesium.net. But from nowhere else . anybody? no wonder people have ben writing to see if i died or whatever.. my lifeline is dead. Jan 3 14:27:54 sage sendmail[17370]: m03MRshQ017367: SMTP outgoing connect on ns1 Jan 3 14:27:55 sage sendmail[17370]: m03MRshQ017367: --- 050 freebsd-questions@FreeBSD.ORG... Deferred: 450 4.7.1 freebsd-questions@FreeBSD.ORG: Recipient address rejected: Service is unavailable Why is this machine falling back to send mail via ns1? If that's intended, then ns1 needs to be configured to accept mail from this system and act as a relay. Jan 3 14:27:55 sage sendmail[17370]: m03MRshQ017367: to=freebsd-questions@FreeBSD.ORG, ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30843, relay=mx1.freebsd.org. [69.147.83.52], dsn=4.7.1, stat=Deferred: 450 4.7.1 freebsd-questions@FreeBSD.ORG: Recipient address rejected: Service is unavailable Jan 3 14:27:55 sage sendmail[17370]: NOQUEUE: --- 050 Closing connection to mx1.freebsd.org. I don't understand why freebsd.org seems unreachablea Do I have to configure IPv6? No, but apparently you need to tell sendmail that you haven't configured IPv6. Unless you're _trying_ to use IPv6, in which case there would appear to be something wrong with you IPv6 config. Hm ok, well, i've used to dooted-demical, but going for 64 or 128 bits is . well, no wonder i feel like a fossil! thanks muchly, gary -- Bill Moran http://www.potentialtech.com -- Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thu, Jan 03, 2008 at 05:06:49PM -0500, Bill Moran wrote: In response to Gary Kline [EMAIL PROTECTED]: I stumpped. I get incomiing ail, but nothing gets out from my private networked servers. Anybody know where to start figuring out why?? Have you checked /var/log/maillog? All right. adding your options didn't seemto help get me to fbsd.org, but I just send mail from my old tao2 and my newer tao here to magnesium.net. Can anybody bmake sense of this from my mailloog files?? 11st tao2:: (used to be mmy #1: Jan 3 15:59:54 tao2 sm-mta[93720]: m03NxrGL093720: from=[EMAIL PROTECTED], size=775, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1] Jan 3 15:59:54 tao2 sendmail[93718]: m03NxqBQ093718: [EMAIL PROTECTED], ctladdr=kline (1001/1001), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30493, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m03NxrGL093720 Message accepted for delivery) Jan 3 15:59:55 tao2 sm-mta[93722]: STARTTLS=client, relay=toxic.magnesium.net., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Jan 3 15:59:56 tao2 sm-mta[93722]: m03NxrGL093720: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1001/1001), delay=00:00:03, xdelay=00:00:02, mailer=esmtp, pri=30775, relay=toxic.magnesium.net. [207.154.84.15], dsn=2.0.0, stat=Sent (Ok: queued as D9F19DA9AD) Next, from my new tao: Jan 3 14:33:53 tao sendmail[48500]: m03MXr7b048500: from=kline, size=40, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jan 3 14:33:53 tao sm-mta[48503]: m03MXrHB048503: [EMAIL PROTECTED]... User unknown Jan 3 14:33:53 tao sendmail[48500]: m03MXr7b048500: to=sage.thought.org, ctladdr=kline (1004/1004), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30040, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown Jan 3 14:33:53 tao sm-mta[48503]: m03MXrHB048503: from=[EMAIL PROTECTED], size=40, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=localhost.thought.org [127.0.0.1] Jan 3 16:03:26 tao sendmail[94146]: m0403Qsv094146: SYSERR(kline): collect: Cannot write ./dfm0403Qsv094146 (bfcommit, uid=1004, gid=25): Permission denied Jan 3 16:03:26 tao sendmail[94146]: m0403Qsv094146: from=kline, size=546, class=0, nrcpts=1, [EMAIL PROTECTED] Jan 3 16:03:26 tao sendmail[94146]: m0403Qsv094146: SYSERR(kline): queueup: cannot create queue file ./qfm0403Qsv094146, euid=1004, fd=-1, fp=0x0: Permission denied I noticed thw queing problems earlier. Who should own the mqueue directories? This is from tao; busted. 2 drwxr-x--- 2 smmsp smmsp 512 Jan 3 14:33 clientmqueue 2 drwx-wx--- 3 cups cups512 Dec 30 09:05 cups 2 drwxrwxr-x 2 uucp dialer 512 Jan 3 10:28 lock 2 drwxr-xr-x 4 root daemon 512 Jun 30 2007 lpd 2 drwxr-xr-x 2 root daemon 512 Jan 3 14:11 mqueue 2 drwx-- 2 root daemon 512 Jan 11 2007 opielocks 2 drwxr-xr-x 3 root daemon 512 May 24 2007 output p4 16:12 tao [3499] This is from my OLD tao: 2 drwxrwx--- 2 smmsp smmsp 512 Jan 3 15:59 clientmqueue 2 drwxr-xr-x 3 root daemon 512 Dec 21 01:14 cups 2 drwxrwxr-x 2 uucp dialer 512 Dec 29 13:07 lock 2 drwxr-xr-x 3 root daemon 512 Sep 9 2006 lpd 2 drwxr-xr-x 2 root daemon 512 Jan 3 16:00 mqueue 2 drwx-- 2 root daemon 512 Nov 4 2004 opielocks 2 drwxr-xr-x 3 root daemon 512 Sep 9 2006 output p6 16:14 tao2 [5014] This is from my DNS server where things work, at least partly. anybody? -- Bill Moran http://www.potentialtech.com -- Gary Kline Seattle BSD Users' Group (seabug) | [EMAIL PROTECTED] Thought Unlimited Org's Alternate Email Site http://www.magnesium.net/~kline To live is not a necessity; but to live honorably...is a necessity. -Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thursday 03 January 2008 06:22:38 pm Gary Kline wrote: This is from my OLD tao: 2 drwxrwx--- 2 smmsp smmsp 512 Jan 3 15:59 clientmqueue possible chmod 770 the clientmqueue on the new? seems like i had a similar trouble when i migrated my sendmail server into a jail a while back. (and mine's currently a 770). good luck, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd08 [EMAIL PROTECTED] dfwlp.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
On Thursday 03 January 2008 08:55:44 pm Jonathan Horne wrote: On Thursday 03 January 2008 06:22:38 pm Gary Kline wrote: This is from my OLD tao: 2 drwxrwx--- 2 smmsp smmsp 512 Jan 3 15:59 clientmqueue possible chmod 770 the clientmqueue on the new? seems like i had a similar trouble when i migrated my sendmail server into a jail a while back. (and mine's currently a 770). good luck, if that turns out to be what it was, you can check stuck mail with mailq and then, you can flush it on thru with /usr/sbin/sendmail -v -q -C/etc/mail/sendmail.cf cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd08 [EMAIL PROTECTED] dfwlp.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: outgoing mail STOPPED.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Kline Sent: vrijdag 4 januari 2008 1:23 To: Bill Moran Cc: FreeBSD Mailing List Subject: Re: outgoing mail STOPPED. 2 drwxr-x--- 2 smmsp smmsp 512 Jan 3 14:33 clientmqueue Seems to me clientmqueue is no longer group-writeable. - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]