Re: [GLLUG] British Gas DKIM failure?

2024-01-17 Thread Carles Pina i Estany via GLLUG

Hi,

On 17 Jan 2024 at 12:30:15, Henrik Morsing via GLLUG wrote:
> On Mon, Jan 15, 2024 at 07:45:25PM +, Carles Pina i Estany via GLLUG 
> wrote:
> > 
> > Hi,
> > 
> 
> Hi,
> 
> > 
> > Side note, almost unrelated.
> > 
> > In a personal/family server I have a nightly script that sends me which
> > emails have been rejected by the server. Why? Postfix, in my
> > configuration, rejects some emails. For example, from the Birmingham
> > Zoo, bto.org, etc. so I get an email in the morning with the rejections
> > of the day before and if I want to I add them in sender_access. In 1.5
> > years I have 14 domains there.
> > 
> > When time allows, I will add the DKIM rejections as well, based on your
> > case. Just in case. So thanks for sharing. I wonder if DKIM is rejecting
> > some "legit" (or "expected") email.
> > 
> 
> Sounds very useful, something you can share or is it top secret?

Nothing top secret. It's not a public script because I have it in a repo
with internal tools for the personal server.

What I have detects the emails rejected by "Client host rejected: cannot
find your reverse hostname" and "Client host rejected: cannot find your
hostname".

This is the script that parses the Postfix logs for those errors:
https://gist.github.com/cpina/e97c0da58f42a0db83b3886674de4410

I call (from cron) it from this Bash script:
https://gist.github.com/cpina/79b4f425facb6b97aaea4c572307de3a

The email looks like this:
https://gist.github.com/cpina/4c49df824742c5ae1d273170939795be

The reason that I wrote it was, as I said, I set up postfix to reject
emails based on the hostname (it reduced Spam) but some, very few
services, have the email set up in a way that is wrong. Then I can see
them and I add them in sender_access in Postfix.

What I will do, some day, is make sure that emails rejected because of
DMARC, are also there. So, if I expected an email from britishgas or
whoever and it appears in the morning email the day after, I would know
faster. Not ideal, but email seems full of not-ideal things :-)

Cheers,

-- 
Carles Pina i Estany
https://carles.pina.cat


signature.asc
Description: PGP signature
-- 
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug


Re: [GLLUG] Printer page layouts

2024-01-17 Thread Chris Bell via GLLUG
On Wednesday, 17 January 2024 11:11:30 GMT John Southern via GLLUG wrote:
> Hi Chris,
> 
> The texlive-extra-util package may be able to help with the pdfjam and
> pdfbook2. You could pipe these together with the pdftk-java package which
> has a shuffle option.
> 
> Although I think something like LibreOffice Writer has all these options
> including the brochure print.
> 
> Regards
> John

Thanks for the suggestion, I will look again.
My old RiscPC was switched off about 10 years ago when I was being treated in 
hospital. I managed to survive and slowly recovered, the HDD never recovered.
Apparently RiscOS took over the Computer Concepts Impression series, so I am 
also looking at installing 
https://www.riscosopen.org/content
on to a replacement disk on my original RISCPC
There is even a version of RISCOS for the RaspberryPi.
A friend who does not know much about computers picked up a HDD that was 
ticking and not reaching operating speed. He turned it upside down and dropped 
some light oil on to the bearing, and a few days later it started working. I 
found it difficult to believe, but would be willing to try.

-- 
Chris Bell
www.chrisbell.org.uk



-- 
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug


Re: [GLLUG] British Gas DKIM failure?

2024-01-17 Thread Henrik Morsing via GLLUG

On Mon, Jan 15, 2024 at 07:45:25PM +, Carles Pina i Estany via GLLUG wrote:


Hi,



Hi,



Side note, almost unrelated.

In a personal/family server I have a nightly script that sends me which
emails have been rejected by the server. Why? Postfix, in my
configuration, rejects some emails. For example, from the Birmingham
Zoo, bto.org, etc. so I get an email in the morning with the rejections
of the day before and if I want to I add them in sender_access. In 1.5
years I have 14 domains there.

When time allows, I will add the DKIM rejections as well, based on your
case. Just in case. So thanks for sharing. I wonder if DKIM is rejecting
some "legit" (or "expected") email.



Sounds very useful, something you can share or is it top secret?

Regards,
Henrik Morsing

--
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug


Re: [GLLUG] British Gas DKIM failure?

2024-01-17 Thread Henrik Morsing via GLLUG

On Sun, Jan 14, 2024 at 06:06:56PM +, Marco van Beek via GLLUG wrote:

Hi,



Hi,

So looking at this, and Andy's email with what he sees, it looks like 
his British Gas emails are coming from a different place to yours. His 
are coming from SalesForce, and yours are coming from Mail Jet, so I 
don't think we can draw much from that.


I think the next thing to look at is maybe this is an SSL issue, so I 
found thse:

https://github.com/openssl/openssl/issues/8010
https://portal.microfocus.com/s/article/KM15515?language=en_US


Good find, very odd issue. Can try if that helps, I might have to contact BG to 
find out what they are emailing me and how frequent, to verify if it works.



That would indicate a possible issue within some Intel Goldmont 
processors, and can be fixed with telling OpenSSL not to use the 
hardware for this


This is running on a nanode though, and I am getting:

vendor_id   : AuthenticAMD  


Regards,
Henrik Morsing

--
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug


Re: [GLLUG] Printer page layouts

2024-01-17 Thread John Southern via GLLUG
Hi Chris,

The texlive-extra-util package may be able to help with the pdfjam and
pdfbook2. You could pipe these together with the pdftk-java package which
has a shuffle option.

Although I think something like LibreOffice Writer has all these options
including the brochure print.

Regards
John

On Thu, 11 Jan 2024 at 15:15, Chris Bell via GLLUG 
wrote:

> Hello,
> A long time ago now, I had a package for Acorn computers named Acorn
> Publisher
> which could adjust the printer whole-sheet layout for multiple pages on
> multiple sheets.
> A friend working as a professional "jobber" printer would pass an
> individual
> file through a chain of processes using software running on multiple
> operating
> systems to adjust edge definition, colour balance, gamma, random noise,
> and
> perhaps select individual colours for Lithographic Masters, then finally
> Acorn
> Publisher would lay out pages so that the sheets could be guillotined and
> would appear in the correct order after binding. It worked with any
> original
> shape and size of sheet (perhaps A4, perhaps oversize A0+), to create any
> final
> shape and size ready for binding.
> I used it to quickly and easily double-side print something like A6
> pamphlets
> or instuction manuals on to A4, then I would cut the pages using a hand
> operated guillotine, and simply staple the result. It could place page 1
> inside or on the front, alongside the last page, with the centre pages
> together. If the printer could not print double sided it could print every
> other side of sheet, then turn the stack and print the other sides.
> Is there anything that is able to do the same job in Linux/Debian?
> Thanks for any info.
> --
> Chris Bell
> www.chrisbell.org.uk
>
>
>
> --
> GLLUG mailing list
> GLLUG@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/gllug
>
-- 
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug