Re: [gentoo-user] Contribution: Python C Code builder, Simple Build

2022-01-20 Thread Andrew Lowe

On 21/1/22 10:32 am, Matt Connell wrote:

On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:

I would like to send a little python program that runs GCC to compile
the C code. The C Code can put multiple sub directories in the main
SRC directory. The python code uses os.walk method to find all C Code
files and pass it to GCC.


So, you've reinvented makefiles?




	There have been a few "weird" posts lately, authors "Attilla" & "xbx", 
and subjects, amongst others, "Technical Docum". Is this someone 
trying to contribute or a spam/spear phishing attack?


Andrew




Re: [gentoo-user] Contribution: Python C Code builder, Simple Build

2022-01-20 Thread Matt Connell
On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:
> I would like to send a little python program that runs GCC to compile
> the C code. The C Code can put multiple sub directories in the main
> SRC directory. The python code uses os.walk method to find all C Code
> files and pass it to GCC.

So, you've reinvented makefiles?




Re: [gentoo-user] Crypt Ease Series

2022-01-20 Thread Mark Knecht
Or perhaps it's a long-game being played where someone gets you used
to thinking he's a good guy only to send something in a few months
that really hurts someone.

I've simply sent the email address to my trash bin.

Mark

On Thu, Jan 20, 2022 at 1:51 PM Julien Roy  wrote:
>
> I have opened the kernel.config file he sent (from within a container) out of 
> curiosity, and it's a legitimate .config file, so it does seem to be a 
> clueless user, or perhaps someone training a GPT bot...
> He does not seem subscribed to this mailing list otherwise he might've 
> replied to the other emails in this chain.
> In my case, if it keeps going, I will just add a rule to block him, since he 
> does send a lot of them...
>
> Julien
>
>
>
> Jan 20, 2022, 20:40 by lperk...@openeye.net:
>
> Yeah, the only reason I even bother to ask instead of just trashing them all 
> is that it's doing a decent job of seeming like a clueless noob who barely 
> knows English trying to start a discussion. So if that's the case then they 
> should take this one chance to say so clearly and distinctly.
>
> But it's probably just a phishing program by someone who thinks they 
> understand computers.
>
> Is there a virus scanner checking the list attachments for blatant things at 
> least?
>
> LMP
>
> -Original Message-
> From: Wol 
> Sent: Thursday, January 20, 2022 12:14 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Crypt Ease Series
>
> Given that anybody with half a clue knows NEVER to open unsolicited 
> attachments, I'm verging on thinking it's phishing. Anyways, I'm THAT close 
> to setting up an auto-delete rule on anything from him. The email address 
> feels spammy, too ...
>
> Cheers,
> Wol
>
> On 20/01/2022 19:57, Laurence Perkins wrote:
>
> Anybody know if these are phishing attempts or just cluelessness? They all 
> seem to be coming from the same email address, so if we think it's the former 
> we should probably block it.
>
> If it's the latter, then would the sender please give us some context about 
> what you're hoping to get for a reply? None of these things are particularly 
> interesting to much of anyone on this list I expect.
>
> LMP
>
> -Original Message-
> From: xbx 
> Sent: Thursday, January 20, 2022 11:27 AM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Crypt Ease Series
>
> CAUTION: This is an EXTERNAL email. Do not click links or open attachments 
> unless you recognize the sender and know the content is safe.
>
> Hello Gentoo Users Developers!
>
> I would like to share, contribute my Encryption / Decryption algorithm.
>
> It uses + -, and bitwise xor to encrypt data.
>
> See the attached files.
>
> The last is the CryptEaseSuper-MAX the use 8 x ( 8 x 2) 2 ^ 64 bit integer to 
> encrypt / decrypt information.
>
> Sincerely xbx.
>
>



RE: [gentoo-user] Crypt Ease Series

2022-01-20 Thread Laurence Perkins
Yeah, the only reason I even bother to ask instead of just trashing them all is 
that it's doing a decent job of seeming like a clueless noob who barely knows 
English trying to start a discussion.  So if that's the case then they should 
take this one chance to say so clearly and distinctly.

But it's probably just a phishing program by someone who thinks they understand 
computers.

Is there a virus scanner checking the list attachments for blatant things at 
least?

LMP

-Original Message-
From: Wol  
Sent: Thursday, January 20, 2022 12:14 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Crypt Ease Series

Given that anybody with half a clue knows NEVER to open unsolicited 
attachments, I'm verging on thinking it's phishing. Anyways, I'm THAT close to 
setting up an auto-delete rule on anything from him. The email address feels 
spammy, too ...

Cheers,
Wol

On 20/01/2022 19:57, Laurence Perkins wrote:
> Anybody know if these are phishing attempts or just cluelessness?  They all 
> seem to be coming from the same email address, so if we think it's the former 
> we should probably block it.
> 
> If it's the latter, then would the sender please give us some context about 
> what you're hoping to get for a reply?  None of these things are particularly 
> interesting to much of anyone on this list I expect.
> 
> LMP
> 
> -Original Message-
> From: xbx 
> Sent: Thursday, January 20, 2022 11:27 AM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Crypt Ease Series
> 
> CAUTION: This is an EXTERNAL email. Do not click links or open attachments 
> unless you recognize the sender and know the content is safe.
> 
> Hello Gentoo Users Developers!
> 
> I would like to share, contribute my Encryption / Decryption algorithm.
> 
> It uses + -, and bitwise xor to encrypt data.
> 
> See the attached files.
> 
> The last is the CryptEaseSuper-MAX the use 8 x ( 8 x 2) 2 ^ 64 bit integer to 
> encrypt / decrypt information.
> 
> Sincerely xbx.
> 



[gentoo-user] Sorry claws - mail multi sending

2022-01-20 Thread Attila Boczkó
Dear Gentoo list!

My Claws mail causing this sending ...

I apologize.

This email is now coming from Firefox.

xbx.


Re: [gentoo-user] Crypt Ease Series

2022-01-20 Thread Mark Knecht
Glad I wasn't the only person who was thinking this...

Cheers,
Mark

On Thu, Jan 20, 2022 at 1:14 PM Wol  wrote:
>
> Given that anybody with half a clue knows NEVER to open unsolicited
> attachments, I'm verging on thinking it's phishing. Anyways, I'm THAT
> close to setting up an auto-delete rule on anything from him. The email
> address feels spammy, too ...
>
> Cheers,
> Wol
>
> On 20/01/2022 19:57, Laurence Perkins wrote:
> > Anybody know if these are phishing attempts or just cluelessness?  They all 
> > seem to be coming from the same email address, so if we think it's the 
> > former we should probably block it.
> >
> > If it's the latter, then would the sender please give us some context about 
> > what you're hoping to get for a reply?  None of these things are 
> > particularly interesting to much of anyone on this list I expect.
> >
> > LMP
> >
> > -Original Message-
> > From: xbx 
> > Sent: Thursday, January 20, 2022 11:27 AM
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] Crypt Ease Series
> >
> > CAUTION: This is an EXTERNAL email. Do not click links or open attachments 
> > unless you recognize the sender and know the content is safe.
> >
> > Hello Gentoo Users Developers!
> >
> > I would like to share, contribute my Encryption / Decryption algorithm.
> >
> > It uses + -, and bitwise xor to encrypt data.
> >
> > See the attached files.
> >
> > The last is the CryptEaseSuper-MAX the use 8 x ( 8 x 2) 2 ^ 64 bit integer 
> > to encrypt / decrypt information.
> >
> > Sincerely xbx.
> >
>



Re: [gentoo-user] Crypt Ease Series

2022-01-20 Thread Wol
Given that anybody with half a clue knows NEVER to open unsolicited 
attachments, I'm verging on thinking it's phishing. Anyways, I'm THAT 
close to setting up an auto-delete rule on anything from him. The email 
address feels spammy, too ...


Cheers,
Wol

On 20/01/2022 19:57, Laurence Perkins wrote:

Anybody know if these are phishing attempts or just cluelessness?  They all 
seem to be coming from the same email address, so if we think it's the former 
we should probably block it.

If it's the latter, then would the sender please give us some context about 
what you're hoping to get for a reply?  None of these things are particularly 
interesting to much of anyone on this list I expect.

LMP

-Original Message-
From: xbx 
Sent: Thursday, January 20, 2022 11:27 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Crypt Ease Series

CAUTION: This is an EXTERNAL email. Do not click links or open attachments 
unless you recognize the sender and know the content is safe.

Hello Gentoo Users Developers!

I would like to share, contribute my Encryption / Decryption algorithm.

It uses + -, and bitwise xor to encrypt data.

See the attached files.

The last is the CryptEaseSuper-MAX the use 8 x ( 8 x 2) 2 ^ 64 bit integer to 
encrypt / decrypt information.

Sincerely xbx.





Re: [gentoo-user] Crypt Ease Series

2022-01-20 Thread netfab
Le 20/01/22 à 19:57, Laurence Perkins a tapoté :
> Anybody know if these are phishing attempts or just cluelessness?

https://bugs.gentoo.org/831625





RE: [gentoo-user] Crypt Ease Series

2022-01-20 Thread Laurence Perkins
Anybody know if these are phishing attempts or just cluelessness?  They all 
seem to be coming from the same email address, so if we think it's the former 
we should probably block it.

If it's the latter, then would the sender please give us some context about 
what you're hoping to get for a reply?  None of these things are particularly 
interesting to much of anyone on this list I expect.

LMP

-Original Message-
From: xbx  
Sent: Thursday, January 20, 2022 11:27 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Crypt Ease Series

CAUTION: This is an EXTERNAL email. Do not click links or open attachments 
unless you recognize the sender and know the content is safe.

Hello Gentoo Users Developers!

I would like to share, contribute my Encryption / Decryption algorithm.

It uses + -, and bitwise xor to encrypt data.

See the attached files.

The last is the CryptEaseSuper-MAX the use 8 x ( 8 x 2) 2 ^ 64 bit integer to 
encrypt / decrypt information.

Sincerely xbx.



RE: [gentoo-user] Handling a sizable amount of spam and Dovecote question

2022-01-20 Thread Laurence Perkins



> -Original Message-
> From: Marco Rebhan  
> Sent: Thursday, January 20, 2022 6:07 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Handling a sizable amount of spam and Dovecote 
> question
> 
> On Thursday, 20 January 2022 14:22:02 CET Dale wrote:
> > What do others do with spam to minimize it?
> 
> Hi Dale,
> 
> I'm not sure if you're talking about self-hosted mail because you mention 
> dovecot, if you do:
> 
> I use postfix's smtp_recipient_restrictions to block mail coming from servers 
> marked as spam by RBLs:
> 
> smtpd_recipient_restrictions =
> reject_rbl_client zen.spamhaus.org,
> reject_rbl_client bl.spamcop.net
> 
> I'm not sure if this is doable through Dovecot configuration, but without an 
> MTA like Postfix you can't receive mail anyway. This alone seems to block 
> most of the spam I get. And additionally I have rspamd and some filters set 
> up because some stuff does get through. I think Postfix also lets you block 
> IP ranges directly in case you get spammed by some network that isn't listed 
> on spamhaus but I haven't needed that yet.
> 
> > I'm considering setting
> > up another email address and switching then closing current account. 
> > Yea, it's that annoying.  Is there someone I can report them too?  Is 
> > there something I'm not recognizing in the message headers that I can 
> > use to report them too?
> 
> In case you're using some other email provider (is this about your Gmail 
> address?), what you can do regardless is set up filters (ideally server- side 
> if they provide the capability...) filtering mails by e.g. From header (I 
> have a whole list of those), and if they have a well configured spam filter 
> you should be able to move the spam mail into your spam folder and it should 
> eventually start to classify similar mail as spam automatically. (but this is 
> specific to the service so I can't tell you a way that works everywhere)
> 
> > By the way, I have dovecote set up and the service seems to start. 
> > What do I do after getting the service to start to set up where to get 
> > email etc?
> 
> If you aren't self-hosting your mail but want to (be warned, it's a fair bit 
> of setup connecting it all together), you first need a domain, a server with 
> a static IP address (don't use some box in your home) that has the correct 
> rDNS record set in addition to DNS, so the hostname can be resolved from its 
> public IP. To actually be able to receive mail, you also need an MTA. Dovecot 
> is just a way to access a mailbox, it doesn't actually handle receiving mail 
> from other servers or sending mail. 
> Postfix is what I use for that, they work well together. I followed these 
> wiki articles among some others I can't find right now to set it up initially:
> https://wiki.archlinux.org/title/Mail_server
> https://wiki.archlinux.org/title/Postfix
> https://wiki.archlinux.org/title/Dovecot
> 
> I hope this helps!
> 
> -Marco
> 

Note that you don't technically need a static IP address, and a box in your 
home works just fine as long as you have sufficient bandwidth.  But most 
residential ISPs in the USA at least block port 25 due to a technically flawed 
recommendation from the federal government that was made in the '90s when 
everybody was on dialup.  The recommendation, of course, is that *everybody* 
should block both incoming and outgoing port 25 *all* the time...  Which 
*would* meet the stated goal of eliminating spam email...  

Fortunately you can generally pay an ISP an extra fee to get port 25 unblocked. 
 This usually also includes getting a static IP address.  But the system will 
work with dynamic IP addresses just fine as long as your dynamic DNS client is 
configured correctly.

Note that if you're going to host your own email you need to test the security 
of your DNS provider.  There have been some notable cases where a few of them 
were more than willing to help a scammer with vague knowledge of their victim's 
personal info guess their way into the account and then start intercepting 
mail.  Specifically password reset emails.  So find a DNS provider that will 
let you set up strong security on the account, like all password reset requests 
needing to be notarized or something.

LMP



Re: [gentoo-user] Handling a sizable amount of spam and Dovecote question

2022-01-20 Thread Wols Lists

Well, for the moment, I want to use it for gmail that I'm posting with.
My reason for this, Seamonkey is in a iffy state.  I've already started
using Firefox and containers for most other things but use Seamonkey
mostly for emails.  My hope, set up something local so that I don't lose
any older emails and then be able to access those emails with whatever
web browser or other tool I want, like Firefox.  Of course, I'd want to
be able to send email as well.  Maybe this is a bigger task than I think
it is.  Either way, I have Dovecote installed, think it is working but
no idea what to do with it.

Just point your email client at dovecot. Or rather, create an account, 
in your mail client, that points at your dovecot server. Bingo, one 
empty IMAP mail account.


Now go into your ISP account in the same mail server, and set up client 
filters to move all your mail across into your local (dovecot) account.


That way you don't need postfix, or fetchmail, or any other fancy mailer 
service, you're using your normal mail client to copy your emails from 
your isp down to your local system, and categorise and sort them.


I have rules that move all my mailing lists into dedicated folders, 
marketing junk into dedicated folders (that expire), etc etc. I don't 
actually have that much spam, but I have rules that move what I 
recognise straight into "Deleted" :-)


Then your spam filter will end up like mine was at work - "Anything I 
want gets moved into dedicated folders, anything left is probably spam". 
So at regular intervals I just sorted my inbox by subject, and 
bulk-deleted pretty much the lot. When scanning by subject, you tend to 
get multiple spams with the same subject, so any ham will stand out 
because there's just the one ...


(Of course, you could configure fetchmail to collect your mail and dump 
it straight into dovecot ...)


Cheers,
Wol



Re: [gentoo-user] Handling a sizable amount of spam and Dovecote question

2022-01-20 Thread Dale
Marco Rebhan wrote:
> On Thursday, 20 January 2022 14:22:02 CET Dale wrote:
>> What do others do with spam to minimize it?
> Hi Dale,
>
> I'm not sure if you're talking about self-hosted mail because you 
> mention dovecot, if you do:
>
> I use postfix's smtp_recipient_restrictions to block mail coming from 
> servers marked as spam by RBLs:
>
> smtpd_recipient_restrictions =
> reject_rbl_client zen.spamhaus.org,
> reject_rbl_client bl.spamcop.net
>
> I'm not sure if this is doable through Dovecot configuration, but 
> without an MTA like Postfix you can't receive mail anyway. This alone 
> seems to block most of the spam I get. And additionally I have rspamd 
> and some filters set up because some stuff does get through. I think 
> Postfix also lets you block IP ranges directly in case you get spammed 
> by some network that isn't listed on spamhaus but I haven't needed that 
> yet.

Once I get Dovecote set up, that could be a option.  Sounds like a good
one at that.  ;-)


>> I'm considering setting
>> up another email address and switching then closing current account. 
>> Yea, it's that annoying.  Is there someone I can report them too?  Is
>> there something I'm not recognizing in the message headers that I can
>> use to report them too?
> In case you're using some other email provider (is this about your Gmail 
> address?), what you can do regardless is set up filters (ideally server-
> side if they provide the capability...) filtering mails by e.g. From 
> header (I have a whole list of those), and if they have a well 
> configured spam filter you should be able to move the spam mail into 
> your spam folder and it should eventually start to classify similar mail 
> as spam automatically. (but this is specific to the service so I can't 
> tell you a way that works everywhere)

If I understand you correctly, I have filters set up for different
messages.  Gentoo-user for example gets sent to a Gentoo-user folder.  I
have similar set up for most anything that I get on a regular basis;
ebay, Amazon, bank, family, friends, gentoo lists or forums and lots of
others.  Seamonkey comes with a spam filter and most go to trash as I
have it set to do.  Thing is, I'd rather not get them because who knows
what mischief they can do or what can be attached.  I have Seamonkey set
to not load anything, except for highly trusted sites, but still, I
don't like them sending me their junk.  In all honestly, it doesn't do
them any good because of my own policy.  I never click on ads, not since
2003.  While I use adblock to block most stuff, even if a ad gets
through, I never click on them.  As a matter of fact, there are some
that have paid for some really annoying ads on sites that I've blocked
because of their ads.  I don't do business with them.  Why reward bad
behavior??



>> By the way, I have dovecote set up and the service seems to start. 
>> What do I do after getting the service to start to set up where to
>> get email etc?
> If you aren't self-hosting your mail but want to (be warned, it's a fair 
> bit of setup connecting it all together), you first need a domain, a 
> server with a static IP address (don't use some box in your home) that 
> has the correct rDNS record set in addition to DNS, so the hostname can 
> be resolved from its public IP. To actually be able to receive mail, you 
> also need an MTA. Dovecot is just a way to access a mailbox, it doesn't 
> actually handle receiving mail from other servers or sending mail. 
> Postfix is what I use for that, they work well together. I followed 
> these wiki articles among some others I can't find right now to set it 
> up initially:
> https://wiki.archlinux.org/title/Mail_server
> https://wiki.archlinux.org/title/Postfix
> https://wiki.archlinux.org/title/Dovecot
>
> I hope this helps!
>
> -Marco


Well, for the moment, I want to use it for gmail that I'm posting with. 
My reason for this, Seamonkey is in a iffy state.  I've already started
using Firefox and containers for most other things but use Seamonkey
mostly for emails.  My hope, set up something local so that I don't lose
any older emails and then be able to access those emails with whatever
web browser or other tool I want, like Firefox.  Of course, I'd want to
be able to send email as well.  Maybe this is a bigger task than I think
it is.  Either way, I have Dovecote installed, think it is working but
no idea what to do with it. 

Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Handling a sizable amount of spam and Dovecote question

2022-01-20 Thread William Kenworthy



On 20/1/22 22:06, Marco Rebhan wrote:

On Thursday, 20 January 2022 14:22:02 CET Dale wrote:

What do others do with spam to minimize it?

Hi Dale,

I'm not sure if you're talking about self-hosted mail because you
mention dovecot, if you do:


Google Gentoo mail gateway - there are a couple of good guides. Running 
a mail system is a major effort for a small number of accounts however 
it is nowhere near as effective as a user vs one of the larger companies 
such as Cisco who have access to a huge number of data samples to 
analyse and work off.  The ISP I use (iinet) offers cisco ironport spam 
filtering free on accounts, either off, blocking or marking.  Its very 
effective whereas my mail filtering gateway using fetchmail, procmail, 
blacklisting, grey listing, spam-assassin, amavis-new, clamav, razor, 
dcc etc. does sort of work for me, it just doesn't work as well.


BillK





[gentoo-user] Handling a sizable amount of spam and Dovecote question

2022-01-20 Thread Dale
Howdy all,

Over the years, I've been very lucky with regard to spam emails.  I'd
get a few here and there but not enough to even annoy me slightly
really.  A few months ago, something changed that.  I suspect someone I
set up a account with shared my email address and got the ball rolling. 
Now, I get around 100 more or less depending on the day.  I've made use
of what appears to be legit unsub links but they still keep coming. 
I've googled to see if there is someone I can report them to but it
seems there isn't one, that I can find anyway. 

What do others do with spam to minimize it?  I'm considering setting up
another email address and switching then closing current account.  Yea,
it's that annoying.  Is there someone I can report them too?  Is there
something I'm not recognizing in the message headers that I can use to
report them too?

By the way, I have dovecote set up and the service seems to start.  What
do I do after getting the service to start to set up where to get email
etc? 

Thanks to all for thoughts or ideas.

Dale

:-)  :-) 



Re: [gentoo-user] Can't get rid of preserved libs

2022-01-20 Thread Bryan Gardiner
On Sun, 12 Dec 2021 10:05:58 +
Wols Lists  wrote:

> On 12/12/2021 05:55, Bryan Gardiner wrote:
> > I don't really look forward to uninstalling bzip2.  Manually
> > uninstalling and reinstalling freetype and harfbuzz doesn't fix the
> > issue.  I am thinking about deleting all of these libraries by hand
> > and then rebuilding the packages, or perhaps unmerging freetype and
> > harfbuzz with FEATURES="-preserved-libs".  I'm not sure if this will
> > clean up all of Portage's metadata about the libraries though.
> > 
> > Any insight into a 'proper' way to fix this would be appreciated.  
> 
> If you read the messages, it should tell you which program is actually 
> pulling freetype and harfbuzz in with the flags you don't want. Are they 
> currently installed with the correct flags you want?
> 
> If they don't have the flags you want, try to force-emerge them with the 
> flags you do want and portage will complain "can't do that because of 
> ..." That should tell you the problem program. Do an emerge -C on that 
> program, re-emerge harfbuzz and freetype with the correct flags, and you 
> SHOULD be home and dry ...

Hi and thanks,

I finally had time to look at this again, and setting USE=-harfbuzz
and running

ABI_X86_32='32 64' emerge -v1 freetype harfbuzz
emerge -v1 freetype harfbuzz

fixed it (by breaking the 32-bit freetype -> harfbuzz dep).  I don't
know where I went wrong before.  I also broke Portage temporarily by
force-emerging the older harfbuzz that the preserved lib was from, and
hit bug #521968, but it's all good now.

Cheers,
Bryan