> If I set mytestdomain in mydestination, I can deliver to it. Otherwise I > just get relaying denied. Is there a reasonably sane way to have > mydestination set so that the list comes from the dbmail mysql backend > while still including local host names ($myhostname, localhost) for > /var/spool/mail delivery?
The config allows to have multiple parameters after eachother. So you can concatenate $myhostname and a database query. > > However, I also have to set, in main.cf > local_recipient_maps = mysql:/etc/postfix/sql-recipients.cf > > where sql-recipients.cf is the mysql access config file as per the dbmail > wiki. This works fine for dbmail users, but it also causes local > recipients to get rejected (e.g. [EMAIL PROTECTED]). Is there a way to > additionally add local users to the allowed map? Also here, you can add a second hash containing local users. However, IMHO there is no need for local users, just put them in DBMail also. _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
