Sendmail / postfix in laravel homestead vagrant
I have a closet for laravel-homestead. I installed mailutils "apt-get install mailutils" Then it asked me to configure postfix, I choose the option "Internet ..". When I try to send an email by running
echo "Test" | mail -s "testing email" myemail@gmail.com
I am not receiving any emails.
/var/log/mail.log:
Nov 7 22:28:43 homestead postfix/master[1553]: reload -- version 2.11.0, configuration /etc/postfix
Nov 7 22:29:13 homestead postfix/pickup[2289]: 1364660ECE: uid=0 from=<root@homestead>
Nov 7 22:29:13 homestead postfix/cleanup[2299]: 1364660ECE: message-id=<20141107222913.1364660ECE@homestead>
Nov 7 22:29:13 homestead postfix/qmgr[2290]: 1364660ECE: from=<root@homestead>, size=331, nrcpt=1 (queue active)
Nov 7 22:29:43 homestead postfix/smtp[2301]: connect to gmail.com[74.125.230.149]:25: Connection timed out
I am pretty new when it comes to Linux machines. I've been trying to get sendmail to work with a VM with laravel-homestead with no luck.
Has anyone else experienced this?
Many thanks.
+3
source to share
No one has answered this question yet
Check out similar questions: