Virtual domains, postfix etc Error

Discussion in 'HOWTO-Related Questions' started by laser144, May 8, 2006.

  1. laser144

    laser144 New Member

    Hi,

    Can't seem to log in via telnet localhost pop3 or squirrelmail. Keep getting

    ERROR: Connection dropped by IMAP server.

    Followed the tutoiral to the letter and did everthing suggested in the relevant posts on the forum Had things working 2 weeks ago but have botched things after a fresh install.

    Can you piont me in the right direction for a solution?

    Thx,

    Andy

    BTW: is there an easy way to change the login form enail address to username (tried changing email to id after MYSQL_LOGIN_FIELD in /etc/courier/authmysqlrc, but that didn't do the trick)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in your mail log?
    The email address is the username - you have virtual users, not system users in this setup.

    Does your /etc/courier/authmysqlrc look like the one from the tutorial?
     
  3. laser144

    laser144 New Member

    Hi Falko, My mail.log reads:

    May 10 14:01:58 nubicula authdaemond.mysql: modules="authmysql", daemons=5
    May 10 14:02:00 nubicula dccifd[1067]: 1.2.74 listening to /var/lib/dcc/dccifd
    May 10 14:02:07 nubicula postfix/postfix-script: starting the Postfix mail system
    May 10 14:02:08 nubicula postfix/master[1266]: daemon started -- version 2.1.5
    May 10 14:02:21 nubicula dccproc[1325]: socket(UDP): Address family not supported by protocol
    May 10 14:05:53 nubicula imaplogin: Connection, ip=[::ffff:127.0.0.1]
    May 10 14:05:54 nubicula imaplogin: chdir sailmaster.nl/schipper/: No such file or directory

    (I skipped the amavis parts...)

    Grt,

    Andy
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Looks like a permissions problem to me. Does the sailmaster.nl directory have the correct permissions and owners (as outlined in the tutorial)?
     
  5. laser144

    laser144 New Member

    Could you please give me a hint where in the tutorial they are set. I just re-read it and don't quite understand to which part you are referring.

    Thx,

    Andy
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Can you post the output of
    Code:
    ls -la /home/vmail
    ?
     
  7. laser144

    laser144 New Member

    Hi Falko,


    drwxr-xr-x 2 vmail vmail 4096 2006-05-05 20:05 .
    drwxrwsr-x 7 root staff 4096 2006-05-08 11:42 ..
    -rw-r--r-- 1 vmail vmail 567 2006-05-05 20:05 .bash_profile
    -rw-r--r-- 1 vmail vmail 1834 2006-05-05 20:05 .bashrc

    Grt,

    Andy
     
    Last edited: May 10, 2006
  8. falko

    falko Super Moderator ISPConfig Developer

    Please run
    Code:
    chmod 775 /home
    and try again.
     
  9. laser144

    laser144 New Member

    Did that, rebooted and tried to log in got:
    ERROR: Connection dropped by IMAP server

    Tried to sendmail, but it bounced...

    Grt,

    Andy
     
    Last edited: May 12, 2006
  10. falko

    falko Super Moderator ISPConfig Developer

    What's in the mail log when this happens?
     
  11. laser144

    laser144 New Member

    This:

    May 12 11:24:08 nubicula amavis[956]: No $unfreeze, not using it
    May 12 11:24:08 nubicula amavis[956]: No $unrar, not using it
    May 12 11:24:08 nubicula amavis[956]: Found $zoo at /usr/bin/zoo
    May 12 11:24:08 nubicula amavis[956]: Found $cpio at /bin/cpio
    May 12 11:24:08 nubicula amavis[956]: Using internal av scanner code for (primary) Clam Antivirus-clamd
    May 12 11:24:08 nubicula amavis[956]: Found secondary av scanner Clam Antivirus - clamscan at /usr/bin/clamscan
    May 12 11:24:18 nubicula authdaemond.mysql: modules="authmysql", daemons=5
    May 12 11:24:20 nubicula dccifd[1066]: 1.2.74 listening to /var/lib/dcc/dccifd
    May 12 11:24:27 nubicula postfix/postfix-script: starting the Postfix mail system
    May 12 11:24:27 nubicula postfix/master[1265]: daemon started -- version 2.1.5
    May 12 11:24:37 nubicula dccproc[1325]: socket(UDP): Address family not supported by protocol
    May 12 11:25:05 nubicula imaplogin: Connection, ip=[::ffff:127.0.0.1]
    May 12 11:25:05 nubicula imaplogin: chdir sailmaster.nl/schipper/: No such file or directory
    May 12 11:25:39 nubicula postfix/smtpd[1338]: connect from mail.rotonet.rsdb.nl[62.58.39.150]
    May 12 11:25:39 nubicula postfix/smtpd[1338]: NOQUEUE: reject: RCPT from mail.rotonet.rsdb.nl[62.58.39.150]: 554 <schipper@sailmaster.nl>: Relay access deni$
    May 12 11:25:39 nubicula postfix/smtpd[1338]: disconnect from mail.rotonet.rsdb.nl[62.58.39.150]
    May 12 13:24:31 nubicula postfix/pickup[2577]: CEE142790F: uid=33 from=<www-data>
    May 12 13:24:32 nubicula postfix/cleanup[2829]: CEE142790F: message-id=<20060512112431.CEE142790F@nubicula.sailmaster.nl>
    May 12 13:24:32 nubicula postfix/qmgr[1271]: CEE142790F: from=<www-data@nubicula.sailmaster.nl>, size=944, nrcpt=1 (queue active)
    May 12 13:25:20 nubicula dccproc[2844]: socket(UDP): Address family not supported by protocol
    May 12 13:25:24 nubicula postfix/smtpd[2846]: connect from localhost.localdomain[127.0.0.1]
    May 12 13:25:25 nubicula postfix/smtpd[2846]: 700E427916: client=localhost.localdomain[127.0.0.1]
    May 12 13:25:25 nubicula postfix/cleanup[2829]: 700E427916: message-id=<20060512112431.CEE142790F@nubicula.sailmaster.nl>
    May 12 13:25:25 nubicula postfix/smtpd[2846]: disconnect from localhost.localdomain[127.0.0.1]
    May 12 13:25:26 nubicula postfix/qmgr[1271]: 700E427916: from=<www-data@nubicula.sailmaster.nl>, size=1421, nrcpt=1 (queue active)
    May 12 13:25:26 nubicula postfix/smtp[2851]: 700E427916: to=<schipper@sailmaster.nl>, relay=none, delay=1, status=deferred (Host or domain name not found. N$
    May 12 13:25:27 nubicula amavis[1330]: (01330-01) Passed, <www-data@nubicula.sailmaster.nl> -> <schipper@sailmaster.nl>, Message-ID: <20060512112431.CEE1427$
    May 12 13:25:27 nubicula postfix/smtp[2833]: CEE142790F: to=<schipper@sailmaster.nl>, relay=127.0.0.1[127.0.0.1], delay=56, status=sent (250 2.6.0 Ok, id=01$
    May 12 13:25:27 nubicula postfix/qmgr[1271]: CEE142790F: removed
    May 12 13:25:32 nubicula postfix/pickup[2577]: 5C89727913: uid=33 from=<www-data>
    May 12 13:25:32 nubicula postfix/cleanup[2829]: 5C89727913: message-id=<20060512112532.5C89727913@nubicula.sailmaster.nl>
    May 12 13:25:32 nubicula postfix/qmgr[1271]: 5C89727913: from=<www-data@nubicula.sailmaster.nl>, size=945, nrcpt=1 (queue active)
    May 12 13:25:48 nubicula postfix/pickup[2577]: 9E02D27925: uid=33 from=<www-data>
    May 12 13:25:48 nubicula postfix/cleanup[2829]: 9E02D27925: message-id=<20060512112548.9E02D27925@nubicula.sailmaster.nl>
    May 12 13:25:48 nubicula postfix/qmgr[1271]: 9E02D27925: from=<www-data@nubicula.sailmaster.nl>, size=936, nrcpt=1 (queue active)
    May 12 13:26:28 nubicula dccproc[2874]: socket(UDP): Address family not supported by protocol
    May 12 13:26:30 nubicula postfix/smtpd[2846]: connect from localhost.localdomain[127.0.0.1]
    May 12 13:26:31 nubicula postfix/smtpd[2846]: 0ED2F27928: client=localhost.localdomain[127.0.0.1]
    May 12 13:26:31 nubicula postfix/cleanup[2829]: 0ED2F27928: message-id=<20060512112532.5C89727913@nubicula.sailmaster.nl>
    May 12 13:26:31 nubicula postfix/qmgr[1271]: 0ED2F27928: from=<www-data@nubicula.sailmaster.nl>, size=1420, nrcpt=1 (queue active)
    May 12 13:26:31 nubicula postfix/smtpd[2846]: disconnect from localhost.localdomain[127.0.0.1]


    Grt,

    Andy
     
  12. falko

    falko Super Moderator ISPConfig Developer

    I guess this is some kind of permissions problem...


    Make sure that sailmaster.nl exists in DNS and that your system can resolve it.
     
  13. Quinton

    Quinton New Member

    hi

    I am also getting these error...

    'No such file or directory'

    Should the domain/user directories be created under /home/vmail beforehand?

    I have read and tried everything you've mentioned in this post.

    Please help
    Quinton
     
  14. falko

    falko Super Moderator ISPConfig Developer

Share This Page