We've installed LISTSERV and started it up but we are getting the following error:

3 Jun 2018 10:59:07 Requeuing 1 mail file for delivery...

3 Jun 2018 10:59:08 >>> Error X'00B0037B' enqueuing mail for delivery <<<

3 Jun 2018 10:59:08  -> Severity: Error

3 Jun 2018 10:59:08  -> Facility: POSIX/unix error codes

3 Jun 2018 10:59:08  -> Abstract: Unspecified error (111) - See errno.h

3 Jun 2018 10:59:08  -> strerror: Connection refused

3 Jun 2018 10:59:08 -> 1 mail file left unprocessed.

There are two ways to look at this -- either sendmail (or whatever you are using as an SMTP MTA) is not running, or sendmail is running but is not configured to accept mail from the network. Obviously the first thing to check is to see if sendmail is running.

If sendmail is running, it is likely configured in a default state which does not allow it to receive mail from the network (this is the default in newer versions of RedHat Linux, for instance, most likely as an anti-spam/anti-relay precaution for sites that install RedHat without doing much local configuration). One way to confirm this is to attempt to telnet to port 25 of the machine from another machine. If the connection is refused and sendmail is running, you've confirmed the problem.

For machines running sendmail, in order to change the default to accept mail from the network, the following checklist is provided. If you are not running sendmail, you will have to refer to the documentation that came with your SMTP MTA for further guidance.

Linux Note: In order to do the following you must have installed the sendmail-cf RPM. That's something that has to be done at the OS level. L-Soft cannot help you with it.

1.cd into /etc/mail and open sendmail.mc in a text editor. Find the following text in that file:

dnl This changes sendmail to only listen on the loopback device

dnl and not on any other network devices. Comment this out if you want

dnl to accept email over the network.

DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')

2.Make backup copies of /etc/mail/sendmail.mc and /etc/sendmail.cf

3.Change the DAEMON_OPTIONS line to read

dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')

This comments the line out as noted in the explanatory text.

4.Save the file.

5.Run 'm4 /etc/mail/sendmail.mc > /etc/sendmail.cf' from the shell prompt. This will overwrite your existing sendmail.cf, so be sure you made a backup of it in #1.

6.Do 'ps ax | grep sendmail'. This should give you something like

[rerun]root:/etc/mail# ps ax | grep sendmail

2299 ?        S      0:00 sendmail: accepting connections

12423 pts/0    S      0:00 grep sendmail

and will tell you sendmail's current PID (in this case it was 2299).

7.Do 'kill -HUP xxx' where 'xxx' is sendmail's PID. This will force sendmail to re-read sendmail.cf and implement the new configuration.

Please note: If this does not fix the problem, or if sendmail is already accepting mail from the network at large, you will have to refer to the sendmail documentation or ask Sendmail support for assistance. While L-Soft supports LISTSERV running in a sendmail environment, L-Soft does not provide product support for sendmail itself.