Sendmail – DSN: Service unavailable

I have a OpenBSD 3.7 i386 server setup to use Sendmail for outgoing only. Sendmail is in default configuration with only modifications to the mail aliases (/etc/mail/aliases).

I recently started noticing that I was not receiving any emails from the server. Right away I went and looked at my /var/log/maillog to see what was going on and also checked /var/spool/mqueue and /var/spool/mqueue. I noticed two things in the maillog it referred to “DSN: Service unavailable” and “dsn=5.0.0, stat=Service unavailable” and noticed a huge amount of emails sitting in my /var/spool/clientmqueue directory.

As usual I went to Google to see if I could find an answer but was having difficulty. So I went to IRC EFNet #OpenBSD channel. With some help by NicM and amonk I was able to resolve the problem. Thanks guys. The problem lies in how you have your /etc/hosts, /etc/hosts.allow and /etc/hosts.deny. Here’s what I did.

I removed any reference to localhost.domain.com in my hosts file and then also replaced ALL:LOCAL with ALL: 127.0.0.1 in my hosts.allow. The combination of the two caused the emails to not pass through. As soon as these changes were done email started passing through. If for some reason based on your configuration of those three files (hosts/hosts.allow/hosts.deny) this does not resolve you can add sendmail: localhost in your hosts.allow file. If this doesn’t resolve the problem use the below recommend resources I found useful.

Resource: Enhanced Mail System Status Codes (rfc 1893) – Look up status code meaning (i.e. 5.0.0).
Resource: MTP Service Extension for Returning Enhanced Error Codes (rfc 2034)
Resource: Web Server Talk > Email Servers > Sendmail support > DSN: Service Unavailable

British government lost 150 PCs

This is old news by now but I had to comment on this because it just blew me away.

I came across this article talking about the lost of computer systems in the British government. This is obscured amount of missing computer systems. 153 lost last year alone and 23 lost this year. I’m sorry but this is udderly ridiculous. I would be demanding as to why this is happening and what is going to be done about it. There should be no reason for this occurring, period! Maybe I’m out to lunch of internal/external theft within a organization but please there must be something that can be done. It’s great that the numbers has been dramatically reduced however stating that this is “similar in percentage terms to any large organization” and stating that they have policies to encrypt the data so it’s safe. Come on people, encryption can be broken especially for a price. It’s nice they have such a policy but lets get things straight here.

Source: Channel Register
Source: eGov Monitor

Exercise Guides for Free

I found the exercise guides to be so well done and an excellent reference that I had to tell everyone I could that might be interested. The exercise guides with pictures and videos are available for free. No catches at least as of the post of this blog.

If anyone else knows of a good exercise web sites similar to this please post a comment to let us all know.

Source: Bodybuilding.com Exercise Guides