superluluman
Contributor
Contributor

Email and GhettoVCB

Jump to solution

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 !

0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager

Yes it is possible. Please refer to the ghettoVCB documentation

View solution in original post

0 Kudos
6 Replies
Troy_Clavell
Immortal
Immortal

Hello and Welcome to the Forums!

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

0 Kudos
superluluman
Contributor
Contributor

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

0 Kudos
lamw
Community Manager
Community Manager

Yes it is possible. Please refer to the ghettoVCB documentation

View solution in original post

0 Kudos
milton123
Hot Shot
Hot Shot
I have tried send more than one mail destination in ghettoVCB.conf but does not work properly.

Cheers, Yours Udin

0 Kudos
superluluman
Contributor
Contributor

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

0 Kudos
superluluman
Contributor
Contributor

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 .

0 Kudos