Posts by dzchimp

    Last time I posted here, I had an issue where I couldnt get mail to be sent or received. At the time I was working on a fresh Debian Squeeze install on a VPS, and i-mscp was the only thing on it. The issue was that sendmail was using port 25, and it couldnt be used for postfix. Hence roundcube have an error :


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


    At that time it was fixed by nuxwin who helpfully remote logged into my session, and removed sendmail, fixed my hostname, and it was all good.


    Currently I am in the exact same situation. netstat shows that sendmail is hogging port 25, however I'm quite unable to completely remove it. I did an apt-cache search for anything beginning with sendmail, and accordingly purged these packages: sendmail-base, sendmail-bin, sendmail-cf and sendmail-doc. apt reports that the package sendmail isnt installed either. However even after everything, an apache restart and a cold reboot later, sendmail still occupies port 25, and I have no clue how to go about removing it.

    I have a number of Wordpress sites on my server. It seems that I am unable to see images hosted on one of them-droidzone.in. In fact I cant even display any .png or .jpg file that's in htdocs, on droidzone.in. However I can display images on drjoel.in which is another domain alias of the same user.


    Initially I thought it was a .htaccess issue, and tried deleting the .htaccess files I found. However that didnt seem to resolve the issue on the site.


    Apparently there's a 403 issue whenever I view images from the site droidzone.in. I'm quite unfamiliar with the innards of apache, and am not sure which files to look at. I'd appreciate a little guidance in finding the issue.
    [hr]
    Never mind I solved it.


    It seems that images were displaying with full path. However, they were not showing the full path to the browser. So it meant that all files in the subdomains on multisite were not receiving the full path. After a lot of nerve racking, I traced the issue to wp-includes on wordpress which is responsible for creating full path to images on subdomains.


    It was still due to a .htaccess issue. I just wasnt looking at the right place. I expected .htaccess issues at a level of wp-content or higher. It was actually a .htaccess in wp-includes that had the following directive:


    Code
    1. <Files *.php>
    2. deny from all
    3. </Files>


    So it would never have worked. :)


    Thread marked as solved.


    What is disabled in GUI. These instrctions are only valid, when you host your Domain *NOT* extern


    Well, there seems to be a condition in the dns manager that actively rejects * or @ in the value field.


    Plus, I noticed c0urier's issue/request in the git repo.


    - Swyped from my Galaxy Note 2

    Which is the main php.ini that decides whether phpinfo is enabled?


    While doing a grep on these files, I found a lot of them.


    Nuxwin solved it!!


    There was primarily an issue with the hostname. I had misconfigured it.


    Other changes that Nuxwin did:


    - Switched to last git master
    - Disabled saslauth since it's not needed with i-MSCP


    Code
    1. root@r2d2:~# grep 'START' /etc/default/saslauthd START=no


    Then:

    Code
    1. /etc/init.d/saslauthd stop


    And rebooted the server.


    I cant stop thanking him. For something that's free as in beer, you guys are awesome, and so is i-mscp.


    Marking as Solved.


    Are you sure that the sendmail MTA process is not there ? Sometime, only a purge don't really stop it... Stange but true...


    I'm almost sure.


    Here's the latest:


    Code
    1. root@r2d2:/etc/postfix# netstat -lpn | grep 25tcp 0 0 127.0.0.1:12525 0.0.0.0:* LISTEN 658/policyd-weight tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 9037/master tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 9037/master tcp6 0 0 :::25 :::* LISTEN 9037/master unix 2 [ ACC ] STREAM LISTENING 59342254 632/saslauthd /var/run/saslauthd/muxunix 2 [ ACC ] STREAM LISTENING 59364250 9037/master private/traceunix 2 [ ACC ] STREAM LISTENING 59364254 9037/master private/verifyunix 2 [ ACC ] STREAM LISTENING 59364258 9037/master public/flushroot@r2d2:/etc/postfix#


    And:

    Code
    1. root@r2d2:/etc/postfix# netstat -lpn | grep 'sendmail'


    Yes, Nuxwin, my VPS control panel is Solusvm. However I have removed sendmail:


    Code
    1. sudo apt-get purge postfix exim4 sendmail sendmail-bin


    And reinstalled i-mscp. Now, sending email works and smtp is shown as active. Once again, I cant receive email.