[Pkg-exim4-users] Troubleshooting exim4 in Wheezy.

Johann Spies jspies at sun.ac.za
Thu Mar 6 07:11:13 UTC 2014

On Wed, Mar 05, 2014 at 01:57:59PM -0800, Peter Easthope wrote:
> Johann, thanks for the reply.
> From:	Johann Spies <jspies at sun.ac.za>
> Date:	Wed, 5 Mar 2014 08:29:47 +0200
> > * Read the content of message R=1WKULW-0003cw-4j. It should be an error
> >   message giving you some reason for the non-delivery
> Haven't found that message yet.

Look in /var/spool/exim4/input and /var/spool/exim4/msglog
> > * Run 'sudo exim4 -v -d all -M 1WKULW-0003d0-Cd' and watch what happens.
> In the verbose output from the second command, these three lines catch
> my eye.
> "cached data used for lookup of root
>   in /etc/email-addresses
> lookup failed"
> I added "root: peter at easthope.ca" to email-addresses although do not
> recall seeing it mentioned in any instructions for configuration.

You can do that in /etc/aliases:

root: peter
peter: peter at easthope.ca

or something similar.

> *** 	IO::Socket::INET: connect: Connection refused
> Also, paniclog has four lines with this complaint.
> 2014-03-04 21:29:16 socket bind() to port 25 for address
> failed: Cannot assign requested address: daemon abandoned

What does paniclog complain about? /var/log/exim4/paniclog

> This localhost also has a Shorewall fw zone.  If anyone knows of a
> requirement in Shorewall, please comment.

With this policy in shorewall I have nothing added for smtp:

$FW		net		ACCEPT
net		all		DROP		info
all		all		REJECT		info

If you want to receive mail by smtp from outside, you should add a rule
for that in /etc/shorewall/rules.

Johann Spies                            Telefoon: 021-808 4699
Databestuurder /  Data manager		Faks: 021-883 3691

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

     "The LORD is my light and my salvation; whom shall I 
      fear? the LORD is the strength of my life; of whom 
      shall I be afraid?"           Psalms 27:1 
The integrity and confidentiality of this email is governed by these terms / Hierdie terme bepaal die integriteit en vertroulikheid van hierdie epos. http://www.sun.ac.za/emaildisclaimer

More information about the Pkg-exim4-users mailing list