This question is a FAQ, and is answered in the MH FAQ, but the answers
don't seem to help my situation...

Here's the problem. I'm using exmh, but when I try to send, I get this
message:

post: problem initializing server; [BHST] no servers available
send: message not delivered to anyone

>From the MH FAQ, I gather that this is because it can't connect to
localhost port 25. There is a reason for that: I don't have anything
listening on port 25 and I don't want to. I'm somewhat security-minded
and strongly believe that a system should not allow anyone access to
anything they don't actually need access to. Therefore, because this
box isn't a mail server, I don't have anything listening on the SMTP
port.

Anyway, looking at the MH FAQ:

>5. Your load average is so high that sendmail is refusing connections.
>    Solution: Change your configuration from "mta: sendmail/smtp" to
>    "mta: sendmail" so that a sendmail processes is spawned to
>    deliver the message.  This is a double-edged sword since the
>    extra process only makes the load worse.

This sounds like what I want to do. My system is refusing SMTP
connections, although not because of load. I tried adding the "mta:
sendmail" line to my ~/.mh_profile, and I also tried a "servers:" line
with the name of my mail server. No change with either option.

What am I supposed to do? I wasn't sure about the mta option, but I
figured that the servers line would work. Is the ~/.mh_profile file
ignored or do I have these options in the wrong place?

BTW, I'm running sendmail (with only the -q option) instead of smail,
if that makes a difference.

Reply via email to