virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu9.04

Discussion in 'HOWTO-Related Questions' started by herbie, Aug 29, 2009.

  1. herbie

    herbie New Member

    3rd attempt at setting this up.

    I enter a domain and user in phpmyadmin, then send an email to that user from another system.
    There is no domain directory or user set up in /home/vmail/

    There are NO domains in /home/vmail should 'example.com' and user 'sales' not have been setup during the setup?

    Where do I start looking?
    Code:
    bender postfix/smtpd[3968]: NOQUEUE: reject: RCPT from unknown[xxx.xxx.xxx.61]: 451 4.3.0 <[email protected]>: Temporary lookup failure; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<q.maxit.net>
    
     
  2. herbie

    herbie New Member

    If I create the domain & user with maildirmake, I can log in with Squirelmail.
    However mail is not delivered - from mailq
    Code:
    Error: queue file write error (in reply to end of DATA command))
    
    It looks like 2 errors, one on the sql autocreate domain/mailbox
    one on mailbox permission (set to vmail:vmail 700)
     
  3. falko

    falko Super Moderator Howtoforge Staff

    They should be created automatically when the first email arrives.
    Are there any other errors in your mail log? Can you post an excerpt?

    What's in your /etc/resolv.conf?
     
  4. herbie

    herbie New Member

    tail mail.log
    Code:
    Aug 31 10:35:55 bender postfix/smtpd[25994]: connect from localhost[127.0.0.1]
    Aug 31 10:35:55 bender postfix/smtpd[25994]: 8EAF9AC424B: client=localhost[127.0.0.1]
    Aug 31 10:35:55 bender postfix/proxymap[25995]: warning: connect to mysql server 127.0.0.: Unknown MySQL server host '127.0.0.' (1)
    Aug 31 10:35:55 bender postfix/cleanup[25997]: warning: 8EAF9AC424B: virtual_alias_maps map lookup problem for [email protected]
    Aug 31 10:35:55 bender amavis[23382]: (23382-10) Negative SMTP response to data-dot (<[email protected]>): 451 4.3.0 Error: queue file write error
    Aug 31 10:35:55 bender amavis[23382]: (23382-10) (!)FWD via SMTP: <[email protected]> -> <[email protected]>,BODY=7BIT 451 4.3.0 TempFailed, id=23382-10, from MTA([127.0.0.1]:10025): 451 4.3.0 Error: queue file write error
    Aug 31 10:35:55 bender amavis[23382]: (23382-10) Blocked MTA-BLOCKED, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: aZ2zhYqHil60, Hits: -, size: 489, 146 ms
    Aug 31 10:35:55 bender postfix/cleanup[25998]: warning: 95098AC424B: virtual_alias_maps map lookup problem for [email protected]
    Aug 31 10:35:55 bender postfix/smtpd[25994]: disconnect from localhost[127.0.0.1]
    Aug 31 10:35:55 bender postfix/smtp[25991]: D1933AC4257: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=38154, delays=38154/0.01/0/0.15, dsn=4.3.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.3.0 TempFailed, id=23382-10, from MTA([127.0.0.1]:10025): 451 4.3.0 Error: queue file write error (in reply to end of DATA command))
    
    several errors

    resov.conf
    Code:
    search maxit.net
    nameserver 204.174.64.1
    
     
    Last edited: Aug 31, 2009
  5. falko

    falko Super Moderator Howtoforge Staff

    I guess you have an error in at least one of your configuration files. The correct IP is 127.0.0.1, not 127.0.0.
     
  6. matey

    matey New Member

    Thanks Falko

    Also there should never be a dot . after the last number!
    like 192.168.1.1. will generate errors.
    hard to see , easy to miss sometimes
     
  7. herbie

    herbie New Member

    Yep that was it, left the "1" off in /etc/postfix/mysql-virtual_forwardings.
    Dohh!

    But: In the Squirrelmail - Change Password, is this supposed to show up? I hope not!
     

    Attached Files:

    • wtf.jpg
      wtf.jpg
      File size:
      15.8 KB
      Views:
      314

Share This Page