View Full Version : Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota...

25th October 2005, 03:04
Finally, after a few hours of carefully going step by step acording to the HOWTO: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV), I reached page 5, where it suggests you to test the settings as follows:

10 Test Postfix

To see if Postfix is ready for SMTP-AUTH and TLS, run

telnet localhost 25

After you have established the connection to your postfix mail server type

ehlo localhost

If you see the lines




everything is fine.

What if I don't get shit???
This is what I get when I do it on my server:
/usr/local/sbin# telnet localhost 25
Connected to localhost.localdomain.
Escape character is '^]'.
ehlo localhost
(here's the blinking cursor and that's it)

What the heck did I miss!?!?!? Where did I go wrong???

I'd be glad to get some help here!

25th October 2005, 04:16
I hate when it happens!
I've found the problem and fixed it.
I "travelled" around in the logs and found this error:
Oct 24 03:02:18 zehu postfix/proxymap[2725]: fatal: /etc/postfix/mysql-virtual_forwardings.cf: bad string length 0 < 1: select_field
There was a blank space somewhere in the file, aparently came from the copy/paste, I did from the HOWTO...
hmmm, now it seems to be working, anyway, the problem is fixed, talk to you in the next problem, I hope not...

25th September 2009, 20:34
I'm stuck at the same critical moment-of-truth place. Killfrog: what log files did you find useful in tracking down your particular error? Perhaps I can find errors there that point to whatever my particular problem is .... thanks.

25th September 2009, 22:45
Well, that was so long time ago!!!
I no longer own a mail server, and the last time I did I didn't use the virtual domains stuff, but to answer your question, I went through all the mail related logs on /var/log (mail.log, mail.err, mail.warn)