Cant send or receive email

Discussion in 'Installation/Configuration' started by Jon117, Aug 28, 2011.

  1. Jon117

    Jon117 New Member

    I have read through the forums to see if i can fix my problem, but so far no.

    I installed ispconfig 3 using this tutorial

    Everything is working fine (websites work fine) except for emailing.

    I can send emails to other emails on my server but when i try to send out to yahoo or something, it never gets there. when i try to send email from yahoo it says

    "Sorry, we were unable to deliver your message to the following address.

    Remote host said: 550 #5.1.0 Address rejected [RCPT_TO]

    Any and all help is appreciated
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  3. cbj4074

    cbj4074 Member HowtoForge Supporter

    Also, please examine your mail log in ISPConfig (Monitor -> Show Mail Log [under Logfiles]). If you find it simpler, you may access the same information by entering the following in a terminal:

    tail -f -n 50 /var/log/mail.log
    (press Ctrl+C to stop monitoring the log)

    Do repeated errors that seem relevant to your problem appear in the log? You should see errors appended to the log in real-time, provided that you use tail's -f switch, as in the example above.

    I've followed those "Perfect Server" tutorials, too, and one issue I've encountered is that there's no mention of the mydestination directive within /etc/postfix/ and the trouble that arises if its misconfigured.

    Edit /etc/postfix/ and modify the line that contains the mydestination directive such that the machine's hostname is not included, leaving only mydestination = localhost, localhost.localdomain. Restart Postfix with:

    service postfix restart
    In my own experience, if this is not done, virtual mailboxes will have trouble receiving mail.
    Last edited: Aug 29, 2011

Share This Page