virtual users and domains with postfix courier mysql and squirrelmail ubuntu10.10

Discussion in 'HOWTO-Related Questions' started by kaar, Apr 8, 2011.

  1. kaar

    kaar New Member

  2. nano91

    nano91 New Member

  3. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log (in the /var/log/ directory)?
     
  4. nano91

    nano91 New Member

    I get a lot of these errors:

    Apr 9 13:32:25 srv1 postfix/qmgr[14343]: 07DFF201217: from=<[email protected]>, size=435, nrcpt=1 (queue active)
    Apr 9 13:32:25 srv1 postfix/qmgr[14343]: warning: connect to transport private/amavis: No such file or directory
    Apr 9 13:32:25 srv1 postfix/error[31074]: 07DFF201217: to=<[email protected]>, relay=none, delay=75776, delays=75776/0.02/0/0.04, dsn=4.3.0, status=deferred (mail transport unavailable)

    The problem might be, that the mail dir has not been created yet, because the fist message could not be send.

    EDIT:
    I managed to fix it. There was a configuration error with amavis... Now the log says that the message was send.
    But when I try to login I get Error 500. There seems to be something wrong with squirrelmail...
     
    Last edited: Apr 9, 2011
  5. falko

    falko Super Moderator ISPConfig Developer

    Are there any new errors in your mail log?
     
  6. nano91

    nano91 New Member

    This is what I found in mail.log after trying to login:

    Apr 11 08:33:06 srv1 imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 11 08:33:07 srv1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[37607], protocol=IMAP
    Apr 11 08:33:07 srv1 imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=30, sent=392, time=0
     
  7. kaar

    kaar New Member

    mail log

    this is my mail log.. i already install virtualbox4.0 and create [email protected]
    already forward first email to that account but still have error.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    I guess that mail didn't arrive. Can you send another email to that account and check if there are any errors in your mail log when you send that mail?
     
  9. kaar

    kaar New Member

    already send another email to [email protected][/email] but still have the same problem... Im not sure what are the problems..

    here is mail log after send welcome mail

     
    Last edited: Apr 13, 2011
  10. falko

    falko Super Moderator ISPConfig Developer

    Does mail.example.com exist in DNS (or is it listed in /etc/hosts)?
     
  11. kaar

    kaar New Member

  12. falko

    falko Super Moderator ISPConfig Developer

    Does
    Code:
    dig mail.example.com
    return anything in the Answer section?
     
  13. kaar

    kaar New Member

    ; <<>> DiG 9.7.0-P1 <<>> mail.example.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55622
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.example.com. IN A

    ;; AUTHORITY SECTION:
    example.com. 1800 IN SOA dns1.icann.org. hostmaster.icann.org. 2010074451 7200 3600 1209600 3600

    ;; Query time: 40 msec
    ;; SERVER: 10.224.210.10#53(10.224.210.10)
    ;; WHEN: Mon Apr 18 13:25:56 2011
    ;; MSG SIZE rcvd: 95

    this is what i get when type dig mail.example.com
     
  14. falko

    falko Super Moderator ISPConfig Developer

    There's no A record for mail.example.com, so you must create one.
     
  15. kaar

    kaar New Member

    how to make A record for mail.example.com?
     
  16. falko

    falko Super Moderator ISPConfig Developer

    You must do this on the nameservers that are authoritative for example.com. You can find out these nameservers by running
    Code:
    dig ns example.com
    If these nameservers belong to your domain registrar or ISP, chances are that they provide a web interface where you can create the A record.
     
  17. kaar

    kaar New Member

    ; <<>> DiG 9.7.0-P1 <<>> ns example.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42946
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;example.com. IN NS

    ;; ANSWER SECTION:
    example.com. 165973 IN NS b.iana-servers.net.
    example.com. 165973 IN NS a.iana-servers.net.

    ;; ADDITIONAL SECTION:
    a.iana-servers.net. 9850 IN AAAA 2001:500:8c::53

    ;; Query time: 859 msec
    ;; SERVER: 10.224.210.10#53(10.224.210.10)
    ;; WHEN: Mon Apr 25 12:09:17 2011
    ;; MSG SIZE rcvd: 105


    this is output after type dig ns example.com.. im not sure this nameserver belong to my domain registrar or not.
     
  18. falko

    falko Super Moderator ISPConfig Developer

    Did you replace example.com with your own domain?
     
  19. kaar

    kaar New Member

    no.. example.com is was my domain
     
  20. falko

    falko Super Moderator ISPConfig Developer

    That's not possible. example.com is a registered and existing domain. You must use your own domain.
     

Share This Page