Mail Info coming from where?

NethServer Version: 7.8
Module: Stephdl Repo

@stephdl

Salut Stephane

At a client with a NethServer running with Guacamole and your Repo for a few components we’re getting a mail about updates…

We never entered in an e-mail address, nor did we put in any smarthost or any email information, yet the server is sending mail to the clients internal Exchange Server to the admin.

How can this be turned off?

Andy

Note:

The client uses both the

domains. Where does this info come from?
The NethServer is running in their DMZ. Server “dryshoc” is the NethServer.

Mail Header:

Received: from ex-2016.clientdomain.de (192.168.50.37) by ex-2016.clientdomain.de
 (192.168.50.37) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5 via Mailbox
 Transport; Fri, 9 Oct 2020 04:29:18 +0200
Received: from ex-2016.clientdomain.de (192.168.50.37) by ex-2016.clientdomain.de
 (192.168.50.37) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Fri, 9 Oct 2020
 04:29:12 +0200
Received: from dryshoc.clientdomain.com (192.168.194.43) by ex-2016.clientdomain.de
 (192.168.50.37) with Microsoft SMTP Server id 15.1.1913.5 via Frontend
 Transport; Fri, 9 Oct 2020 04:29:12 +0200
Received: by dryshoc.clientdomain.com (Postfix, from userid 0)
	id 8FB701109E46; Fri,  9 Oct 2020 04:29:12 +0200 (CEST)
Date: Fri, 9 Oct 2020 04:29:12 +0200
To: <admin@clientdomain.com>, <root@dryshoc.clientdomain.com>
Subject: Stephdl Updates available for dryshoc.clientdomain.com
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <20201009022912.8FB701109E46@dryshoc.clientdomain.com>
From: root <root@dryshoc.clientdomain.com>
Return-Path: root@dryshoc.clientdomain.com
X-MS-Exchange-Organization-Network-Message-Id: 68c69f7a-4616-4959-1356-08d86bfb1c39
X-GFI-SMTP-Submission: 1
X-GFI-SMTP-HelloDomain: dryshoc.clientdomain.com
X-GFI-SMTP-RemoteIP: 192.168.194.43
X-MS-Exchange-Organization-AVStamp-Enterprise: 1.0
X-MS-Exchange-Organization-AuthSource: ex-2016.clientdomain.de
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Transport-EndToEndLatency: 00:00:05.5832234
X-MS-Exchange-Processed-By-BccFoldering: 15.01.1913.009

I’d be grateful for ANY feedback, I’m stumped with where it get’s the e-mail address from and how it knows where to send mail to…

My 2 cents
Andy

1 Like

The mail is sent with the script /sbin/e-smith/check4StephdlUpdates and it runs via the cron job /etc/cron.daily/check4StephdlUpdates.

Mails are sent to root and admin@NETHDOMAIN and it seems to work with the Exchange Server that may allow sending mail without authentication.

1 Like

you can remove it but the next upgrade of my rpm will bring it back :wink:

What about an empty custom template?

EDIT:

OK it’s not templated. Won’t work.

no because this file is pushed whatever your changes . I would like to take this opportunity of publicity to write the full message, I know that few people read it :smiley: thank @Andy_Wismer

To apply all the updates of stephdl repository, you can log on your server and run the following command :

yum update --enablerepo=stephdl

To apply all the updates of roundcubemail repository, you can log on your server and run the following command :

yum update --enablerepo=stephdl-roundcubemail

To apply all the updates of dolibarr repository, you can log on your server and run the following command :

yum update --enablerepo=stephdl-dolibarr

=== Donation :
All my development work is done in my free time and from my own expenses. The softwares are free for you, but not the hardware to develop them.
If you consider my work as something helpful, thank you to kindly make a donation and allow me to continue paying my server and all associated costs.
Every euros make the difference, please consider the recurring donation if you earn your living with my softwares.
https://mirror.de-labrusse.fr/doku.php#donation

2 Likes