How to rotate screen AND input (consistently)

2021-11-19 Thread riveravaldez
Hi,

I'm on Debian 11 in a ThinkPad X220 Tablet (convertible)
and I need to rotate the display (both physically and GUI)
which I do with:

$ xrandr --output LVDS-1 --rotate inverted

But then the input (trackpad/mouse, stylus, touchscreen, etc.)
doesn't rotate accordingly, so it gets unusable...

I've been reading different recommendations online
but can't figure out which would be the best/proper/simpler
approach to achieve this reliably (that hardware input
stays consistent with the GUI in display when rotated).

What should I do? Any hint?

Thanks a lot!


Re: aboutdebian.com

2021-11-19 Thread A_Man_Without_Clue




On 11/20/21 12:07 AM, Peter Ehlert wrote:
> 
> On 11/19/21 6:52 AM, Nicholas Geovanis wrote:
>> On Fri, Nov 19, 2021, 1:05 AM Nate Bargmann > > wrote:
>>
>> * On 2021 18 Nov 23:00 -0600, A_Man_Without_Clue wrote:
>> > Does anyone remember the site existed in the past,
>> aboutdebian.com ?
>>
>> I can't say that I do.
>>
>>
>> I do remember it and it was a good resource at one time. My
>> recollection is that the relevant contents were moved to the Debian
>> wiki. But I can't support that.
> I also remember it as being a topic of conversation...
>>
>> > I wonder if the contents are moved to somewhere else or they are not
>> > available at all?
>>
>> It looks like the last time it was online with content was
>> approximately
>> 29 Feb 2020:
>>
>> https://web.archive.org/web/20200229050405/http://www.aboutdebian.com/
>> 
>>
> something is odd, I see a post on the https://aboutdebian.com/ page
> dated 2021-10-10
>>
>>
>> I see that as of that date, the site had not been updated for Buster
>> which by that time had been released nearly half a year earlier.
>>
>> After that the Web archive shows a blank page and captures from last
>> month show nothing Debian related.
>>
>> - Nate
>>
>> -- 
>> "The optimist proclaims that we live in the best of all
>> possible worlds.  The pessimist fears this is true."
>> Web: https://www.n0nb.us 
>> Projects: https://github.com/N0NB 
>> GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
>>


Sad, it's long gone and the contents are virtually lost. It was very
tutorial resource so, I just miss. I have several page printed out on
the paper, I still use for basic tutorial.


Thanks everybody.



Re : Plus d'accès port USB après mise en veille

2021-11-19 Thread benoit
Tu n'aurais pas installé  laptop-mode-tools ?

apt search laptop-mode-tools

laptop-mode-tools coupe entre autre (par défaut de configuration) 
l'alimentation des usb

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐

Le vendredi 19 novembre 2021 à 14:24, thierry_j  a écrit :

> Bonjour à tous
>
> petit souci: après retour de mise en veille, les ports USB sont inactifs
>
> et les matériel n'est pas reconnu. Je suppose qu'il faut regarder du
>
> côté systemd ou udev, mais je ne pas suis expert sur le sujet.
>
> Auriez-vous une idée?
>
> Je suis (encore) sous Buster.
>
> Merci



compilação - Plugin Coppelia

2021-11-19 Thread Leonardo S. S. da Rocha
Pessoal, boa noite. Preciso de uma orientação. Tem um plugin
disponível no github que estou precisando para grid map usando python
e o simulador CoppeliaSim. Ela está neste link[1] mas se olharem, no
diretório binaries/linux, verão um arquivo (libsimExtGridMap.so) que é
o que eu estou precisando. No entanto, foi complicado errado ou o
autor commitou o arquivo errado, não sei ao certo. Preciso desse
arquivo para rodar o mapeamento feito por um robô no simulador
Coppelia com código Python. A questão é que eu abri uma issue no
repositório e o upstream me informou que eu preciso compilar a
biblioteca e construir o arquivo binário, conforme pode ser visto
aqui[2]. A questão é que não faço ideia de como fazer isso. Alguém tem
algum material que possa me auxiliar nessa tarefa?


[1] https://github.com/roboticafacil/coppeliasim_gridmap
[2] https://github.com/roboticafacil/coppeliasim_gridmap/issues/2

Grato,

Leonardo Rocha



Re: Why can I not uninstall this package? (fwd)

2021-11-19 Thread Tim Woodall

Apologies, meant to reply to the list. I thought answering N to reply to
all went to the list, not to the author - something else I need to fix...

-- Forwarded message --
Date: Fri, 19 Nov 2021 19:10:24 + (GMT)
From: Tim Woodall 
To: The Wanderer 
Subject: Re: Why can I not uninstall this package?

On Fri, 19 Nov 2021, The Wanderer wrote:



The manually-installed package list can be gotten by running

$ apt-mark showmanual

and if you redirect that into a file you'll have a copy for later reference.




That apt-mark is incredibly useful too. Could have saved myself hours
of working through packages working out which ones can be uninstalled.

Just done (after first checking the list of packages it would change)

apt-mark auto $( apt-mark showmanual | grep ^lib )

Then set libreoffice-writer and libreoffice-calc back to manual

And then apt-get autoremove --purge found another four libraries I could
remove. Only 800K of diskspace extra by this point but still, nice to
have when you've only got 4GB to play with.

I shall work through the full list of manually installed packages
flipping those I don't explicitly want to auto - that might find some
more that should be removed too.

Many thanks!



Re: Why can I not uninstall this package?

2021-11-19 Thread The Wanderer
On 2021-11-19 at 13:36, The Wanderer wrote:

> On 2021-11-19 at 13:27, Tim Woodall wrote:

>> The following packages have unmet dependencies:
>>   libreoffice-base-core : Depends: libreoffice-core-nogui (= 
>> 1:7.0.4-4+deb11u1) but it is not going to be installed or
>>libreoffice-core (= 1:7.0.4-4+deb11u1) 
>> but it is not going to be installed
>>   python3-uno : Depends: libreoffice-core-nogui (= 1:7.0.4-4+deb11u1) but it 
>> is not going to be installed or
>>  libreoffice-core (= 1:7.0.4-4+deb11u1) but it is 
>> not going to be installed
>> E: Error, pkgProblemResolver::Resolve generated breaks, this may be
>> caused by held packages.

> # apt-get install libjbig0- libreoffice-core-nogui=1:7.0.4-4+deb11u1
> libreoffice-core=1:7.0.4-4+deb11u1

Oops - I missed the "or". Drop the -nogui variant from that command
line, it should only get in the way.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Why can I not uninstall this package?

2021-11-19 Thread The Wanderer
On 2021-11-19 at 13:27, Tim Woodall wrote:

> I have an old eeepc that I've just upgraded to bullseye. It was getting
> very limited on diskspace so I've been going through removing packages
> that I no longer require or in some cases, appear to be very old
> versions that have been left lying around.
> 
> I've now got things under control. However I've hit the following weird
> case that I don't understand:
> 
> eeepc:/var/lib/dpkg/info# apt-get remove libjbig0
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>   libreoffice-base-core : Depends: libreoffice-core-nogui (= 
> 1:7.0.4-4+deb11u1) but it is not going to be installed or
>libreoffice-core (= 1:7.0.4-4+deb11u1) but 
> it is not going to be installed
>   python3-uno : Depends: libreoffice-core-nogui (= 1:7.0.4-4+deb11u1) but it 
> is not going to be installed or
>  libreoffice-core (= 1:7.0.4-4+deb11u1) but it is not 
> going to be installed
> E: Error, pkgProblemResolver::Resolve generated breaks, this may be
> caused by held packages.

The way to track down a problem like this is to start by adding the
specified "is not going to be installed" packages to the install command
line, with the exact specified versions, and repeat the command.

You'll either get a specific message explaining *why* the "is not going
to be installed" happened, or get more packages listed for "is not going
to be installed". If the latter, rinse and repeat. If the former, the
"why" message will probably help you figure out what needs to be done.

In this case, since you're starting out with a "remove" command rather
than an "install" command, you're going to want to reverse it for
simplicity's sake. That means the second command in the cycle will be
something like (a non-linewrapped version of):

# apt-get install libjbig0- libreoffice-core-nogui=1:7.0.4-4+deb11u1
libreoffice-core=1:7.0.4-4+deb11u1

The trailing '-' on the package name turns the install action into a
remove action for that specific package. You can also use a trailing '+'
to do the reverse, but as in this case you're going to be specifying
more install actions than remove actions, it makes more sense to do it
this way around.


You'll probably also want to make note of your manually-installed
package list before getting started, since this process will wind up
marking the packages you name as manually installed.

The manually-installed package list can be gotten by running

$ apt-mark showmanual

and if you redirect that into a file you'll have a copy for later reference.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: How to cause a process started in .xsessionrc to terminate with x-session termination?

2021-11-19 Thread Brian
On Thu 18 Nov 2021 at 15:46:48 -0500, Greg Wooledge wrote:

> On Thu, Nov 18, 2021 at 02:34:52PM -0600, David Wright wrote:
> > On Wed 17 Nov 2021 at 22:39:21 (+0100), Arkadiusz Dabrowski wrote:
> > 
> > > I have a problem with unison sync termination when it is started from
> > > .xsessionrc.
> > > It works flawlessly but when I log out it is orphaned and not terminated.
> > > I start it like this:
> > > nice -n18 ionice -c2 -n7 unison unison_profile &>/dev/null &
> > > Once started the parent is x-session-manager and they the same process
> > > group.
> > 
> > I think this is because you're starting it in the wrong file.
> > Everything in .xsessionrc should complete immediately. Use it
> > to set parameters and things like that.
> 
> I think of .xsessionrc a little differently.  It's the "novice mode" file,
> which you can use regardless of which x-session-manager or x-window-manager
> ultimately gets used, and without needing to take control of your whole
> session yourself.
> 
> That makes it great for quickie "I just want to start xclock too" type
> things, where maintaining a whole .xsession file would be overkill.
> 
> In the OP's case, though, they want something that "novice mode" can't
> handle, so there's a decent reason to move to "advanced mode".

An interesting view. I think of ~/.xsession as being the correct,
traditional and well-tested file for a user to customise an X session
begun with startx or xdm. It never fails to work for novice users.

I think of ~/.xsessionrc in terms of the what is in the changelog for
xorg:

  * Add support for $HOME/.xsessionrc. Closes: #411639
This file, if present, will get sourced during the start of your
X session. This allows you to set session-wide environment variables
easily for things like locale information. Patch adapted from one by
Yves-Alexis Perez. Thanks also to Holger Levsen and Osamu Aoki for
advice.

-- 
Brian.



Why can I not uninstall this package?

2021-11-19 Thread Tim Woodall

I have an old eeepc that I've just upgraded to bullseye. It was getting
very limited on diskspace so I've been going through removing packages
that I no longer require or in some cases, appear to be very old
versions that have been left lying around.

I've now got things under control. However I've hit the following weird
case that I don't understand:

eeepc:/var/lib/dpkg/info# apt-get remove libjbig0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice-base-core : Depends: libreoffice-core-nogui (= 1:7.0.4-4+deb11u1) 
but it is not going to be installed or
  libreoffice-core (= 1:7.0.4-4+deb11u1) but it 
is not going to be installed
 python3-uno : Depends: libreoffice-core-nogui (= 1:7.0.4-4+deb11u1) but it is 
not going to be installed or
libreoffice-core (= 1:7.0.4-4+deb11u1) but it is not 
going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.


This makes no sense to me. apt rdepends libjbig0 lists a handful of
packages none of which I have installed.

libreoffice-core is installed (and the version that is being asked for)

If I remove python3-uno then that problem goes away (until I reinstall
it). I don't want to uninstall libreoffice-base-core.

I haven't yet tried using dpkg to remove the package.

How can I debug what has gone wrong here?

This is a very old debian install that has been updated over the years.
The oldest files I still see in /var/lib/dpkg/info are:
-rw-r--r-- 1 root root 249 Mar 25  2010 libvolume-id0.list
-rw-r--r-- 1 root root 290 Aug 25  2009 libvolume-id0.md5sums
-rwxr-xr-x 1 root root 135 Aug 25  2009 libvolume-id0.postinst
-rwxr-xr-x 1 root root 132 Aug 25  2009 libvolume-id0.postrm
-rw-r--r-- 1 root root2179 Aug 25  2009 libvolume-id0.symbols
-rw-r--r-- 1 root root  29 Apr 19  2009 libvolume-id0.shlibs

Tim.



Re: Simple way to scann all incoming and outgoing e-mails for viruses

2021-11-19 Thread Curt
On 2021-11-19, Henning Follmann  wrote:
> On Fri, Nov 19, 2021 at 08:11:26AM +0100, john doe wrote:
>> Debians,
>> 
>> My MUA is connecting to mail.com for imap and smtp.
>> I have a Debian gateway server that I would like to use to scann e-mails
>> sent and reseaved.
>
> What does that mean?
> Can you please be more specific.
>
>
>> 
>> Is there a way to scann incoming and outcoming e-mails on those ports
>> for viruses?
>
> Yes
>
>> 
>> What I'm trying to avoid is to change the connection settings in my MUAs.
>
> If I understand your first line correctly you are connecting directly with
> your MUA to connect to the imap server of mail.com.
> In this case you have to scan with your MUA.

That's not how I'm understanding him. I think he wants something like
https://www.mailscanner.info/ on the gateway, which would pass things
on to and from the MUAs transparently. 

>> I'm not sure how realistic this is so I might refine my question based
>> on the provided answers.
>
> I am not familiar with mail.com. But do they scan and set any header
> based on the scan?
> In that case you might to create a imapsieve filter on the imap server
> to sort suspicious mail into a spam folder.
>
>
>> 
>> --
>> John Doe
>> 
>


-- 




Re: Simple way to scann all incoming and outgoing e-mails for viruses

2021-11-19 Thread Henning Follmann
On Fri, Nov 19, 2021 at 08:11:26AM +0100, john doe wrote:
> Debians,
> 
> My MUA is connecting to mail.com for imap and smtp.
> I have a Debian gateway server that I would like to use to scann e-mails
> sent and reseaved.

What does that mean?
Can you please be more specific.


> 
> Is there a way to scann incoming and outcoming e-mails on those ports
> for viruses?

Yes

> 
> What I'm trying to avoid is to change the connection settings in my MUAs.

If I understand your first line correctly you are connecting directly with
your MUA to connect to the imap server of mail.com.
In this case you have to scan with your MUA.

> 
> I'm not sure how realistic this is so I might refine my question based
> on the provided answers.

I am not familiar with mail.com. But do they scan and set any header
based on the scan?
In that case you might to create a imapsieve filter on the imap server
to sort suspicious mail into a spam folder.


> 
> --
> John Doe
> 

-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: apache2 et virtualhosts

2021-11-19 Thread Sabri KHEMISSA
Bonjour,

Afin de ne pas publier sur internet tes configurations, tu peux monter une
vm avec des configurations que tu peux partager.

Néanmoins voici quelques pistes à creuser (ne pas hésiter à partager les
résultats des commandes) :
- service apache2 up & running
$ systemctl status apache2

- lancement manuel d'apache2
$ systemctl stop apache2
$ sudo apachectl -D FOREGROUND

Le ven. 19 nov. 2021 à 14:00, François TOURDE 
a écrit :

> Le 18950ième jour après Epoch,
> Kohler Gerard écrivait:
>
> > Le 18/11/2021 à 22:46, François TOURDE a écrit :
> >
> >> Ça manque un peu de détails, ton histoire.
> [...]
> > les fichiers /etc/hosts sont bien renseignés
>
> Ah ... Bon ... Ben si tu le dis. Je suis pas sûr d'avoir la patience de
> t'aider en fait. Désolé.
>
> > pas de message d'erreur dans les log, ni de message de log
>
> Forte chance qu'apache n'ouvre même pas une paupière dans ce cas.
>
> > lorsque je mets l'adresse du site dans firefox cela m'affiche la page
> > de Google 
>
> Voilà.
>
> - man resolv.conf(5)
> - curl
>   etc...
>
>


Re: installation catch 22

2021-11-19 Thread Dan Ritter
jasheb...@aol.com wrote: 
> I have been trying to install Debian on an older computer using the CD1 
> install.
> The installation runs through to completion but the system does not boot up.I 
> have tried several times with the same result.
> I am able to log in and look at the log file where it informs me that some 
> firmwareneeds to be updated. (red warnings)  I have a CD with the firmware 
> but how do I install it if the system will not boot?
> It seems to me that if the system can install it should be able to run as all 
> of the peripheralsneeded are available.  Then I can install the updates.

There are install CDs with non-free firmware included.

During install, you can choose to add firmware from another
disk or USB stick

Can you describe "does not boot up" more thoroughly? Where does
it stop?

-dsr-



Re: installation catch 22

2021-11-19 Thread Kent West
On Fri, Nov 19, 2021 at 9:36 AM  wrote:

>
> The installation runs through to completion but the system does not boot
> up.
> I have tried several times with the same result.
>
> I am able to log in and look at the log file where it informs me that some
> firmware
> needs to be updated. (red warnings)  I have a CD with the firmware but how
> do I
> install it if the system will not boot?
>
>
You say the system does not boot up, and yet then you say you're able to
log in.

Perhaps what you mean is that the system does not boot up into a graphical
system, but that you are getting to a login prompt?

If so, after logging in, what happens if you run "startx"?

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


installation catch 22

2021-11-19 Thread jashebert
I have been trying to install Debian on an older computer using the CD1 install.
The installation runs through to completion but the system does not boot up.I 
have tried several times with the same result.
I am able to log in and look at the log file where it informs me that some 
firmwareneeds to be updated. (red warnings)  I have a CD with the firmware but 
how do I install it if the system will not boot?
It seems to me that if the system can install it should be able to run as all 
of the peripheralsneeded are available.  Then I can install the updates.



Re: aboutdebian.com

2021-11-19 Thread Peter Ehlert


On 11/19/21 6:52 AM, Nicholas Geovanis wrote:
On Fri, Nov 19, 2021, 1:05 AM Nate Bargmann > wrote:


* On 2021 18 Nov 23:00 -0600, A_Man_Without_Clue wrote:
> Does anyone remember the site existed in the past,
aboutdebian.com ?

I can't say that I do.


I do remember it and it was a good resource at one time. My 
recollection is that the relevant contents were moved to the Debian 
wiki. But I can't support that.

I also remember it as being a topic of conversation...


> I wonder if the contents are moved to somewhere else or they are not
> available at all?

It looks like the last time it was online with content was
approximately
29 Feb 2020:

https://web.archive.org/web/20200229050405/http://www.aboutdebian.com/


something is odd, I see a post on the https://aboutdebian.com/ page 
dated 2021-10-10



I see that as of that date, the site had not been updated for Buster
which by that time had been released nearly half a year earlier.

After that the Web archive shows a blank page and captures from last
month show nothing Debian related.

- Nate

-- 
"The optimist proclaims that we live in the best of all

possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us 
Projects: https://github.com/N0NB 
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



Re: aboutdebian.com

2021-11-19 Thread Nicholas Geovanis
On Fri, Nov 19, 2021, 1:05 AM Nate Bargmann  wrote:

> * On 2021 18 Nov 23:00 -0600, A_Man_Without_Clue wrote:
> > Does anyone remember the site existed in the past, aboutdebian.com?
>
> I can't say that I do.
>

I do remember it and it was a good resource at one time. My recollection is
that the relevant contents were moved to the Debian wiki. But I can't
support that.

> I wonder if the contents are moved to somewhere else or they are not
> > available at all?
>
> It looks like the last time it was online with content was approximately
> 29 Feb 2020:
>
> https://web.archive.org/web/20200229050405/http://www.aboutdebian.com/
>
> I see that as of that date, the site had not been updated for Buster
> which by that time had been released nearly half a year earlier.
>
> After that the Web archive shows a blank page and captures from last
> month show nothing Debian related.
>
> - Nate
>
> --
> "The optimist proclaims that we live in the best of all
> possible worlds.  The pessimist fears this is true."
> Web: https://www.n0nb.us
> Projects: https://github.com/N0NB
> GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
>
>


Plus d'accès port USB après mise en veille

2021-11-19 Thread thierry_j

Bonjour à tous

petit souci: après retour de mise en veille, les ports USB sont inactifs 
et les matériel n'est pas reconnu. Je suppose qu'il faut regarder du 
côté systemd ou udev, mais je ne pas suis expert sur le sujet.


Auriez-vous une idée?
Je suis (encore) sous Buster.

Merci




Re: apache2 et virtualhosts

2021-11-19 Thread François TOURDE
Le 18950ième jour après Epoch,
Kohler Gerard écrivait:

> Le 18/11/2021 à 22:46, François TOURDE a écrit :
>
>> Ça manque un peu de détails, ton histoire.
[...]
> les fichiers /etc/hosts sont bien renseignés

Ah ... Bon ... Ben si tu le dis. Je suis pas sûr d'avoir la patience de
t'aider en fait. Désolé.

> pas de message d'erreur dans les log, ni de message de log

Forte chance qu'apache n'ouvre même pas une paupière dans ce cas.

> lorsque je mets l'adresse du site dans firefox cela m'affiche la page
> de Google 

Voilà.

- man resolv.conf(5)
- curl
  etc...



Re: apache2 et virtualhosts

2021-11-19 Thread Kohler Gerard


Le 18/11/2021 à 22:46, François TOURDE a écrit :


Salut,

Ça manque un peu de détails, ton histoire.

Il est défini où et comment, ce nom ?
il s'agit du nom de domaine que j'ai choisi lors de l'installation de 
debian sur mes machines  : nom_de_la_machine.mon_domaine.home


Genre, quels virtualhosts ?


j'ai installé apache2 2.4.46

virtualhosts installés dans /var/www

user et group  : www-data

virtualhosts déclarés dans /etc/apache2/sites-available


Un message d'erreur peut-être ? C'est bien de savoir à quoi correspond
"je n'arrive pas"


pas de message d'erreur dans les log, ni de message de log

lorsque je mets l'adresse du site dans firefox cela m'affiche la page de 
Google 


les fichiers /etc/hosts sont bien renseignés


Re: Simple way to scann all incoming and outgoing e-mails for viruses

2021-11-19 Thread Dan Ritter
john doe wrote: 
> Debians,
> 
> My MUA is connecting to mail.com for imap and smtp.
> I have a Debian gateway server that I would like to use to scann e-mails
> sent and reseaved.
> 
> Is there a way to scann incoming and outcoming e-mails on those ports
> for viruses?
> 
> What I'm trying to avoid is to change the connection settings in my MUAs.
> 
> I'm not sure how realistic this is so I might refine my question based
> on the provided answers.

Intercepting IMAP and SMTP transparently is plausible, but if
you're using SSL/TLS encryption - and you probably are - not easy.

Mail can be scanned:
- by an MTA when it arrives via SMTP
- by an MTA calling a plug-in after the mail has arrived
- by an MTA calling a plug-in while delivering to a mailbox
- by an independent agent looking at a mailbox
- by an MUA after it picks up mail

What are your actual restrictions? Tell us more about your
situation.

For instance, if one of your MUAs is a phone running an email
client pointed at mail.com, you will need to convince it to
accept your own SSL certificate authority -- and even then, this
will only work when your gateway is routing network traffic for
the device.

On the other hand, running a mail server that grabs your mail
from mail.com (with your username and password) and then makes
it available to you via IMAP and SMTP is relatively easy, but
does require changing your MUA connections from mail.com to your
mail server.

-dsr-