Now I’ve run into a bit of a problem . . . For some reason I am now getting five duplicate emails placed in my sent folder! I have the email client I am testing with set to not place a copy in the sent folder, so none of those are being synced to my sent folder by my email client.
How do I ensure that the email only gets placed in my sent folder once?
Thanks!
Austin Witmer
On Jun 16, 2022, at 11:52 PM, Gedalya gedalya@gedalya.net wrote:
On 6/17/22 12:29, Austin Witmer wrote:
Do I add this to my postfix main.cf file and what is the exact syntax? Yes, e.g.: sender_bcc_maps = hash:/etc/postfix/back-to-sent-folder
/etc/postfix/back-to-sent-folder : (simple key-value) user@domain user+sent@domain
hash the file with: postmap back-to-sent-folder this will create back-to-sent-folder.db which is what postfix will actually look at
Will this affect all users or just this user?
The content of the file determines that.
For details: https://www.postfix.org/postconf.5.html#sender_bcc_maps
In this example, we have only one line affecting only one user.
The data can be taken from other sources, including SQL database: