From: Taher S. <ta...@sh...> - 2003-12-03 16:34:23
|
Udo Mueller wrote: >>However, after following the installation intructions I'm unable to >>access the smtp service. Emails are sent OK from the localhost, but don't >>work from other computers. SASL doesn't seem to work. > >Does postfix get connection to mysql-server? Remember, postfix runs in >chrooted environment. I'm confused about that. I suppose it doesn't. The host is set as localhost at the .cf files, and the socket /var/spool/postfix/var/run/mysqld/mysqld.sock is in it's jail. Postfix doesn't present any error messages/logs when it's initiated, however the mysql log doesn't show any accesses. If I try configuring things to access MySQL through an IP host instead of 'localhost' (and enable the UDP listener), I continuously get an error as "Host 'borg.tajel.com' is not allowed to connect to this MySQL". Which is a completely different problem (I dunno how to grant access to other hosts editing the mysql.users table .... yet :) Nevertheless, in doing so produces many other error messages to apear in Postfix's logs. Here, I know, I'm being an optimist assuming that the abscence of such errors in my previous logs indicates I was closer to making it work in the other fashion O:) X-) >> mydestination = $myhostname, localhost.$mydomain, $mydomain, > ^^^^ >Where did you set this? >> smtpd_sasl_local_domain = $myhostname > ^^^^^^^^^^^ I don't know if this is a polite manner of telling me to RTFM (grinn) and I'm going to make a fool of myself by asking or if it was to make me think, or if it's a normal question.... ;-) However, I'm never going to learn if I don't make questions just for fear of looking stupid. And since I'm a complete newbie...O:) That's set in /etc/postfix/main.cf, and I thought the value was automatically taken from the machine's hostname. (I also treid setting the variable manually to see if it changed anything just in case. It didn't). Any way... I'll go on reading more documents. If I don't get it to work at least I'll learn something. Any clues/magical-solutions will be apreciated. Regards, Taher |