Just not getting it...

Discussion in 'HOWTO-Related Questions' started by Bob Krispen, Nov 20, 2005.

  1. Bob Krispen

    Bob Krispen New Member

    For some reason, I just must be missing something.

    I start with pages one and two of the Debian Sarge how-to, THEN I skip into the Virtual users and domains with postfix.... (etc) http://www.howtoforge.com/virtual_postfix_mysql_quota_courier

    I get the database infor setup in MySQL.
    I get quota set up (I even hit page 3 of the Debian Sarge how-to to work that)
    Get DNS set up (hit page 3 of Debian Sarge how-to to work that)

    and I get to the point of getting users in the database and postfix logs saying mail is queued and delivered, but the mail bounces back.

    I get:
    <[email protected]>: [mail.example.com]: Name or service not known

    I've confirmed that 'mail.example.com' resolves on the server and it correctly identifies the external IP address of this server as that mail server.

    Perhaps I should have delved deeper into the Sarge How-to first? But if I did that, doesn't the Virtual Users and Domains how-to duplicate a large amount of that effort?

    I'm just not seeing it somehow.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    This means that your DNS records aren't set up correctly, or that they need some more time to propagate (if you've changed the DNS records recently, it might take up to 3 days to propagate).
    Can you tell me your real domain and IP address so that I can check?
     
  3. Bob Krispen

    Bob Krispen New Member

    DNS woes gone, but now amavis..

    Ah, the overnight waiting seems to have cleared some DNS troubles leading to other problems with Amavis and MySQL.

    Now I'm getting things like:

    Code:
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) lookup_sql: 2006, MySQL server has gone away
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) NOTICE: Disconnected from SQL server
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) TROUBLE in check_mail: creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79.
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20051119T205058-26431
    Nov 20 11:40:07 trogdor postfix/smtp[32048]: 85EE714083: to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=26431-02, creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79. (in reply to end of DATA command))
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) lookup_sql: 2006, MySQL server has gone away
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) NOTICE: Disconnected from SQL server
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) TROUBLE in check_mail: creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79.
    Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20051119T205058-26431
    Nov 20 11:40:07 trogdor postfix/smtp[32048]: 85EE714083: to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=26431-02, creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79. (in reply to end of DATA command))
    
    I will abuse amavis and it's related config files, re-reading the How-to where appropriate (and this forum) for a bit....

    Thanks for your reply though, I hope you don't have to hear from me again for help. ;)
     
  4. falko

    falko Super Moderator ISPConfig Developer

    It seems as if MyQL is not running. Try
    Code:
    /etc/init.d/mysql restart
     

Share This Page