admin writes:
David Brown writes:MX records have absolutely nothing to do with the fact that your sqwebmail installation cannot connect to a local socket. Ability to connect to a local socket does not depend on the presence or absence of any MX record.
admin writes:I do not have an MX record for webmail.speedband.com. The MX record is set to mail.speedband.com which is the same server as webmail.speedband.com.
I am trying to setup sqwebmail for our qmail mail server.
I have been successful at configuring sqwebmail and I am able to log in when the url for sqwebmail is http://www.speedband.com/cgi-bin/sqwebmail however I want sqwebmail to be located at http://webmail.speedband.com/cgi-bin/sqwebmail. This is where I get the s_Connect error.
www and webmail are on the same server and mail.speedband.com is also on the same server.
I created a virtual domain in apache for webmail.speedband.com
with the following cgi-bin parameters:
ScriptAlias /cgi-bin/ "/var/domains/speedband.com/webmail/cgi-bin/"
<Directory "/var/domains/speedband.com/webmail/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
I copied the sqwebmail binary to /var/domains/speedband.com/webmail/cgi-bin and I am able to get to the login page just fine however I cannot login, because of the below error. There must be some reason why I am able to login with www.speedband.com/cgi-bin/sqwebmail and not webmail.speedband.com/cgi-bin/sqwebmail
I am receiving a sqwebmail: authdaemon: s_connect() failed: Permission denied in the error logs
I checked the message archives and I saw a previous posting about this same error and Sam seemed to direct that user to take a look at /usr/local/sqwebmail/var/authdaemon so here is that directory:
-rw------- 1 root root 0 Feb 5 03:36 lock
-rw-r--r-- 1 root root 6 Feb 5 03:56 pid
srwxrwxrwx 1 root root 0 Feb 5 03:56 socket
Are there other possibilities that I have not exhausted as to why I cannot login?
Hello, do you have a mx record for webmail.speedbanc.com and a reverse zone file with a PTR recored for webmail.speedbanc.com? David, webitplanet.com .
There is a reverse zone file with a PTR record for the webmail.speedband.com.
Are you implying that I may need an MX record for webmail.speedband.com?
I wish people would actually understand what the problem is, before giving random advice.
Make sure that the permission/ownership of the sqwebmail binary is not broken. Additionally you neglected to show the actual ownership/permission on the directory itself.
The process that's used to determine whether a process can access a file is rather simple, and hasn't changed in several decades. It depends on the uid/gid of the running process, and the ownership and the permission of the file, and its parent directories. You need to simply determine these basic items of information, and figure out what's broken.
