We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Set Reply-To Header
Set Reply-To Header
Hello VestaCP-lovers!
How can i set a Reply-To-Header for a mail-account?
What i want to do is simulate a simple mailing-list like this:
1. setting up an e-mail account
2. adding members for the list to the forward-to section
3. todo: setting the reply-to header to the e-mail-account
without step 3 the reply will go to the original sender of the mail, of course ;-)
I found a solution on the web using exim ACL:
-----------------------------------
acl_smtp_rcpt = acl_rcpt
begin acl
acl_rcpt:
warn domains = !+local_domains
condition = ${lookup{$sender_address}lsearch{/path/salesmen.list}{yes}}
remove_header = Reply-to
add_header = Reply-to: [email protected]
warn domains = !+local_domains
condition = ${lookup{$sender_address}lsearch{/path/servicemen.list}{yes}}
remove_header = Reply-to
add_header = Reply-to: [email protected]
-------------------------------------
Looks well for me, but i don't want to break VestaCP's global exim config.
Is it possible to adopt this ACL under subdomain conf/mail/subdomain/?
Or any other ideas?
Greetings
Bernd
How can i set a Reply-To-Header for a mail-account?
What i want to do is simulate a simple mailing-list like this:
1. setting up an e-mail account
2. adding members for the list to the forward-to section
3. todo: setting the reply-to header to the e-mail-account
without step 3 the reply will go to the original sender of the mail, of course ;-)
I found a solution on the web using exim ACL:
-----------------------------------
acl_smtp_rcpt = acl_rcpt
begin acl
acl_rcpt:
warn domains = !+local_domains
condition = ${lookup{$sender_address}lsearch{/path/salesmen.list}{yes}}
remove_header = Reply-to
add_header = Reply-to: [email protected]
warn domains = !+local_domains
condition = ${lookup{$sender_address}lsearch{/path/servicemen.list}{yes}}
remove_header = Reply-to
add_header = Reply-to: [email protected]
-------------------------------------
Looks well for me, but i don't want to break VestaCP's global exim config.
Is it possible to adopt this ACL under subdomain conf/mail/subdomain/?
Or any other ideas?
Greetings
Bernd