Joomla! My contact form send mail, which i never receive.

September 17, 2014 3.1k views

My position is, mail can be sent through my contact form ( ) BUT i don't receive it. I check "sent a copy to yourself", tried different mail accounts; but the sender accounts also don't receive the copy of the mail they sent to me.

  • joomla have my mail by installation, it is gmail. i believe what we did is to make visitors send mail to my gmail account. because settings are like that at joomla. this settings SAYS mail sent, but i cant receive them.
    when i try this settings : i get an error while trying to send mail as "smtp connection failed".

  • should i look somewhere else than my gmail account? but the sender accounts don't receive their own mail's copy also.

  • I have installed Postfix and configured it, by looking at this tutorial:

THANKS you guys.

  • Are there any errors in /var/log/mail.log?

    sudo tail -30 /var/log/mail.log

    Can you also check if you're able to access port 25 on remote servers?

    nc -vz 25
  • What steps have you taken to debug the postfix installation? Can you send mail from the comment line? Try running echo "This is a test message" | mail -s "Email test" If that doesn't successfully send a message, look for errors in the log by running tail /var/log/mail.log

  • Thank you guys for your answers,

    I have done the INSTALL and CONFIGURE parts at the guide posted above. Didn't do configure additional emails part.

    this is the /var/log directory. is there any problem ?
    this is error log
    port seems ok


    when i try: echo "This is a test message" | mail -s "Email test"
    it says : The program 'mail' is currently not installed. You can install it by typing:
    sudo apt-get install mailutils

    and this is the error i get when i type sudo tail /var/log/mail.log

2 Answers

You need to create /etc/postfix/virtual.db first, which can be done by running the following command:

sudo postmap /etc/postfix/virtual

Don't forget to restart Postfix:

sudo service postfix restart
  • THANKS kamaln7,
    when i type

    sudo postmap /etc/postfix/virtual

    ıt says

    postmap: fatal: open /etc/postfix/virtual: No such file or directory

    What would be the problem??

Have another answer? Share your knowledge.