|
From: Taher S. <ta...@sh...> - 2003-12-03 00:53:52
|
Hi there :)
I've been surfing the web for the last couple of days looking for=20
information about setting up linux box with virtual domain hosting. Easy=20
going with apache, apache-tls and proftpd for the moment (I've gotta try=20
TLS Ftp though...just didn't have the time yet). It was a nice surprise=20
finding Christoph Haas' workaround and this project. AUTH smpt+TLS+MySql=20
was just what I was looking for the email system.
However, after following the installation intructions I'm unable to access=
=20
the smtp service. Emails are sent OK from the localhost, but don't work=20
from other computers. SASL doesn't seem to work.
I run Debian testing, all the packages from the howto (excepting=20
amavis/squirrelmail related) are installed, and since libsasl-digestmd5=20
belongs to the unstable branch I've tried with that file (and=20
dependencies), and with libsasl-digestmd5-des (from stable) (and=20
dependencies) afterwards. In non of the situations did I succeed.
Database and user are correctly set, and the configuration files for=20
Postfix are set as in the howto (including=20
/var/spool/postfix/etc/pam.d/smtp and /etc/postfix/sasl/smtpd.conf). A=20
virtual domain and email account have been created, but MySQL's log file=20
shows the database is never accessed (I'm logging all the queries).
Any help would be greatly appreciated ;-)
I'm quite comfortable usign linux machines, but I'm afraid I'm just a so-so=
=20
sysadmin.
Regards,
Taher
These are some command outputs and the complete logs after rotating the=20
files and attempting an SMTP Auth access.
/var/log/mail.err
Dec 3 00:48:10 borg postfix/smtpd[12623]: fatal: no SASL authentication=20
mechanisms
/var/log/mail.log
Dec 3 00:48:10 borg postfix/smtpd[12623]: fatal: no SASL authentication=20
mechanisms
Dec 3 00:48:11 borg postfix/master[12426]: warning: process=20
/usr/lib/postfix/smtpd pid 12623 exit status 1
Dec 3 00:48:11 borg postfix/master[12426]: warning:=20
/usr/lib/postfix/smtpd: bad command startup -- throttling
----------------------------------------------------------------------------=
--------------------------
root@borg:~# postconf -n
alias_maps =3D mysql:/etc/postfix/mysql-aliases.cf
broken_sasl_auth_clients =3D yes
config_directory =3D /etc/postfix
local_recipient_maps =3D $alias_maps $virtual_mailbox_maps=
unix:passwd.byname
mydestination =3D $myhostname, localhost.$mydomain, $mydomain,=
$transport_maps
mydomain =3D tajel.com
mynetworks =3D 192.168.1.0/8
myorigin =3D tajel.com
relocated_maps =3D mysql:/etc/postfix/mysql-relocated.cf
smtpd_recipient_restrictions =3D permit_mynetworks,=20
permit_sasl_authenticated, check_relay_domains
smtpd_sasl_auth_enable =3D yes
smtpd_sasl_local_domain =3D $myhostname
smtpd_sasl_security_options =3D noanonymous
transport_maps =3D mysql:/etc/postfix/mysql-transport.cf
virtual_gid_maps =3D mysql:/etc/postfix/mysql-virtual-gid.cf
virtual_mailbox_base =3D /home/vmail
virtual_mailbox_limit =3D 50000000
virtual_mailbox_maps =3D mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_maps =3D mysql:/etc/postfix/mysql-virtual.cf
virtual_uid_maps =3D mysql:/etc/postfix/mysql-virtual-uid.cf
----------------------------------------------------------------------------=
--------------------------
root@borg:~# apt-cache policy libsasl-digestmd5-des libsasl-digestmd5=20
libsasl-gssapi-mit libsasl-modules-plain libpam-mysql
libsasl-digestmd5-des:
Instalados: 1.5.24-11
Candidato: 1.5.24-11
Tabla de versi=F3n:
*** 1.5.24-11 0
500 http://toxo.com.uvigo.es stable/non-US/main Packages
100 /var/lib/dpkg/status
libsasl-digestmd5:
Instalados: (ninguno)
Candidato: 1.5.28-6.1
Tabla de versi=F3n:
1.5.28-6.1 0
50 http://toxo.com.uvigo.es unstable/main Packages
libsasl-gssapi-mit:
Instalados: 1.5.27-3
Candidato: 1.5.27-3
Tabla de versi=F3n:
*** 1.5.27-3 0
990 http://toxo.com.uvigo.es testing/main Packages
50 http://toxo.com.uvigo.es unstable/main Packages
100 /var/lib/dpkg/status
1.5.24-15 0
500 http://toxo.com.uvigo.es stable/main Packages
libsasl-modules-plain:
Instalados: 1.5.27-3.5
Candidato: 1.5.27-3.5
Tabla de versi=F3n:
1.5.28-6.1 0
50 http://toxo.com.uvigo.es unstable/main Packages
*** 1.5.27-3.5 0
990 http://toxo.com.uvigo.es testing/main Packages
100 /var/lib/dpkg/status
1.5.27-3 0
500 http://toxo.com.uvigo.es stable/main Packages
sasl-bin:
Instalados: 1.5.27-3.5
Candidato: 1.5.27-3.5
Tabla de versi=F3n:
1.5.28-6.1 0
50 http://toxo.com.uvigo.es unstable/main Packages
*** 1.5.27-3.5 0
990 http://toxo.com.uvigo.es testing/main Packages
100 /var/lib/dpkg/status
1.5.27-3 0
500 http://toxo.com.uvigo.es stable/main Packages
|