Squirrelmail sends but does not receive.

Discussion in 'Installation/Configuration' started by scottrill2, May 13, 2010.

  1. scottrill2

    scottrill2 Member

    Hello folks,

    I am a server newbie so please type slowly so that I'll understand lol


    I followed the excellent perfect server debian lenny + Ispconfig 2 tutorial. Put up a test site, set up SSL and what not.

    I wanted to install Squirrelmail but alot of the posts I read on the forums were from quite some time ago, I figured for security a newer version of squirrelmail would be easiest.

    I followed instruction on squirrelmail site, I created a folder in /var/www/web1/web named "webmail". Created an attachment folder, then changed permission on both data and attachment folder to writeable etc. Ran the configure prompt and installed it.

    I would then log onto https://www.mydomain/webmail. I believe it was working both out and in in the beginning, but that was also before I installed SSL. Now it will send out emails without a hitch, but I can not get it to receive.

    Is it possible something I did setting up the SSL screwed the proverbial pooch?

    What steps would you recommend I take to troubleshoot/narrow down the culprit?


    Thanks in advance for your time,

    Scott
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your mail log?
    Does your MX record point to the correct server? You can check that by running
    Code:
    dig mx yourdomain.com
    Also make sure that your server isn't blacklisted: http://mxtoolbox.com/blacklists.aspx
     
  3. scottrill2

    scottrill2 Member

    By Server you mean website?

    Hey Falko,

    Thanks for the reply, sry to ask such novice questions.

    Where would I find the email error log?

    In the folder "/var/www/web1/" I do see this error:

    [warn] RSA server certificate CommonName (CN) `www.mydomain.com' does NOT match server name!?


    And like I said above, Im pretty sure it was working before I redid the SSL, which Godaddy had me redo it with 2048 rsa vs the default or something like that.


    As far as DNS goes,

    The server is like your perfect server setup so server is "server1.example.com."


    However I installed Squirrelmail directly into my first website which is "mydomain.com/webmail".

    The mx record points to "mydomain.com" that is correct right?




    There are 4 domain records:

    A Record
    Host=@ ---> points to IP adress (Ip adress is dedicated in ISPConfig cpanel)

    Cname Records
    FTP ---> Points to @
    WWW ---> Points to @

    MX record
    Priority=0 ---> Host = @ ---> Points to "mydomain.com"

    Then two NS servers.


    Again thanks in advance for the help,

    Scott
     
  4. falko

    falko Super Moderator Howtoforge Staff

    The mail log is /var/log/mail.log.
    Can you post the output of
    Code:
    dig mx yourdomain.com
    ?
     
  5. scottrill2

    scottrill2 Member

    Thanks Falko!

    Well it turns my provider reset my gateway on the 12th, and that apparently also reset the firewall. Only things getting through were ports 80-85? and https though I dont remember the port numbers. Thankfully they had a copy of the configuration and loaded it back up for me, now everything is right as rain.

    Being a novice I think I will poke around through some of those in that folder you posted see if it helps me learn a lil bit better all the little things going on.


    Thanks again Falko,


    Scott
     

Share This Page