postfix, squirrel and Connection dropped by IMAP server.

Discussion in 'HOWTO-Related Questions' started by amazilia, Jan 5, 2010.

  1. amazilia

    amazilia New Member

    hi,

    I installed on a Lenny a mail server according to http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-debian-lenny

    it is a dedicated server hosted by OVH accessible via ssh on a static address (plus a fail over) and a domain name.

    lenny has been updated before installing postfix

    I also installed webmin

    once everything done I get an error message connecting to squirrel mail saying ERROR: Connection dropped by IMAP server.

    telnet on pop and imap are OK

    I can send a mail to an outside account but the account created in the database does not exist and therefore I do not receive any mail.

    mail.warn and mail.err are empty
    mail.log and mail.info give

    Jan 5 08:04:39 r31465 imapd: Connection, ip=[::ffff:127.0.0.1]
    Jan 5 08:04:40 r31465 imapd: chdir r31465.ovh.net/philippe/: No such file or directory
    Jan 5 08:09:41 r31465 postfix/pickup[30455]: 6FD1117EE0: uid=0 from=<root>
    Jan 5 08:09:42 r31465 postfix/cleanup[705]: 6FD1117EE0: message-id=<[email protected]>
    Jan 5 08:09:42 r31465 postfix/qmgr[10832]: 6FD1117EE0: from=<[email protected]>, size=315, nrcpt=1 (queue active)
    Jan 5 08:09:59 r31465 postfix/smtpd[713]: connect from localhost.localdomain[127.0.0.1]
    Jan 5 08:09:59 r31465 postfix/smtpd[713]: 9CB5417EDF: client=localhost.localdomain[127.0.0.1]
    Jan 5 08:09:59 r31465 postfix/cleanup[705]: 9CB5417EDF: message-id=<[email protected]>
    Jan 5 08:09:59 r31465 postfix/qmgr[10832]: 9CB5417EDF: from=<[email protected]>, size=773, nrcpt=1 (queue active)
    Jan 5 08:09:59 r31465 postfix/smtpd[713]: disconnect from localhost.localdomain[127.0.0.1]
    Jan 5 08:10:00 r31465 amavis[8766]: (08766-05) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: 4A-WgxwiHqfF, Hits: 1.932, size: 315, queued_as: 9CB5417EDF, 16704 ms
    Jan 5 08:10:00 r31465 postfix/smtp[708]: 6FD1117EE0: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=20, delays=2.1/0.64/0.79/16, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=08766-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9CB5417EDF)
    Jan 5 08:10:00 r31465 postfix/qmgr[10832]: 6FD1117EE0: removed
    Jan 5 08:10:00 r31465 postfix/smtp[716]: 9CB5417EDF: to=<[email protected]>, relay=none, delay=0.36, delays=0.32/0.04/0/0, dsn=5.4.6, status=bounced (mail for 188.165.33.158 loops back to myself)
    Jan 5 08:10:00 r31465 postfix/cleanup[705]: 330B117EE2: message-id=<[email protected]>
    Jan 5 08:10:00 r31465 postfix/bounce[717]: 9CB5417EDF: sender non-delivery notification: 330B117EE2
    Jan 5 08:10:00 r31465 postfix/qmgr[10832]: 330B117EE2: from=<>, size=2611, nrcpt=1 (queue active)
    Jan 5 08:10:00 r31465 postfix/qmgr[10832]: 9CB5417EDF: removed
    Jan 5 08:10:00 r31465 postfix/smtp[716]: 330B117EE2: to=<[email protected]>, relay=none, delay=0.09, delays=0.09/0/0/0, dsn=5.4.6, status=bounced (mail for 188.165.33.158 loops back to myself)
    Jan 5 08:10:00 r31465 postfix/qmgr[10832]: 330B117EE2: removed


    the DB contains
    Table domains in database mail
    domain r31465.ovh.net

    Table forwardings in database mail
    source [email protected]
    destination [email protected]

    Table transport in database mail
    domain r31465.ovh.net
    transport smtp:[188.165.33.158]

    Table users in database mail
    email [email protected]
    password xxxxxxxxxx
    quota 10485760

    DB user
    mail_admin localhost
    mail_admin localhost.localdomain
    mail_admin r31465.ovh.net



    the problem seems to be mail for 188.165.33.158 loops back to myself


    I could not yet find any pertinent information going throught howto forum


    thanks very much for any help.

    Philippe
     
  2. topdog

    topdog Active Member

    Thats your first problem your imap daemon cannot access your mailstores.

    The second issue with the loops back to me is because you have configured the mx to point to the machine and yet you have not configured postfix to accept mail for that domain.
     

Share This Page