Monthly Archives: November 2014

server not sending emails?

$> netstat -tanl|grep :25

should output

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 ::1:25 :::* LISTEN
test php mail
Put Php into interactive mode

$> php -a
$> mail(‘your@emailaddress.com’, ‘subject’, ‘content’);

Is mail daemon running?

restart

$>postfix stop && postfix start

Advertisements
Advertisements