Just wondering if anyone has any ideas on rewriting sender addresses for Postfix to remove a prefix in the email.
Basically due to a Winbind configuration, there is a winbind seperator of "+" that seperates Winbind users from the local users. So the Winbind users look like: DOMAIN+firstname.lastname.
As we're running quotas it would be good to be able to use warnquota to send an email to the user when they have exceeded their soft limit. Warnquota will send the email, but it is sent to DOMAIN+firstname.lastname@example.com, where the valid address is firstname.username@domain.com. I am under the assumption that the best way around this is to use Postfix address rewrite rules to remove the "DOMAIN+" component?
Going to play around with the LDAP configuration in /etc/warnquota.conf to see if the mail info can be pulled from ADS... but expecting the same issue with looking up usernames, as the domain prefix will make the user invalid.


LinkBack URL
About LinkBacks




Reply With Quote
