Page 1 of 1

VestaCP System Emails

Posted: Fri Apr 04, 2014 9:10 pm
by nightstryke
So whenever I get a VestaCP System Email like new domain name, ftp, database ect. It comes from Vesta Control Panel <vesta@hostname>

Is there anyway to change the email address that VestaCP sends from so it does not get marked as Spam?

Re: VestaCP System Emails

Posted: Sat Apr 05, 2014 10:09 am
by imperio
Vesta using server hostname in the system mailbox
you can change your server hostname in the hosts file

Code: Select all

/etc/hosts
also you can change login of mailbox
/usr/local/vesta/web/inc/i18n/en.php

Code: Select all

'MAIL_FROM'  => 'Vesta Control Panel <noreply@%s>',

Re: VestaCP System Emails

Posted: Sat Apr 05, 2014 5:07 pm
by nightstryke
imperio wrote:Vesta using server hostname in the system mailbox
you can change your server hostname in the hosts file

Code: Select all

/etc/hosts
also you can change login of mailbox
/usr/local/vesta/web/inc/i18n/en.php

Code: Select all

'MAIL_FROM'  => 'Vesta Control Panel <noreply@%s>',
So I can just change that one file and replace <noreply@%s> to <[email protected]> then and it should work right?

I would rather not have to change the hostname if at all possible, that would be a real pain.

Re: VestaCP System Emails

Posted: Wed Apr 23, 2014 5:48 pm
by nightstryke
Just an update but changing.

Code: Select all

'MAIL_FROM'  => 'Vesta Control Panel <noreply@%s>',
to this

Code: Select all

'MAIL_FROM'  => 'Vesta Control Panel <[email protected]>',
That more or less fixed the issue for me.

Re: VestaCP System Emails

Posted: Wed Apr 23, 2014 5:52 pm
by imperio
Remember!
After new update your changes will be erased