some improvements on smtp-auth-cc-rdu01.fedoraproject.org #12835
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#12835
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A few improvements we need to do on this machine.
This vm is used to relay (authenticated) emails out to people from various places (copr cron outputs, flock / conference stuff, packager reports).
It would be nice to adjust postfix config to not leak the headers/ips from the orig systems, ie something like https://serverfault.com/a/998993 or the like
The ssl cert on this machine is a self signed one, but it's also expired. Would be nice to generate a new one and make sure to keep it up to date.
Metadata Update from @james:
The cert has been fixed.
The config change hasn't been done yet.
I imported the new self-signed cert into my local trust store and tried to run the orphans email script without disabling tls verification. It now fails with
Error: tls: failed to verify certificate: x509: certificate relies on legacy Common Name field, use SANs instead. Would it be possible to fix this or to use a letsencrypt cert? If the server can have port 80 opened, one could be gotten with the HTTP-01 challenge and auto-renewed with certbot or similar.I don't think I like the idea of running a web server on this instance just for this... it exposes it a lot more. :(
@james might you be able to look at a new cert without this problem above?
Any updates here, particularly about the Postfix config changes? The cert issue I can at least work around by locally disabling TLS verification, but I can't work around the Postfix IP leaking.
So I created this PR to add the config changes. But let's wait for freeze to end before merging it.
The PR is now merged and the IP should be hidden. @gotmax23 Could you check if this is what you wanted?
Yes, the headers look good now. Thanks zlopez!
Anything else we need to do here or is this OK to close now?
Closing this as done, as there doesn't seem to be anything needed from our side.
zlopez wrote in #12835 (comment):
No, the TLS cert issue is still outstanding.
@james I see Kevin mentioned you regarding the tls cert issue. Could you look into it?