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

Discussion in 'HOWTO-Related Questions' started by killfrog, Oct 25, 2005.

  1. killfrog

    killfrog New Member

    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

    250-STARTTLS

    and

    250-AUTH

    everything is fine.


    What if I don't get mess???
    This is what I get when I do it on my server:
    /usr/local/sbin# telnet localhost 25
    Trying 127.0.0.1...
    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!
    Thanks
    Ziv
     
  2. killfrog

    killfrog New Member

    Damn!

    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...
    Ziv
     
    Last edited: Oct 27, 2005
  3. leif@harmsen.net

    [email protected] New Member

    Stuck same place - what logs helped?

    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.
     
  4. killfrog

    killfrog New Member

    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)
    HTH
    Ziv
     

Share This Page