We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Bounce Email
-
- Posts: 1
- Joined: Tue Sep 19, 2017 7:47 pm
Bounce Email
Hello guys
I use VestaCP for some months and is great but for some reason i don't receive email that bounces
For example i made a test to send email using Roundcube to some emails that don't exist and nothing returned back
If i send to same emails using gmail i receive that email don't exist
Is there any setting that i miss in Vesta?
Thanks
Catalin
I use VestaCP for some months and is great but for some reason i don't receive email that bounces
For example i made a test to send email using Roundcube to some emails that don't exist and nothing returned back
If i send to same emails using gmail i receive that email don't exist
Is there any setting that i miss in Vesta?
Thanks
Catalin
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Bounce Email
I guess VestaCP's send SMTP envelope contains the bounce address as <vestauser>@domain.com so if you to configure that ID as a mailbox in your server. This is presuming you have your email hosted on the VestaCP server.
If you host your email outside on external MX then also the mail ID has to be created locally to be able to collect bounces. If you want to host the mailbox outside then you create it and then also need to change this line in
/etc/exim4/exim4.conf.template
domainlist local_domains = dsearch;/etc/exim4/domains/
to be changed to
domainlist local_domains = @
If you host your email outside on external MX then also the mail ID has to be created locally to be able to collect bounces. If you want to host the mailbox outside then you create it and then also need to change this line in
/etc/exim4/exim4.conf.template
domainlist local_domains = dsearch;/etc/exim4/domains/
to be changed to
domainlist local_domains = @
Re: Bounce Email
Hmm, seems like this would completly disable local delivery right? I'm using a bit another configuration for solving this problem.mehargags wrote:I guess VestaCP's send SMTP envelope contains the bounce address as <vestauser>@domain.com so if you to configure that ID as a mailbox in your server. This is presuming you have your email hosted on the VestaCP server.
If you host your email outside on external MX then also the mail ID has to be created locally to be able to collect bounces. If you want to host the mailbox outside then you create it and then also need to change this line in
/etc/exim4/exim4.conf.template
domainlist local_domains = dsearch;/etc/exim4/domains/
to be changed to
domainlist local_domains = @
Edit the exim4 conf file: /etc/exim/exim4.conf.template, add the following content under relay_to_domains:
Code: Select all
domainlist no_local_delivery = domain.tld : domain2.tld
So this will only forward the domains, definied in no_local_delivery (separated with :) to external smtp.nolocaldelivery:
driver = dnslookup
domains = +no_local_delivery
transport = remote_smtp
no_more
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Bounce Email
Code: Select all
domainlist local_domains = @
Well ScIT, Maybe yes as the @ means anymailbox@hostname.ScIT wrote:Hmm, seems like this would completly disable local delivery right?
I do not ever use Mail hosting on my VestaCP servers so the only mailboxed I would host locally is vestacpusers@hostname to trap the bounce mails.
Thanks for your approach, will be handy for people hosting their mailboxes on the VestaCP server.