Post by moussIn our case, login = Student-Id which I won't put on any Received headers
Is there any solution to have smtpd_sasl_authenticated_header to
display another variable on the Received header
You are not giving any information about your setup. please reread my
post and say if your setup matches one of those.
Hi! Mouss,
Thanks for your reply.
I'm using postfix 2.2.10 and it work great :-)
I would like to have some header which tell if the SMTP sender has been authenticated or not
and, if so, what was the login username that has been used for authentication.
I didn't find a way of doing it in 2.2.10
I noticed in 2.3 that there is a main.cf parameter smtpd_sasl_authenticated_header
which should add the login username to the Received header
My problem is that my login username is the studentid or employeeid value
and I don't want that value to appear on any headers.
You said:
"- if login = email address (many virtual users setups), then there is no
problem including the login.
- if you use a content filter, you can enable it, use it in the content
filter (SA can use it), and then remove it either in a custom filter or
using REPLACE after the filter."
This is exactly what I was going to do:
-enable smtpd_sasl_authenticated_header
-use it with my content filter
-and remove the header when I need it no more.
But, I won't need to remove it if the displayed value was something
like the email address instead of the original login username
This is why I ask if there is some way to display another content in that field.
Post by moussI would like it to use 'mail' instead of 'login'
'mail' is already in the envelope (Return-Path when mail is delivered).
why would you want it in the Received headers?
Because, I also need to know if the message has been "authenticated"
Thanks,
Eddy