[pfx] Postfix refuses to accept email from video camera

2023-04-15 Thread Oleksandr via Postfix-users
Hi everyone, I am using Postfix v3.5.17 as part of iRedMail v1.6.2. They work successfully in Debian v11.6/64 bit Linux environment. Now I have connected an IP video camera that can send email over SSL to port 465 to Postfix. However, Postfix refuses to accept mail from the video camera and demo

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-15 Thread Oleksandr via Postfix-users
On Sat, 15 Apr 2023 11:12:51 -0400 postfix--- via Postfix-users wrote: > > Apr 14 23:00:08 mailserver postfix/smtps/smtpd[1653]: connect from > > unknown[192.168.1.44] > > Apr 14 23:00:08 mailserver postfix/smtps/smtpd[1653]: SSL_accept error from > > unknown[192.168.1.44]: Connection reset by

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-15 Thread Oleksandr via Postfix-users
> > provide postconf -nf not just raw file, and postconf -Mf not just raw > > file > > No longer necessary. Please, here are the results of executing this command in attachment: -- smtp inet n - y - 1 postscreen smtpd pass - - y

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-15 Thread Oleksandr via Postfix-users
Sorry, I temporarily changed the IP camera to 192.168.8.144, but it doesn't affect anything. So, I executed the command: # tcpdump -s0 -w file.pcap tcp port 465 and host 192.168.8.144 The result is in the attachment. -- file.pcap Description: application/vnd.tcpdump.pcap __

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-15 Thread Oleksandr via Postfix-users
Viktor, hHow you have analyzed everything perfectly! :-) Of course, I cannot influence the camera firmware, it is old and there are no new firmware. But maybe you can change the Postfix settings so that he makes friends with this camera and successfully receives mail from it? --

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-15 Thread Oleksandr via Postfix-users
> ... so asking to have PF modified to accommodate a client’s > old & outdated firmware seems a bit like the tail waggin’ > the dog don’t you think? Yes, it looks like this :-) But I was hoping that it would be enough to make corrections in the main.cf and master.cf, and Postfix friendship wi

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-16 Thread Oleksandr via Postfix-users
Okay, Viktor! I executed these commands and got this result: $ dnsname=mailserver.mail.lan $ rm certkey.pem rm: Unable to delete 'certkey.pem': No such file or directory user@mailserver:~$ openssl req -new -nodes -newkey rsa:2048 -keyout /dev/stdout \ -config <(printf 'distinguished_name=

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-16 Thread Oleksandr via Postfix-users
> Did you reconfigure Postfix to use the generated PEM file > as your certificate and private key file? I didn't know it had to be done... I just do what you recommend. How do I need to do this reconfiguration? Please tell me about this in more detail. And another question: do these commands hav

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-16 Thread Oleksandr via Postfix-users
I think I've followed all your instructions, and now I've got another mistake: Apr 16 21:20:29 mailserver postfix/smtps/smtpd[2496]: warning: No server certs available. TLS won't be enabled Apr 16 21:20:30 mailserver postfix/smtps/smtpd[2496]: connect from unknown[192.168.8.144] Apr 16 21:20:30

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-16 Thread Oleksandr via Postfix-users
> You now need to again post your configuration settings. Post the output > of: > # postconf -nf smtpd_tls_cert_file smtpd_tls_key_file smtpd_tls_chain_files # ls -l $(postconf -xh smtpd_tls_cert_file smtpd_tls_key_file smtpd_tls_chain_files) # grep -E '^-(BEGIN|END) ' $(postconf -x

[pfx] Re: Postfix refuses to accept email from video camera

2023-04-16 Thread Oleksandr via Postfix-users
Dear Viktor, I'm is an old grandfather, and I'm already not thinking straight in Linux and I'm confused about these adjustments. But I very need to get this stubborn and also old Videocam to work :-) You have already helped me a lot in solving this problem, for which I thank you very much! If it