Hi,
upgraded to webmin 1.791.
try the new feature to edit postfix restrict sender map in smtp server options.
i have a map working, but i cannot edit it there.
there is a note on bottom saying:
Restrictions on sender addresses
This map cannot be edited : Webmin does not support the map type permit_mynetworks reject_non_fqdn_sender reject_unknown_sender_domain reject_sender_login_mismatch reject_unlisted_sender check_sender_access hash
what is wrong?
thanks for assistance.
cheers
Can you post the line from your /etc/postfix/main.cf file that refers to this map?
ok, thanks,
here it is:
smtpd_sender_restrictions = permit_mynetworks reject_non_fqdn_sender reject_unknown_sender_domain reject_sender_login_mismatch reject_unlisted_sender check_sender_access hash:/etc/postfix/sender_access regexp:/etc/postfix/sender_access_regexp
cheers
Ah, Webmin doesn't support that format properly - it expects that the
smtpd_sender_restrictionsline will only have a map value, likehash:/etc/postfix/sender_accessyes, but i have been asking before if multiple maps will be supported.
also regexp are very important and no replacable by normal hash ones.
hope you find a solution.
atleast my two maps work as expected.
<bg></bg>
cheers
Yes, this is a bug - it should be fixed in the next release though. I will update this ticket..
Hi Jamie,
sorry if I disturb you.
But I got a question concerning Postfix Header Checks, which I cannot solve.
I need a REGEX rule for rejecting mails, where sender and recipient address
is the same, example:
From: mail@example.com
To: mail@example.com
or even
Return-Path: mail@example.com Or From: mail@example.com
To: mail@example.com
May be you could give me a tip.
Thanks in advance.
Looking forward to the next release of webmin with working restriction
sender maps editing.
Best regards
Mike Roland
Mididoc Productions
http://www.mididoc.com
Tel. +33 (0)6 76 63 04 05
mail@mididoc.com
So you want to check if the left-hand side matches the right-hand side
of the rule? I don't know if that's possible - it would be a question for
Postfix experts.
On 05/Apr/2016 02:49 M.T.R mike1950r@users.sf.net wrote ..
Ok, this will be properly fixed in the next Webmin release.
Hi Jamie,
thanks for fixing this.
Looking forward to the update.
cheers