Having trouble with Email

  • Hello


    I have got i-mscp working but for some reason the email is not working. I canot send or recieve email. I dont know if I am doing something wrong when I am installing the control panel for the email not to work but everything else is working as it should be apart from the mail.


    Any advice would be most greatful.


    Thank you in advance.

  • Thank you for your reply.


    Could you please tell me the location of mail.err


    Also is the mail.log located in var/logs


    Please accept my appologies as I am just learning how to use i-mscp.


    A bit more info in my setup:


    I am using the Stable version 1.0.3.0
    Debian 6 32bit


    I did try the latest RC build from github as you did advise me to do that as I wanted to configure gmail with my email but until I can get mail setup correctly I have reverted back to the stable build 1.0.3.0

    Edited once, last by veg-grower ().


  • Hello ;


    Yes, when we are talking about mail logs, we are talking about these files:


    Code
    1. root@imscp:/usr/local/src/imscp# ls /var/log/mail.* -la
    2. -rw-r----- 1 root adm 0 24 oct. 09:51 /var/log/mail.err
    3. -rw-r----- 1 root adm 222173 21 janv. 04:04 /var/log/mail.info
    4. -rw-r----- 1 root adm 304845 21 janv. 04:04 /var/log/mail.log
    5. -rw-r----- 1 root adm 28406 21 janv. 04:03 /var/log/mail.warn


    They are not specific to i-MSCP ;)


    Thanks you for using i-MSCP

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    Edited once, last by Nuxwin ().

  • Thanks Nuxwin


    My mail.err file:-


    Code
    1. Jan 21 07:16:16 server1 postfix/master[6938]: fatal: bind 0.0.0.0 port 25: Address already in useJan 21 07:23:13 server1 postfix/master[27446]: fatal: bind 0.0.0.0 port 25: Address already in use


    and my mail.log :-



    I have changed a few details like my domain and my email address for security reasons ;)


  • Hello :


    Seems that another MTA instance is already running on your server. Can you please provide us the result of the following command:


    Code
    1. # netstat -plunt


    Thanks.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • The results as requested for netstat -plunt :-



    Again I have changed my server ip for security reasons.

    Edited once, last by veg-grower ().

  • Hello :)


    Do you have any further information please on how I can get the smtp/email working on Debian 6 32bit whilst using i-mscp stable v1.0.3.0


    Thanks :)


  • Hello :)


    Do you have any further information please on how I can get the smtp/email working on Debian 6 32bit whilst using i-mscp stable v1.0.3.0


    Thanks :)


    The stable is really buggy for mail. I would recommend to stay with 1.1.0-rc1.4.
    If you get some error with it, you can PM me to schedule a support session via teamviewer.


    Thanks you for using i-MSCP.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Thanks Nuxwin most appreciated.


    Sometime soon I am going to get a new vps which has 256mb of ram to play with so it should be ideal to use with i-mscp. It is for a new project I am planning and it will require a working email.


    I have tried the latest version of the i-mscp github on my current vps and the email does not work at all for me for some reason. The webmail (roundcube) I can login (if I created the folders on install) but for some reason I cannot send any mail as it gives me this error:-


    SMTP Error (-1): Connection to server failed.


    Also I cannot send any mail to my email either.


    With the stable version of i-mscp 1.0.3.0 I can recieve email via squirrelmail so what I am doing now is to add gmail and use the gmail smtp servers with the i-mscp stable version 1.0.3.0 as email is not really important for the vps account I have at the moment but I will be needing email for my other vps account that I will be purchasing soon.


    Would there be a possibility of squirrelmail being included in the latest development version (rc) of i-mscp?


    Thanks for your offer of teamview also like I said I may need to take you up on your offer when I get my other VPS account later on.


    Thanks for your help :shy:
    Veg-grower

    Edited once, last by veg-grower ().