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

September 17, 2014 3.6k views

My position is, mail can be sent through my contact form ( http://agirsaglam.com/iletisim ) 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 http://postimg.org/image/59s0q6nqn/ at joomla. this settings SAYS mail sent, but i cant receive them.
    when i try this settings : http://postimg.org/image/4rxabt1nn/ 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:

https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-12-04

THANKS you guys.

3 comments
  • 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 smtp.gmail.com 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" address@example.com 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 ? http://postimg.org/image/kdv1yc9lf/
    this is error log http://postimg.org/image/cl3pivq73/
    port seems ok http://postimg.org/image/fll8mwexf/

    --

    when i try: echo "This is a test message" | mail -s "Email test" address@example.com
    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
    http://postimg.org/image/brlyihh6z/

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.