freebsd 4.9 stable and qmailadmin-devel (1.2.1)
Dott. Andrea Riela
andrea.riela at poste.it
Sun Mar 7 16:59:08 PST 2004
HI folks,
I need your support about qmailadmin and freebsd 4.9.
I've installed qmailadmin-devel from ports (with some differences, like
--enable-spam-command, but I've tried with the original port, the same
problem), and when I try to connect with web interface, I can login, but
when I try to use a link (for "new account", or whatever), I logout
automatically.
this is my make conf:
make CGIBINDIR=www/data/sites/nesys.it/cgi-bin WEBDATADIR=www/data
WITH_MODIFY_QUOTA=yes WITH_DOMAIN_AUTOFILL=yes WITH_HELP=yes
WITHOUT_IPAUTH=yes
(WITH_ANTISPAM=yes ANTISPAM_COMMAND="| maildrop /etc/mailfilter"
WITH_USERPERPAGE=yes USERPERPAGE=50)
that is:
./configure --enable-htmldir=/usr/local/www/data
--enable-htmllibdir=/usr/local/share/qmailadmin
--enable-cgibindir=/usr/local/www/data/sites/nesys.it/cgi-bin
--enable-cgipath=/cgi-bin/qmailadmin --enable-imageurl=/qmailadmin/images
--enable-imagedir=/usr/local/www/data/images/qmailadmin
--enable-modify-quota=Y --enable-domain-autofill=Y --enable-help
--disable-ipauth
(--enable-maxusersperpage=50 --enable-modify-spam=Y --enable-spam-command="|
maildrop /etc/mailfilter")
I've seen my fstab (because qmailadmin needs "nosuid"):
/dev/ad0s1g /usr ufs rw 2 2
I've tried with source, but same problem (that is: isn't a qmailadmin
problem).
I've checked my apache conf (default ServerRoot "/usr/local" + virtual
hosts). An example of vh:
[...]
Alias /qmailadmin/images/ "/usr/local/www/data/images/qmailadmin/"
<Directory "/usr/local/www/data/images/qmailadmin">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
[...]
<VirtualHost 192.168.1.11:80>
ServerName www.nesys.it
ServerAdmin webmaster at nesys.it
SSLDisable
Port 80
DocumentRoot /usr/local/www/data/sites/nesys.it
ErrorLog /var/log/apache/nesys.it-error_log
CustomLog /var/log/apache/nesys.it-access_log combined RewriteEngine on
RewriteRule ^/cgi-bin/qmailadmin https://www.nesys.it/cgi-bin/qmailadmin
[R=permanent]
ScriptAlias /cgi-bin/ "/usr/local/www/data/sites/nesys.it/cgi-bin/"
<Directory "/usr/local/www/data/sites/nesys.it">
Options -Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/local/www/data/sites/nesys.it/cgi-bin">
Options ExecCGI -Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 192.168.1.11:443>
ServerName www.nesys.it
ServerAdmin webmaster at nesys.it
Port 443
DocumentRoot /usr/local/www/data/sites/nesys.it
RewriteEngine on
RewriteRule ^/cgi-bin/qmailadmin - [S=1]
RewriteRule ^(.*) http://www.nesys.it/$1 [R=permanent] ScriptAlias /cgi-bin/
"/usr/local/www/data/sites/nesys.it/cgi-bin/"
SSLEngine on
SSLCertificateFile /usr/local/www/certs/nesys.crt SSLCertificateKeyFile
/usr/local/www/certs/nesys.key ErrorLog /var/log/apache/nesys.it-error_log
CustomLog /var/log/apache/nesys.it-access_log combined
<Directory "/usr/local/www/data/sites/nesys.it/cgi-bin">
Options ExecCGI -Indexes +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
vpopmail and qmail are ok, I've used vqadmin to add domains, withou
problems.
I've tried to install qmailadmin with --disable-ipauth too, but nothing.
What could I do? Have you got any advice for me?
I hope you could help me.
thanks for your support
Regards
Andrea
More information about the freebsd-questions
mailing list