[Spacewalk-list] Mail Notifications

Graeme Fowler G.E.Fowler at lboro.ac.uk
Thu May 2 14:39:00 UTC 2019


The error message you detail looks to me very much like an Exim response, not Postfix; your system looks to be accepting the locally-generated mail but the mail relay is struggling with it.

If you’re not sending from a fully-qualified, verifiable sender address within your own institution’s email namespace(s) then you might well find the relay won’t accept the messages – although the 451 error implies that there’s something the relay can’t process rather than something it rejects on.

At Loughborough we set default_mail_from to be root at hostname.domain<mailto:root at hostname.domain> – so something like:

default_mail_from = root at dev-spacewalk-instance.birmingham.ac.uk<mailto:root at dev-spacewalk-instance.birmingham.ac.uk>

(noting that the hostname/domain must resolve in your DNS!)

Graeme

From: <spacewalk-list-bounces at redhat.com> on behalf of "P.Cookson at bham.ac.uk" <P.Cookson at bham.ac.uk>
Reply-To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Date: Thursday, 2 May 2019 at 15:19
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Subject: [Spacewalk-list] Mail Notifications

Good afternoon

I have Spacewalk 2.8 installed on a RHEL 7.6 system with Postfix configured to use our own mail relay. If I send an email test, from the command line, to my personal email box I receive the email straightaway. However, I’m not receiving email Notifications, from Spacewalk, even though they are checked in the Users’ Preferences screen.

I can see the following type of errors in /var/log/maillog (hostname etc made anonymous):

May  2 14:34:50 <hostname> postfix/smtp[45681]: 422EAE2C60: to=<user>@<address>, relay=<relay name>[<relay IP>]:25, delay=409786, delays=409781/0.03/5/0.02, dsn=4.0.0, status=deferred (host relay=<relay name>[<relay IP>] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))

Is there some Spacewalk configuration that needs to be done to enable it to utilise Postfix perhaps? As an example I’ve seen some references to web.default_mail_from, in /etc/rhn/rhn.conf, but I’m not sure what it actually needs to be set to.

Regards

Philip Cookson
Linux Administrator
IT Services
ERI Building
Edgbaston
Birmingham
B15 2TT

Tel: 0121 414 4731
Email: p.cookson at bham.ac.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190502/6235854e/attachment.htm>


More information about the Spacewalk-list mailing list