How to send email from an old scanner device? (TLS not working) #3792
-
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 7 replies
-
Take a look here. You might give "intermediate" a try. |
Beta Was this translation helpful? Give feedback.
-
Depends how old this is. This type of product often is problematic with TLS. IIRC, you're potentially stuck with the CA list it has, so if it needed to verify a cert and that CA cert it came with has expired (this happened with LetsEncrypt IIRC) then it's unable to verify trust. Old Smart TV products that were no longer receiving updates had this issue a few years ago preventing them from browsing many websites securely. Likewise, the supported cipher suite may be lacking. Here is the script portion that configures docker-mailserver/target/scripts/helpers/ssl.sh Lines 145 to 148 in 9cdbef2 In Dec 2022, I raised our minimum support by being more restrictive, you can see here that One additional point to make is we presently have these cipher suites configured for all ports other than 25. Port 25 is more relaxed, but as the linked commit shows we excluded some weaker cipher suites that were still valid in TLS 1.2. It's possible that your mail client (brother printer) could be compatible with those. Troubleshooting
|
Beta Was this translation helpful? Give feedback.
-
my issue with the scanner still persists. actually it got more significant, since in the meantime I have acquired some additional appliances (a UPS and and a power distributor unit) that I would like to use with mail notifications. I use my docker mail server instance exclusively to send notifications from my homelab, so no ports are exposed externally and no email is ever recieved on the DMS mailbox. With port 25 i am getting this error:
With authentication none i was able to get to the state where I am getting the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
yeah, already did that a countless times, never worked
With either settings I am just getting a connect-disconnect in the logs and nothing else. Note that these are really old appliances (pre-2010, although their latest firmware is from 2020)
what should be the [email protected] ? my @gmail.com address where i want to receive the notification or another mailbox configured within DMS? with both approached i am just getting the relay access denied error again.... |
Beta Was this translation helpful? Give feedback.
-
ok, this is getting somewhere SLOWLY :D i think the alias is set up properly in DMS based on the content of postfix-accounts.cf and postfix-virtual.cf, i just need to understand how to set up the appliances. This is what i got:
|
Beta Was this translation helpful? Give feedback.
-
ok, progress. adding the ip addresses to mynetworks apparently helped. But: this was the message I have received in my external mailbox from the scanner:
Also tried to send something from another device, here i have received no email but got quite extensive logs:
if i understand it correctly, I should somehow whitelist my alias email address in amavis? |
Beta Was this translation helpful? Give feedback.
Since we're dismissing some security already, how important is it to you to have anti-virus / anti-spam enabled?
Amavis is a filter service (and will be swapped for rspamd in a future release). You can opt-out with
ENABLE_AMAVIS=0
. From the mail you received it would seem like the scanner perhaps did not provide standard mail headers that were typically expected like the date, Amavis is presumably checking for that and flagging it as spam.If you do want to keep Amavis, we would be using the same trick to bypass these checks as we did with Postfix
mynetworks
setting, but we'd need to specifically override it here:docker-ma…