request a replacement for Thunderbird + Enigmail

2023-01-02 Thread DdB
Hello List,

i feel the time has come to find a more up-to-date replacement for my
email-solution, but ...

Up til now, i am using Thunderbird (52.9.1 (64-Bit) + Enigmail +
ToneQuilla + Virtual Identity and more ...) on stretch from inside a
Virtualbox-VM.

That allowed to correspond seamlessly with GPG users on more than 20
addresses (from 6 different providers), while i was acoustically
notified about the different levels of relevance of those mails, since
20+ years. (makes a huge database)

While keeping this stuff alive for an extended period of time, i have
been able to prevent the necessity to enter any passphrase manually, to
decrypt/encrypt automatically, and many more convenient solutions to
ease my life.

Of course, i knew, that this could come to an end, but i have not found
a valid replacement yet. The current Thunderbird fails big time at
solving the GPG part, even worse: They (Mozilla/NSA/???) want to have
control over private keys in their own keystore, built by people
obviously not skilled enough to create a(ny) secure piece of software.
That is why i refused to embark on the path of replacing the isolated,
but integrated solution Enigmail with something less trustworthy, less
flexible, and less stable.

But i feel, i will have to start building up an alternative, could not
yet make up my mind.

That is why i am asking for your communities experience and recommendations.

How are YOU dealing with encryption, with multiple providers, with
addresses created on-the-fly, with a huge email history, and so on?

Really interested to find a solution, that can last for many years to come.

regards, DdB



Re: installer can't detect my usb adapter

2023-01-02 Thread Timothy M Butterworth
On Mon, Jan 2, 2023 at 7:55 PM lou  wrote:

> On 1/3/23 08:41, Timothy M Butterworth wrote:
>
> >
> >
> > Which installation medium are you using? I have a RealTek WiFi adapter
> > and it requires the non-free installer for binary blobs to work.
> >
> >
> https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.6.0+nonfree/amd64/iso-dvd/
> >
> > Tim
> >
> Thank Tim, i use debian-11.6.0-amd64-netinst.iso, i don't use unofficial
> images
>
> non-free is an official image and it is merging with the free installer
for Bookworm.


> after recognition it shall prompt me for non-free firmware, but it can't
> recognize it
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: installer can't detect my usb adapter

2023-01-02 Thread David Wright
On Tue 03 Jan 2023 at 08:52:07 (+0800), lou wrote:
> On 1/3/23 08:41, Timothy M Butterworth wrote:
> > 
> > Which installation medium are you using? I have a RealTek WiFi
> > adapter and it requires the non-free installer for binary blobs to
> > work.
> > 
> > https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.6.0+nonfree/amd64/iso-dvd/
> > 
> Thank Tim, i use debian-11.6.0-amd64-netinst.iso, i don't use
> unofficial images
> 
> after recognition it shall prompt me for non-free firmware, but it
> can't recognize it

One approach you might be able to use is to copy the firmware that
buster is using and place it in the equivalent location in your
bullseye.

For example, my NIC uses (as seen by dmesg):

  r8169 :03:00.0: firmware: direct-loading firmware rtl_nic/rtl8168g-2.fw

and my old buster installation on this machine has that file at:

  $ ls -l /buster/lib/firmware/rtl_nic/rtl8168g-2.fw 
  -rw-r--r-- 1 root root 4896 Aug 22  2019 
/buster/lib/firmware/rtl_nic/rtl8168g-2.fw
  $ 

(/buster is where I mounted the old buster root filesystem,
readonly, when bullseye is running.)

My bullseye has:

  $ ls -l /lib/firmware/rtl_nic/rtl8168g-2.fw 
  -rw-r--r-- 1 root root 4896 Jul 25  2021 /lib/firmware/rtl_nic/rtl8168g-2.fw
  $ 

and cmp shows that the two versions are identical, despite the timestamps.

Just take care to create any subdirectories required (like the rtl_nic
here).

Cheers,
David.



Re: installer can't detect my usb adapter

2023-01-02 Thread lou

On 1/3/23 08:41, Timothy M Butterworth wrote:




Which installation medium are you using? I have a RealTek WiFi adapter 
and it requires the non-free installer for binary blobs to work.


https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.6.0+nonfree/amd64/iso-dvd/

Tim

Thank Tim, i use debian-11.6.0-amd64-netinst.iso, i don't use unofficial 
images


after recognition it shall prompt me for non-free firmware, but it can't 
recognize it




Re: installer can't detect my usb adapter

2023-01-02 Thread Timothy M Butterworth
On Mon, Jan 2, 2023 at 7:35 PM lou  wrote:

> i have realtek 8188eus usb adapter, it works in buster
>
> but after reboot, it can't be recognized, i have to unplug and plug usb
> adapter to help detection. this isn't big inconvenience for me because i
> rarely reboot
>
> my problem is bullseye installer can't detect it even after i unplug and
> plug it. i run "modprobe r8188eu" in installer's terminal, it doesn't
> help detection. lsusb command doesn't exist. if wifi isn't setup by
> installer, then i am unable to setup it after installation because of
> some debian bug
>
>
Which installation medium are you using? I have a RealTek WiFi adapter and
it requires the non-free installer for binary blobs to work.

https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.6.0+nonfree/amd64/iso-dvd/

Tim

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


installer can't detect my usb adapter

2023-01-02 Thread lou

i have realtek 8188eus usb adapter, it works in buster

but after reboot, it can't be recognized, i have to unplug and plug usb 
adapter to help detection. this isn't big inconvenience for me because i 
rarely reboot


my problem is bullseye installer can't detect it even after i unplug and 
plug it. i run "modprobe r8188eu" in installer's terminal, it doesn't  
help detection. lsusb command doesn't exist. if wifi isn't setup by 
installer, then i am unable to setup it after installation because of 
some debian bug




Re: is there a tcp window size restriction?

2023-01-02 Thread Dan Ritter
Lee wrote: 
> I just noticed that I can't get a 1MB tcp window on debian 11
> 
> $ iperf --version
> iperf version 2.1.4 (18 August 2021) pthreads
> 
> $ iperf -s -w 1M --time 60 -i 10
> 
> Server listening on TCP port 5001
> TCP window size:  416 KByte (WARNING: requested 1.00 MByte)
> 
> 
> The exact same software (.. or at least the same source code) on a
> windows 10/cygwin machine says I get the full 1MB tcp window size:
> TCP window size: 1.00 MByte
> 
> So is there something on the Debian machine limiting the tcp window &
> if so, how do I change it.

https://netbeez.net/blog/how-to-adjust-the-tcp-window-size-limit-on-linux/

Details are not Debian-specific; sysctl config can be placed in
/etc/sysctl.conf or in the /etc/sysctl.d/ directory.

-dsr-



is there a tcp window size restriction?

2023-01-02 Thread Lee
I just noticed that I can't get a 1MB tcp window on debian 11

$ iperf --version
iperf version 2.1.4 (18 August 2021) pthreads

$ iperf -s -w 1M --time 60 -i 10

Server listening on TCP port 5001
TCP window size:  416 KByte (WARNING: requested 1.00 MByte)


The exact same software (.. or at least the same source code) on a
windows 10/cygwin machine says I get the full 1MB tcp window size:
TCP window size: 1.00 MByte

So is there something on the Debian machine limiting the tcp window &
if so, how do I change it.

Thanks
Lee



Re: Network bridge usage.

2023-01-02 Thread debian-user
> On Mon, Jan 02, 2023 at 11:30:02AM +, debian-u...@howorth.org.uk
> wrote:
> > > On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:
> > > It's first quad is 9, binary 0110.  
> > 
> > Eh? 9 is 0101 in binary! 0110 is denary 10.  
> 
> 5  is 0101
> 6  is 0110
> 9  is 1001
> 10 is 1010

Oops. How embarrassing. Apologies for the noise.



Re: L'option svm de virtualisation désactivée après migration de Buster vers Bullseye

2023-01-02 Thread Étienne Mollier
Bonjour Olivier,

Olivier, on 2023-01-02:
> J'ai profité des fêtes pour mettre à jour de Buster à Bullseye
> quelques machines.

Très bonne idée !  :)

> L'une d'elles est utilisée comme hôte de virtualisation KVM/libvirt.
> 
> La migration s'est en apparence passé sans encombre.
> Pourtant, ce matin en essayant de cloner une VM, j'ai eu un message
> inhabituel du type Emulator '/usr/local/sbin/qemu' does punot support
> virt type 'kvm'
> 
> En cherhant rapidement sur le web, j'ai trouvé [1].
> J'ai re-démarré la machine hôte en accédant au BIOS.
> Dans celui-ci, j'ai vu que l'option qui gère les fonctions de
> virtualisation était désactivée.
> Après l'avoir activée, j'ai pu cloner normalement ma VM.
> 
> Comment est-il possible qu'une simple migration Buster vers Bullseye
> désactive les fonctions de virtualisation ?

C'est peut-être une coïncidence avec la mise à jour majeure de
Debian.  Toutes les fois où j'ai pu me retrouver dans une
situation similaire, j'ai eu une remise à zéro complète des
options du Bios.  Du coup, j'aurais tendance à regarder du côté
de la pile de la carte mère, voir si elle est encore en état.
Ce genre de chose peut arriver assez fréquemment si le matériel
n'est plus tout récent.

Mais peut-être que je fais fausse route : si ça se trouve il est
possible de piloter ce genre de paramêtres grâce à uefi depuis
le système d'exploitation, mais je vois mal pourquoi une mise à
jour majeure du système d'exploitation aurait changé ce
paramêtre.

Meilleurs vœux,  :)
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/tty1, please excuse my verbosity.
On air: Yes - Homeworld (The Ladder)


signature.asc
Description: PGP signature


Re: configurer sendmail/exim4 pour utiliser smtp tiers

2023-01-02 Thread didier gaumet

Bonjour,

Il y a un article du wiki Debian sur Exim:
https://wiki.debian.org/Exim
Dans un scénario qui a l'air proche du tien, on y parle de relai 
smarthost, de macro TLS et de réécriture d'adresse e-mail de l'émetteur.
(Je ne sais pas si ça joue mais je suis chez Free aussi et il me semble 
que j'utilise TLS plutôt que STARTTLS)




Re: Xfce desktop problem

2023-01-02 Thread David Wright
On Mon 02 Jan 2023 at 05:20:58 (-0500), Cindy Sue Causey wrote:
> On 1/1/23, David Wright  wrote:
> > On Sun 01 Jan 2023 at 15:31:04 (-0600), William Torrez Corea wrote:
> >> How to can restore my last configuration?
> >
> > So I assume your "last configuration" is in ~/.config/xfce4-session/
> > and ~/.config/xfce4/ .
> >
> >> Try resetting to defaults
> >
> > I assume that by this you mean "move my configuration out the way
> > and left a new set of defaults be created by running xfce", ie move:
> >
> >> mv ~/.config/xfce4-session/ ~/.config/xfce4-session-bak
> >> mv ~/.config/xfce4/ ~/.config/xfce4-bak
> >
> > and then run xfce.
> >
> >> When i want to restore the old configuration, i remove the -bak that's
> >> been appended to the old directories; but i don't get any result.
> 
> 
> David might have hit on something here with that, "[A]nd then run
> xfce."

Well, yes, I assume that when you're playing with the configuration
files, xfce is /not/ running. I have assumed that running xfce in the
absence of any configuration files, and then immediately exiting,
will leave behind a fresh set of default configuration files, in the
manner of, say, mc.¹

> What about.. some form of logging completely out to a [console]
> or root user's GUI, moving those files/directories aside, and then try
> logging back in again? I've experienced similar circular pains and
> have fixed them using both methods of accessing those stubborn
> "Whack-A-Mole" types of files.
> 
> The glitch that *might* be occurring is that maybe XFCE4 is instantly
> throwing up new but same config files as soon as the old are deleted,

Not being an xfce user, I have no idea how it behaves if you fiddle
with its configuration files while it is running.

> else crash and burn if it is in current use. It would end up being an
> endless battle because those instantly returning config files will
> reflect whatever personal choices are still showing on the screen...
> 
> Unless one logs an affected user out completely first...
> 
> Or not. :)

All this is way beyond me: I have no experience of running DEs.

¹ When a new version of mc is released, I do just that, and then
  reconcile mc's new defaults with my own configuration files.

Cheers,
David.


Re: 16, 32 ou 64 Go de RAM

2023-01-02 Thread Hugues Larrive





--- Original Message ---
Le lundi 2 janvier 2023 à 15:11, hamster  a écrit :


> 

> 

> Le 02/01/2023 à 09:30, Basile Starynkevitch a écrit :
> 

> > On 02/01/2023 01:51, Olivier Lange wrote:
> > 

> > > Le dim. 1 janv. 2023, 15 h 16, hamster hams...@suna.fdn.fr a écrit :
> > > 

> > > Le 01/01/2023 à 17:05, Olivier Lange a écrit :
> > > > Et pour ceux qui parlent de 16 voir 8go, oubliez pas qu'il dit
> > > vouloir
> > > > le garder 5 ans. C'est quoi le gain, sur 5 ans, de prendre que
> > > 16Go? 20€/an?
> > > 

> > > Cette question peut aussi bien etre posée dans l'autre sens : quel
> > > est
> > > l'interet de prendre 32 Go si dans toute la durée d'utilisation de
> > > cet
> > > ordi il y en aura la moitié qui servira jamais ?
> > 

> > La question originelle mentionnait du développement (Visual Studio Code
> > https://code.visualstudio.com/).
> > 

> > S'il s'agit de contribuer au développement de gros logiciels
> > (probablement libres) sous Debian, comme GCC https://gcc.gnu.org/ ou
> > Mozilla Firefox
> > https://firefox-source-docs.mozilla.org/contributing/index.html ou Qt
> > https://github.com/qt pendant plusieurs années, les 32Go sont
> > aujourd’hui un luxe mais seront occasionnellement utilisés
> > (principalement comme cache disque avec une compilation parallèle, et
> > aussi quand on fait un "build" parallèle avec g++ -g -flto -O2 -fanalyzer).
> > 

> > (il suffit par exemple de compiler GCC https://gcc.gnu.org/ avec make
> > -j8 ou de compiler Qt https://github.com/qt ou le noyau linux
> > https://kernel.org/)
> > 

Justement :
>>> Running pre-merge checks for dev-qt/qtwebengine-5.15.7_p20221122
 * Checking for at least 128 GiB RAM ...


[ !! ]
 * There is NOT at least 128 GiB RAM

Cette vm gentoo a 64 cpu et 64Go de RAM, du coup j'ai un MAKEOPTS="-j64"
dans le make.conf du système. En baissant à -j32 ça passe (il ne demande
plus que 64Go de RAM). Les projets les plus gourmands sont ceux qui
utilisent cmake comme firefox pour lequel il faut compter 1Go par CPU.
Visiblement pour qtwebengine c'est pire !

En gros je dirais que c'est raisonnable de compter entre 512Mo et 2Go
par CPU pour la plupart des utilisations. 1Go/CPU est une bonne
moyenne.

> > Bien sûr, si on se cantonne à compiler des hello world ou de petits
> > logiciels personnels d'un millier lignes de C, 8Go suffiront le plus
> > souvent (mais pas pour mon manydl.c
> > http://www.starynkevitch.net/basile/manydl.c). Même dans 5 ans.
> 

> 

> Ah, voila enfin des arguments techniques détaillés. Merci a toi pour cela.

publickey - hlarrive@pm.me - 0xE9429B87.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Network bridge usage.

2023-01-02 Thread Jeffrey Walton
On Mon, Jan 2, 2023 at 8:47 AM Greg Wooledge  wrote:
>
> On Mon, Jan 02, 2023 at 11:30:02AM +, debian-u...@howorth.org.uk wrote:
> > > On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:
> > > It's first quad is 9, binary 0110.
> >
> > Eh? 9 is 0101 in binary! 0110 is denary 10.
>
> 5  is 0101
> 6  is 0110
> 9  is 1001
> 10 is 1010

Yes, this.

(I thought I lost what was left of my mind...)



Re: Network bridge usage.

2023-01-02 Thread gene heskett

On 1/2/23 09:12, to...@tuxteam.de wrote:

On Mon, Jan 02, 2023 at 08:46:37AM -0500, Greg Wooledge wrote:

On Mon, Jan 02, 2023 at 11:30:02AM +, debian-u...@howorth.org.uk wrote:

On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:
It's first quad is 9, binary 0110.


Eh? 9 is 0101 in binary! 0110 is denary 10.


5  is 0101
6  is 0110
9  is 1001
10 is 1010


Embarrasing. That means I was off-by-three (my personal
record, I think), and that the VM manager is cheating.

Thanks


Stuff happens Tomas. OTOH if I got that answer, I would be analyzing the 
logic to see where a stuck bit could take place with a scope probe in 
one hand, and the hot soldering iron in the other. By the time I quit 
school in the 40's and went to work fixing radio's, then tv's when they 
came out, I already had those grafted to my hands.  The rest as they 
say, is history. Now I'm a 21 year retired old coot trying to keep up 
with computing.


Happy new year all.

Take care, stay warm and well all.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: 16, 32 ou 64 Go de RAM

2023-01-02 Thread hamster

Le 02/01/2023 à 09:30, Basile Starynkevitch a écrit :


On 02/01/2023 01:51, Olivier Lange wrote:



Le dim. 1 janv. 2023, 15 h 16, hamster  a écrit :

Le 01/01/2023 à 17:05, Olivier Lange a écrit :
> Et pour ceux qui parlent de 16 voir 8go, oubliez pas qu'il dit
vouloir
> le garder 5 ans. C'est quoi le gain, sur 5 ans, de prendre que
16Go? 20€/an?

Cette question peut aussi bien etre posée dans l'autre sens : quel
est
l'interet de prendre 32 Go si dans toute la durée d'utilisation de
cet
ordi il y en aura la moitié qui servira jamais ?



La question originelle mentionnait du développement (Visual Studio Code 
).


S'il s'agit de contribuer au développement de gros logiciels 
(probablement libres) sous Debian, comme GCC  ou 
Mozilla Firefox 
  ou Qt 
  pendant plusieurs années, les 32Go sont 
aujourd’hui un luxe mais seront occasionnellement utilisés 
(principalement comme cache disque avec une compilation parallèle, et 
aussi quand on fait un "build" parallèle avec g++ -g -flto -O2 -fanalyzer).


(il suffit par exemple de compiler GCC  avec make 
-j8 ou de compiler Qt  ou le noyau linux 
)



Bien sûr, si on se cantonne à compiler des hello world ou de petits 
logiciels personnels d'un millier lignes de C, 8Go suffiront le plus 
souvent (mais pas pour mon manydl.c 
). Même dans 5 ans.


Ah, voila enfin des arguments techniques détaillés. Merci a toi pour cela.



Re: Network bridge usage.

2023-01-02 Thread tomas
On Mon, Jan 02, 2023 at 08:46:37AM -0500, Greg Wooledge wrote:
> On Mon, Jan 02, 2023 at 11:30:02AM +, debian-u...@howorth.org.uk wrote:
> > > On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:
> > > It's first quad is 9, binary 0110.
> > 
> > Eh? 9 is 0101 in binary! 0110 is denary 10.
> 
> 5  is 0101
> 6  is 0110
> 9  is 1001
> 10 is 1010

Embarrasing. That means I was off-by-three (my personal
record, I think), and that the VM manager is cheating.

Thanks
-- 
t


signature.asc
Description: PGP signature


Re: configurer sendmail/exim4 pour utiliser smtp tiers

2023-01-02 Thread NoSpam


Le 02/01/2023 à 14:01, roger.tar...@free.fr a écrit :

Bonjour

Cette syntaxe à double ':' avant le n° de port (ex : 
|smtp.example.com::587|) se retrouve à de nombreux endroits :

ex : https://www.pontikis.net/blog/gmail-smarthost-exim4-debian
https://alexander.holbreich.org/exim-mail-google/

Quel outil utiles-tu pour envoyer des e-mails depuis un programme avec 
un service smtp tiers ?
postfix. Comme annoncé par un autre intervenant, ssmtp est une bonne 
alternative


Re: Network bridge usage.

2023-01-02 Thread Greg Wooledge
On Mon, Jan 02, 2023 at 11:30:02AM +, debian-u...@howorth.org.uk wrote:
> > On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:
> > It's first quad is 9, binary 0110.
> 
> Eh? 9 is 0101 in binary! 0110 is denary 10.

5  is 0101
6  is 0110
9  is 1001
10 is 1010



Evnoi programmatique de courriel: Re: configurer sendmail/exim4 pour utiliser smtp tiers

2023-01-02 Thread Basile Starynkevitch


On 02/01/2023 14:01, roger.tar...@free.fr wrote:

Bonjour

Cette syntaxe à double ':' avant le n° de port (ex : 
|smtp.example.com::587|) se retrouve à de nombreux endroits :

ex : https://www.pontikis.net/blog/gmail-smarthost-exim4-debian
https://alexander.holbreich.org/exim-mail-google/

Quel outil utiles-tu pour envoyer des e-mails depuis un programme avec 
un service smtp tiers ?



Une bibliothèque en C++ pour ce faire existe: https://www.vmime.org/


En plus, je découvre qu'elle est développée en France.


(et on pourrait imaginer que le logiciel RefPerSys 
 en http://refpersys.org/ soit 
étendu pour l'utiliser; si vous êtes intéressés, contactez moi - Basile 
Starynkevitch - par courriel).



Librement.


--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/


Re: configurer sendmail/exim4 pour utiliser smtp tiers

2023-01-02 Thread roger . tarani
Bonjour 

Cette syntaxe à double ':' avant le n° de port (ex : smtp.example.com::587 ) se 
retrouve à de nombreux endroits : 
ex : [ https://www.pontikis.net/blog/gmail-smarthost-exim4-debian | 
https://www.pontikis.net/blog/gmail-smarthost-exim4-debian ] 
[ https://alexander.holbreich.org/exim-mail-google/ | 
https://alexander.holbreich.org/exim-mail-google/ ] 

Quel outil utiles-tu pour envoyer des e-mails depuis un programme avec un 
service smtp tiers ? 


De: "NoSpam"  
À: "Liste Debian"  
Envoyé: Lundi 2 Janvier 2023 13:33:05 
Objet: Re: configurer sendmail/exim4 pour utiliser smtp tiers 



Bonjour 
Le 02/01/2023 à 02:49, [ mailto:roger.tar...@free.fr | roger.tar...@free.fr ] a 
écrit : 



Bonjour la liste, et bonne année 2023, 

Sur un serveur debian11, j'ai besoin d'activer un service de messagerie. 
J'ai déjà réussi par le passé et un programme utilisait fiablement une commande 
sendmail (comme on peut le faire en CLI : echo "Subject: hello" | sendmail [ 
mailto:t...@example.com |  toto@ ] freefr ). 

Déjà, je souhaite pouvoir exploiter un serveur de messagerie tiers (free.fr 
ici, par exemple). 
On verra ensuite pour configurer un serveur de messagerie envoi/réception sur 
cette machine. 


[...] 

BQ_BEGIN


dc_smarthost='smtp.free.fr::465' 

BQ_END


Je n'utilise pas exim mais cette configuration m'interpelle. Ne seraitce pas 
plutôt 

dc_smarthost='smtp.free.fr:465' 






Re: configurer sendmail/exim4 pour utiliser smtp tiers

2023-01-02 Thread NoSpam

Bonjour

Le 02/01/2023 à 02:49, roger.tar...@free.fr a écrit :

Bonjour la liste, et bonne année 2023,

Sur un serveur debian11, j'ai besoin d'activer un service de messagerie.
J'ai déjà réussi par le passé et un programme utilisait fiablement une 
commande sendmail (comme on peut le faire en CLI : echo "Subject: 
hello" | sendmail toto@ freefr ).


Déjà, je souhaite pouvoir exploiter un serveur de messagerie tiers 
(free.fr ici, par exemple).
On verra ensuite pour configurer un serveur de messagerie 
envoi/réception sur cette machine.

[...]


dc_smarthost='smtp.free.fr::465'


Je n'utilise pas exim mais cette configuration m'interpelle. Ne seraitce 
pas plutôt


dc_smarthost='smtp.free.fr:465'




Re: Network bridge usage.

2023-01-02 Thread tomas
On Mon, Jan 02, 2023 at 11:30:02AM +, debian-u...@howorth.org.uk wrote:
> > On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:
> > > Greetings for the New Year to Debian users,
> > > 
> > > Verifying and updating instructions here.
> > > https://en.wikibooks.org/wiki/Oberon/ETH_Oberon/QEMUinstall#Network_Connection_on_a_Virtual_Machine
> > > Questions (1) and (2) follow.
> > > 
> > > root@joule:/home/root# ip link show br0
> > > 4: br0:  mtu 1500 qdisc noqueue
> > > state DOWN mo de DEFAULT group default qlen 1000
> > > link/ether 92:e0:54:07:2a:e2 brd ff:ff:ff:ff:ff:ff
> > > 
> > > br0 is a virtual interface; not connected to hardware.
> > > (1) How is address 92:e0:54:07:2a:e2 derived?  
> > 
> > It's first quad is 9, binary 0110.
> 
> Eh? 9 is 0101 in binary! 0110 is denary 10.

Eh... yes. Off-by-one error, it seems (this tomas guy seems
to be a programmer). Second bit still set, though (phew :)

> The last bit in a binary
> number determines whether a number is odd or even.
> 
> So I think this means universally administered?

See above.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Network bridge usage.

2023-01-02 Thread debian-user
> > On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:  
> > > Greetings for the New Year to Debian users,
> > > 
> > > Verifying and updating instructions here.
> > > https://en.wikibooks.org/wiki/Oberon/ETH_Oberon/QEMUinstall#Network_Connection_on_a_Virtual_Machine
> > > Questions (1) and (2) follow.
> > > 
> > > root@joule:/home/root# ip link show br0
> > > 4: br0:  mtu 1500 qdisc noqueue
> > > state DOWN mo de DEFAULT group default qlen 1000
> > > link/ether 92:e0:54:07:2a:e2 brd ff:ff:ff:ff:ff:ff
> > > 
> > > br0 is a virtual interface; not connected to hardware.
> > > (1) How is address 92:e0:54:07:2a:e2 derived?
> > 
> > It's first quad is 9, binary 0110.  
> 
> Eh? 9 is 0101 in binary! 0110 is denary 10. The last bit in a binary
> number determines whether a number is odd or even.
> 
> So I think this means universally administered?

Oops. The U/L bit is actually 1 I think, the last one in 01010010.
So yes, locally administered.

> > The second bit is set: this
> > tells you that it is a locally administered address [1]
> > 
> > Typically it's the VM hypervisor who's in charge of generating
> > one (ideally in a way that it doesn't collide with others). For
> > example, qemu-xxx have a command line parameter `mac' for that.
> > 
> > Cheers
> > 
> > [1]
> > https://en.wikipedia.org/wiki/MAC_address#Universal_vs._local_(U/L_bit)
> >   
> 



Re: Network bridge usage.

2023-01-02 Thread debian-user
> On Sun, Jan 01, 2023 at 11:31:38AM -0800, pe...@easthope.ca wrote:
> > Greetings for the New Year to Debian users,
> > 
> > Verifying and updating instructions here.
> > https://en.wikibooks.org/wiki/Oberon/ETH_Oberon/QEMUinstall#Network_Connection_on_a_Virtual_Machine
> > Questions (1) and (2) follow.
> > 
> > root@joule:/home/root# ip link show br0
> > 4: br0:  mtu 1500 qdisc noqueue
> > state DOWN mo de DEFAULT group default qlen 1000
> > link/ether 92:e0:54:07:2a:e2 brd ff:ff:ff:ff:ff:ff
> > 
> > br0 is a virtual interface; not connected to hardware.
> > (1) How is address 92:e0:54:07:2a:e2 derived?  
> 
> It's first quad is 9, binary 0110.

Eh? 9 is 0101 in binary! 0110 is denary 10. The last bit in a binary
number determines whether a number is odd or even.

So I think this means universally administered?

> The second bit is set: this
> tells you that it is a locally administered address [1]
> 
> Typically it's the VM hypervisor who's in charge of generating
> one (ideally in a way that it doesn't collide with others). For
> example, qemu-xxx have a command line parameter `mac' for that.
> 
> Cheers
> 
> [1]
> https://en.wikipedia.org/wiki/MAC_address#Universal_vs._local_(U/L_bit)
> 



Re: Xfce desktop problem

2023-01-02 Thread Cindy Sue Causey
On 1/1/23, David Wright  wrote:
> On Sun 01 Jan 2023 at 15:31:04 (-0600), William Torrez Corea wrote:
>> How to can restore my last configuration?
>
> So I assume your "last configuration" is in ~/.config/xfce4-session/
> and ~/.config/xfce4/ .
>
>> Try resetting to defaults
>
> I assume that by this you mean "move my configuration out the way
> and left a new set of defaults be created by running xfce", ie move:
>
>> mv ~/.config/xfce4-session/ ~/.config/xfce4-session-bak
>> mv ~/.config/xfce4/ ~/.config/xfce4-bak
>
> and then run xfce.
>
>> When i want to restore the old configuration, i remove the -bak that's
>> been appended to the old directories; but i don't get any result.


David might have hit on something here with that, "[A]nd then run
xfce." What about.. some form of logging completely out to a [console]
or root user's GUI, moving those files/directories aside, and then try
logging back in again? I've experienced similar circular pains and
have fixed them using both methods of accessing those stubborn
"Whack-A-Mole" types of files.

The glitch that *might* be occurring is that maybe XFCE4 is instantly
throwing up new but same config files as soon as the old are deleted,
else crash and burn if it is in current use. It would end up being an
endless battle because those instantly returning config files will
reflect whatever personal choices are still showing on the screen...

Unless one logs an affected user out completely first...

Or not. :)

Cindy :)
-- 
Talking Rock, Pickens County, Georgia, USA
* Merry Happies! *



Re: configurer sendmail/exim4 pour utiliser smtp tiers

2023-01-02 Thread Belaïd
Bonjour et bonne année à tous !

Pour tes besoins qui sont simples (utilisation d'un relais) je te conseil
d'utiliser ssmtp, c'est vraiment hyper simple et rapide !

Le lun. 2 janv. 2023 à 02:50,  a écrit :

> Bonjour la liste, et bonne année 2023,
>
> Sur un serveur debian11, j'ai besoin d'activer un service de messagerie.
> J'ai déjà réussi par le passé et un programme utilisait fiablement une
> commande sendmail (comme on peut le faire en CLI : echo "Subject: hello" |
> sendmail toto@ freefr ).
>
> Déjà, je souhaite pouvoir exploiter un serveur de messagerie tiers (
> free.fr ici, par exemple).
> On verra ensuite pour configurer un serveur de messagerie envoi/réception
> sur cette machine.
>
> Après utilisation de dpkg-reconfigure exim4-config :
> $ cat update-exim4.conf.conf
> dc_eximconfig_configtype='smarthost'
> dc_other_hostnames=''
> dc_local_interfaces='127.0.0.1'
> dc_readhost='localhost'
> dc_relay_domains=''
> dc_minimaldns='false'
> dc_relay_nets=''
> dc_smarthost='smtp.free.fr::465'
> CFILEMODE='644'
> dc_use_split_config='false'
> dc_hide_mailname='false'
> dc_mailname_in_oh='true'
> dc_localdelivery='mail_spool'
>
> J'ai trouvé une tonne d'articles sur sendmail/exim4 qui ne m'ont pas
> permis de faire marcher cette simple configuration.
>
> De mémoire, j'avais réussi à faire marcher exim4 avec un serveur SMTP
> tiers en trifouillant dans exim4.conf.template , un peu comme expliqué dans
> ce site devenu injoignable (web archive) :
>
> https://web.archive.org/web/20220611061029/https://manu-j.com/blog/wordpress-exim4-ubuntu-gmail-smtp/75/
>
> J'avais aussi utilisé cette page et me souviens avoir pu faire tourner
> exim avec : https://debian-facile.org/doc:reseau:exim4-pour-les-nulls
>
> Après un :
> $ echo "Subject: hello" | sendmail t...@free.fr
>
> A présent, le service exim4 dit :
>
> $ tail -20 /var/log/exim4/mainlog
> ...
> 2023-01-02 02:39:20 1pC9nM-00D83H-4D <= r...@truc.com U=root P=local S=282
> 2023-01-02 02:39:20 1pC9nM-00D83H-4D ** t...@free.fr: Unrouteable address
> 2023-01-02 02:39:20 1pC9nM-00D83K-7x <= <> R=1pC9nM-00D83H-4D
> U=Debian-exim P=local S=1467
> 2023-01-02 02:39:20 1pC9nM-00D83K-7x ** r...@truc.com: Unrouteable address
> 2023-01-02 02:39:20 1pC9nM-00D83K-7x Frozen (delivery error message)
> 2023-01-02 02:39:20 1pC9nM-00D83H-4D Completed
>
> J'ai commenté les modifications faites dans exim4.conf.template , ce qui
> m'a permis d'éliminer les erreurs d'authentification smtp.
>
> Je suis sec.
> Comment procéder pour simplement faire tourner exim4 afin d'utiliser un
> service smtp tiers :
> à partir de mon serveur ?
> à partir d'un serveur debian tout neuf ?
>
> Merci.
>
>


Re: configurer sendmail/exim4 pour utiliser smtp tiers

2023-01-02 Thread Basile Starynkevitch

Bonjour et bonne année


On 02/01/2023 02:49, roger.tar...@free.fr wrote:

Bonjour la liste, et bonne année 2023,

Sur un serveur debian11, j'ai besoin d'activer un service de messagerie.


SMTP et EXIM sont complexes. Je conseille la lecture (à tête reposée) 
d'un livre entier sur la question, par exemple (en anglais)


/Exim. The mail transfer agent/. par Philip Hazel.  ed. OReilly ISBN 
9780596000981


Il y a aussi la problématique de la fiabilité d'un serveur de courriel, 
du volume à traiter (traiter cent mille méls par jour, c'est différent 
de traiter cent méls par jour), des stratégies de ré-emission et 
stockage (spool) des méls, etc.


On peut aussi envisager d'utiliser et de configurer https://www.postfix.org/

Ensuite, free a comme mauvaise habitude de parfois restreindre le trafic 
SMTP qui passe chez eux. (Il peut y avoir des raisons légales à ça : 
lutte antispam; articles 323-1 et suivant du code pénal en France, etc..).


On peut enfin envoyer un mél programmatiquement par une librarie telle 
que https://www.vmime.org/


Dans tous les cas, c'est complexe, car le courriel est complexe (voir 
les spécifications de SMTP 
 
et IMAP  pour commencer)



Pour ma part, je cherche des partenaires intéressés par RefPerSys en 
http://refpersys.org/




Librement et bonne année 2023


--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/


L'option svm de virtualisation désactivée après migration de Buster vers Bullseye

2023-01-02 Thread Olivier
Bonjour,

J'ai profité des fêtes pour mettre à jour de Buster à Bullseye
quelques machines.
L'une d'elles est utilisée comme hôte de virtualisation KVM/libvirt.

La migration s'est en apparence passé sans encombre.
Pourtant, ce matin en essayant de cloner une VM, j'ai eu un message
inhabituel du type Emulator '/usr/local/sbin/qemu' does punot support
virt type 'kvm'

En cherhant rapidement sur le web, j'ai trouvé [1].
J'ai re-démarré la machine hôte en accédant au BIOS.
Dans celui-ci, j'ai vu que l'option qui gère les fonctions de
virtualisation était désactivée.
Après l'avoir activée, j'ai pu cloner normalement ma VM.

Comment est-il possible qu'une simple migration Buster vers Bullseye
désactive les fonctions de virtualisation ?

[1] 
https://forums.unraid.net/topic/104290-unsupported-configuration-emulator-usrlocalsbinqemu-does-not-support-virt-type-kvm/

Slts



Re: 16, 32 ou 64 Go de RAM

2023-01-02 Thread Basile Starynkevitch


On 02/01/2023 01:51, Olivier Lange wrote:



Le dim. 1 janv. 2023, 15 h 16, hamster  a écrit :

Le 01/01/2023 à 17:05, Olivier Lange a écrit :
> Et pour ceux qui parlent de 16 voir 8go, oubliez pas qu'il dit
vouloir
> le garder 5 ans. C'est quoi le gain, sur 5 ans, de prendre que
16Go? 20€/an?

Cette question peut aussi bien etre posée dans l'autre sens : quel
est
l'interet de prendre 32 Go si dans toute la durée d'utilisation de
cet
ordi il y en aura la moitié qui servira jamais ?



La question originelle mentionnait du développement (Visual Studio Code 
).


S'il s'agit de contribuer au développement de gros logiciels 
(probablement libres) sous Debian, comme GCC  ou 
Mozilla Firefox 
  ou Qt 
  pendant plusieurs années, les 32Go sont 
aujourd’hui un luxe mais seront occasionnellement utilisés 
(principalement comme cache disque avec une compilation parallèle, et 
aussi quand on fait un "build" parallèle avec g++ -g -flto -O2 -fanalyzer).


(il suffit par exemple de compiler GCC  avec make 
-j8 ou de compiler Qt  ou le noyau linux 
)



Bien sûr, si on se cantonne à compiler des hello world ou de petits 
logiciels personnels d'un millier lignes de C, 8Go suffiront le plus 
souvent (mais pas pour mon manydl.c 
). Même dans 5 ans.


D'autre part, la différence de prix entre 16 et 32 Go (sur un PC 
portable sur le site pcw.fr ) et de 150€ pour une 
machine 
 
vendue plus de 1100€.


Et des logiciels libres comme RefPerSys  (pour 
lequel je cherche des partenaires, voir http://refpersys.org/ ) 
gagnent dès maintenant à disposer de 32Go de RAM.


Un analyseur statique de code comme Frama-C  a 
aussi besoin de beaucoup de RAM


Pour ma part, les ordinateurs que j'utilise au bureau (CEA LIST 
) ou chez moi ont au moins 32Go de RAM.


Les autres critères à prendre en compte sont la puissance du processeur 
(nombre de cœurs), le poids de l'ordinateur si on le transporte souvent, 
la taille de l'écran et du clavier.


Bonne année 2023 à tous.

--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/


Re: [Partiellement résolu] Mise à jour bloquée sans message d'errreur

2023-01-02 Thread yamo'
Salut,

firenze...@orange.fr a tapoté le 30/12/2022 18:20:
> Merci,
> 
> J'ai fait la manipulation et ça a fonctionné immédiatement.

Merci, j'ai aussi réussi à débloquer les mises à jour sur une machine
qui faisait un dpkg --configure -a sans rien faire depuis des mois!

-- 
Stéphane