HEllo.
Postfix on a local network without a real internet domain name.
The mail server is on a specific computer.
Outbound mail are delivery by using a relay [smtp.someISP.com] using tls on
port 465
Local mail stay on the server
Less than 40 users
In a company, a linux user (userA) need to send a
Hello.
I have some difficulties to understand how lookup tables are used in
postfix.
>From my own usage, I know two usages
A) Single column.
You query with a parameter. If the parameter is found in the table you get a
non null value ( index value for example ). Depending of your usage you
decide w
After many tests I found that this is working :
in main.cf :
---
smtpd_sender_restrictions =
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_sender_login_mismatch
smtpd_sender_login_maps = pcre:/etc/postfix/sasl_default_sender.pcre
in /etc/postfix/sas
Helo.
I am testing sender address syntax with :
smtpd_sender_restrictions = check_sender_access
pcre:/etc/postfix/sender_syntax.pcre, reject
And the file /etc/postfix/sender_syntax.pcre contains :
/^([a-zA-Z0-9.\-_]+)@troll-hathor.nwk$/ OK
/^\@/ REJECT 510 Invalid address format.
Hello.
After reading it seems that a valid local-part address is :
/The local-part of the email address may use any of these ASCII characters:
*) uppercase and lowercase Latin letters A to Z and a to z;
digits 0 to 9;
special characters !#$%&'*+-/=?^_`{|}~;
*) dot ., provid
>From documentation : postconf.5.html#resolve_dequoted_address
/resolve_dequoted_address (default: yes)
Resolve a recipient address safely instead of correctly, by looking
inside quotes.
By default, the Postfix address resolver does not quote the address
localpart as per RFC 822, so that
Human guru perhaps not, but programs , spammers, or others may.
So how to reject mail with bad sender addresses that postfix accept.
Any help is welcome.
-
Thank you for helping
Opensuse Leap 15
--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
That does not work with the data I have use to make a test.
This is the reason I open a thread.
email-address :: local-p...@example.com
but if local-part :: local-p...@example.com ==>
local-p...@example.com@example.com
Now the lookup table
local-p...@example.comOK
*postmap -q "local-p...@ex