send mail from virtual machine ?

3,718 views
Skip to first unread message

david chollez

unread,
Jan 8, 2014, 1:35:49 PM1/8/14
to vagra...@googlegroups.com
Hello,

I try to send I mail from my VM in Vagrant but impossible,

I use the default configuration from the puphpet website.

I add sendmail with this commands :

sudo apt-get install mailutils
sudo apt-get install sendmail

But impossible to send email from command line or PHP script

exemple in terminal
mail -s "test" me[@]email.com
crtl+d
ctrl+d

Maybe not a Vagrant issue 

regards

Bogdan Bezuz

unread,
Jan 8, 2014, 2:56:30 PM1/8/14
to vagra...@googlegroups.com
Hi David,

This is not a Vagrant issue, it depends on your base box and what you have installed on it.

Regards.


--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

david chollez

unread,
Jan 8, 2014, 4:40:09 PM1/8/14
to vagra...@googlegroups.com
Thanks, that's what I thought.

I'll try to install another box from the same site and maybe try the default one of the vagrant's doc (precise32)

david chollez

unread,
Jan 10, 2014, 1:35:38 PM1/10/14
to vagra...@googlegroups.com

the problem really came from distro

I use the package from puphpet website, choose Ubuntu precise but replace the box by the vagrant default one precise32.box

vagrant up
sudo apt-get update
sudo apt-get install mailutils

and everything works !
Reply all
Reply to author
Forward
0 new messages