[Spce-user] Voicemails are sent from asterisk at spce

Jiri Ptacnik ptakjura at gmail.com
Mon Jan 15 09:08:20 EST 2024


Hi Volodymyr,

your setup is probably working, but I think, this is also not right:

spce.spce-test.lab.com

You also have one "spce" more in that address.

Jiri

po 15. 1. 2024 v 14:20 odesílatel Volodymyr Fedorov <lexxua at gmail.com> napsal:
>
> Hi Jiri,
> Just for the sake of curiosity I installed clean SPCE and did the
> following in config.yml.
> root at spce:~# ngcpcfg show
> commit f617fdaac64e4c474ddeece346de76f2de53b5f7 (HEAD -> master)
> Author: ngcp-config <root at spce>
> Date:   Mon Jan 15 13:56:25 2024 +0100
>
>     add smarthost [2024-01-15 13:56:25.165250075+01:00]
>
> diff --git a/config.yml b/config.yml
> index 3aecd3b..c6b6244 100644
> --- a/config.yml
> +++ b/config.yml
> @@ -540,10 +540,10 @@ cluster_sets:
>  database:
>    bufferpoolsize: 64M
>  email:
> -  domain: ''
> -  hostname: ''
> +  domain: 'spce-test.lab.com'
> +  hostname: 'spce-test.lab.com'
>    smarthosts:
> -  - hostname: ''
> +  - hostname: '192.168.88.20'
>      password: ''
>      port: 0
>      require_tls: no
>
>
> email which I got on smtp server looks like this:
> Received: from autoprov.lab.sipwise.com ([127.0.0.1]) by inbucket
>   for <james at james.com>; Mon, 15 Jan 2024 14:05:46 +0100 (CET)
> Received: from [192.168.88.247] (helo=spce-test.lab.com.spce-test.lab.com)
> by 192.168.88.20 with esmtp (Exim 4.95)
> (envelope-from <asterisk at spce-test.lab.com>)
> id 1rPMew-0068h1-OR
> for james at james.com;
> Mon, 15 Jan 2024 14:05:46 +0100
> Received: from asterisk by spce-test.lab.com.spce-test.lab.com with
> local (Exim 4.94.2)
> (envelope-from <asterisk at spce.spce-test.lab.com>)
> id 1rPMev-0001M0-QT
> for james at james.com; Mon, 15 Jan 2024 14:05:45 +0100
> Date: Mon, 15 Jan 2024 14:05:45 +0100
> From: "Voicemail server" <voicebox at spce-test.lab.com>
> To: "" <james at james.com>
> Subject: =?UTF8?Q?=5BVoicebox=5D_New_message_3_in_voicebox_380503515106?=
> Message-ID: <Asterisk-3-1447532345-f25a38e4-a3de-42d0-a7ec-20eaaede6715-526 at spce>
> X-Asterisk-CallerID: 750484000000
> MIME-Version: 1.0
> Content-Type: multipart/mixed;
> boundary="----voicemail_3f25a38e4-a3de-42d0-a7ec-20eaaede6715526837992960"
>
> BR,
> Vova
>
>
> On Mon, Jan 15, 2024 at 9:40 AM Jiri Ptacnik <ptakjura at gmail.com> wrote:
> >
> > Thanks. I am almost sure I have troubles with hostname(s), probably
> > with default "spce"
> >
> > I do not have any "spce" in config.yml but it is always coming back
> > after ngcpcfg-apply. In network.yml is nodename=spce but if I change
> > it, bad things happens... (invalid schema detected)
> > So "spce" is back in "etc/hosts" and probably from there it is taken
> > to "/etc/exim4/update-exim4.conf.conf" and also into "etc/mailname".
> >
> > In a right way, it should all be generated from config.yml or other
> > yml files, but I am not able to find, from where is "spce" coming.
> >
> > Another weird thing is, "etc/hosts" is also rewritten after
> > ngcpcfg-apply with this "127.0.0.2 spce. spce".
> >
> > My mail only works, when I rewrite manualy etc/hosts and when I
> > replace "127.0.0.2 spce. spce" with something else, for example with
> > "123.123.123.123 my.server.com my"
> >
> > Jiri
> >
> > po 15. 1. 2024 v 9:00 odesílatel Marco Capetta via Spce-user
> > <spce-user at lists.sipwise.com> napsal:
> > >
> > > Hi Jiri,
> > >
> > > the file '/etc/exim4/update-exim4.conf.conf' is controlled by the ngcpcfg framework like most of the other configuration files. All the time you apply changes using the ngcpcfg framework, all the manual changes you do on the configuration files will be overwritten. In case you want to customize the config file you have to create the 'customtt' version of that file as described in the handbook.
> > >
> > > It would be helpful if you also post here in the email the changes you did to the config file so we can analyze them and fix the issue on our side, if any.
> > >
> > > Thank you
> > >
> > > Marco
> > >
> > > On Sun, Jan 14, 2024 at 12:04 PM Jiri Ptacnik <ptakjura at gmail.com> wrote:
> > >>
> > >> I am almost desperate
> > >>
> > >> In documentation is no word about EXIM4 reconfiguring, just about edit
> > >> in config.yml...
> > >>
> > >> After EXIM4 reconfiguration i finaly have not "spce", but "domain.com"
> > >> in mailname and in some parts of emails.
> > >>
> > >> For some time, it worked, voicemails were sent from
> > >> asterisk at domain.com and probably enveloped to serveremail defined in
> > >> config.yml.
> > >>
> > >> But after some time (reboot, etckeepering, ngcpcfg applying) it is not
> > >> function again. asterisk at spce is back, grrr!
> > >>
> > >> There is no "spce" in hostname, mailname or hosts. But it is again in
> > >> mail log. And as non-existing domain, it is not accept in external
> > >> mailserver.
> > >>
> > >> Also I can see again "spce" in etc/exim4/update-exim4.conf.conf
> > >>
> > >> JiriP
> > >>
> > >>
> > >> po 8. 1. 2024 v 9:15 odesílatel Jiri Ptacnik <ptakjura at gmail.com> napsal:
> > >> >
> > >> > also, in etc/mailname is "spce"
> > >> >
> > >> > weird is, when I change it to FQDN, it reverts back in some time...
> > >> > probably without ngcpcfg apply, it us just reverted back to spce...
> > >> >
> > >> > any hints?
> > >> >
> > >> > thanks
> > >> > JP
> > >> >
> > >> > ne 31. 12. 2023 v 16:22 odesílatel Jiri Ptacnik <ptakjura at gmail.com> napsal:
> > >> > >
> > >> > > Hi,
> > >> > >
> > >> > > why voicemails are sent from
> > >> > >
> > >> > > asterisk at spce
> > >> > >
> > >> > > and "serveremail" parameter from config.yml, voicemail section is ignored?
> > >> > >
> > >> > > email section of config.yml is configured to use smarthost
> > >> > >
> > >> > > 10.5.6 SPCE version (it occurred in some previous installed version
> > >> > > and probably it worked, but during some upgrades it goes off - not
> > >> > > sure about it).
> > >> > >
> > >> > > Also etc/asterisk/voicemail.conf is updated from config.yml and seems
> > >> > > ok, at least serveremail value is same, as in config.yml.... but still
> > >> > > sending as asterisk at spce
> > >> > >
> > >> > > thanks
> > >> > > Jiri
> > >>
> > >> --
> > >> Spce-user mailing list
> > >> Spce-user at lists.sipwise.com
> > >> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
> > >
> > >
> > >
> > > --
> > >
> > > Sipwise GmbH | an Alcatel-Lucent Company
> > > Leonard-Bernstein-Straße 10 | 1220 Wien
> > > Email: invoice at sipwise.com
> > > Website: https://www.sipwise.com
> > >
> > > Particulars according Austrian Companies Code paragraph 14
> > > Geschäftsführer: DI Dr. Gernot Fuchs      Sitz: Wien             FG: Landesgericht Wien              FN: 305595f
> > > Die übermittelten Informationen sind ausschließlich dem Empfänger vorbehalten und können vertrauliches oder privilegiertes Material enthalten. Ein Gebrauch, Weiterleitung oder Verbreitung in jeglicher Form seitens Dritter ist nicht gestattet. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitten wir Sie, sich mit dem Absender in Verbindung zu setzen und die Nachricht einschließlich der Anlagen zu löschen. Jegliche nicht autorisierte Nutzung dieser E-Mail ist illegal.
> > > Hinweis zum Datenschutz: Sipwise GmbH ist der Schutz Ihrer Daten wichtig. Auch durch die Kommunikation per E-Mail werden personenbezogene Daten ausgetauscht. Erfahren Sie mehr unter: www.sipwise.com
> > >
> > > Managing Director: DI Dr. Gernot Fuchs     HQ: Vienna       FG: Vienna Regional Court        FN: 305595f
> > > Confidentially notice. This e-mail transmission may contain legally privileged and/or confidential information. Please do not read it if you are not the intended recipient(s). Any use, reproduction or disclosure by any other person is prohibited. If you have received this e-mail in error, please notify the sender and destroy the original transmission and its attachments without reading or saving it in any manner. Any unauthorized use of this e-mail is illegal.
> > > Note on data protection: Sipwise GmbH attaches great importance to the protection of your data. Personal data is also exchanged through communication by e-mail. Learn more at: www.sipwise.com
> > > --
> > > Spce-user mailing list
> > > Spce-user at lists.sipwise.com
> > > http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
> >
> > --
> > Spce-user mailing list
> > Spce-user at lists.sipwise.com
> > http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>
>
>
> --
> Best regards,
> Volodymyr



More information about the Spce-user mailing list