VMware Cloud Community
superluluman
Contributor
Contributor
Jump to solution

Email and GhettoVCB

hi everyone,

Is it possible to put more than one mail destination in ghettoVCB.conf when backup is finished?

EMAIL_TO=toto@mydomain.com;titi@mydomain.com doesn't work.

Thanks !

Reply
0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

Yes it is possible. Please refer to the ghettoVCB documentation

View solution in original post

Reply
0 Kudos
6 Replies
Troy_Clavell
Immortal
Immortal
Jump to solution

Hello and Welcome to the Forums!

I may not have the direct answer, but why not send to a Distribution List?

Reply
0 Kudos
superluluman
Contributor
Contributor
Jump to solution

Tanks for your quick answer. It's an idea but i don't want to create a distribution list just for that.

Reply
0 Kudos
lamw
Community Manager
Community Manager
Jump to solution

Yes it is possible. Please refer to the ghettoVCB documentation

Reply
0 Kudos
milton123
Hot Shot
Hot Shot
Jump to solution

I have tried send more than one mail destination in ghettoVCB.conf but does not work properly.

Cheers, Yours Udin

Reply
0 Kudos
superluluman
Contributor
Contributor
Jump to solution

thanks, works fine with ',' between mail adresses.

Reply
0 Kudos
superluluman
Contributor
Contributor
Jump to solution

Just a tips to make persistent on reboot mail outbound in firewall on port 25 easily (ESXi 5.0):

create mail.xml in a volume always accessible (NFS volume for example):

<ConfigRoot>
  <service id='1000'>
    <id>SMTP</id>
    <rule>
      <direction>outbound</direction>
      <protocol>tcp</protocol>
      <porttype>dst</porttype>
      <port>25</port>
    </rule>
    <enabled>true</enabled>
    <required>false</required>
  </service>
</ConfigRoot>

edit /etc/rc.local file :

insert lines:

cp /vmfs/volumes/<Your NFS volume name>/mail.xml /etc/vmware/firewall/
esxcli network firewall refresh

save and run command line:

/sbin/auto-backup.sh .

Reply
0 Kudos