Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10)

Discussion in 'HOWTO-Related Questions' started by maykel535, May 28, 2009.

  1. maykel535

    maykel535 New Member

    Hi! Before ask my problem I wanted to congratulated for this forum and this page how to, its incredible and fantastic...
    I fighted 1 week with Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10) because I run http://localhost/squirrelmail:

    ERROR: Connection dropped by IMAP server.

    My /var/log/mail.log containing in the finish file...:

    May 28 13:02:22 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 28 13:19:40 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 28 13:19:40 server1 imapd: chdir example.com/maykel/: No such file or directory

    I creating manually the mailbox with commands:

    maildirmake maildir

    But I logged the results are bad because the page is blank...

    I saw the file for this /etc/postfix, /etc/courier...

    I don't know...I'm desperate

    I did the manually perfectly but my results are bad...

    Sorry for my english...

    Anywhere can help me please? Thanks in advance. Keep well
     
  2. maykel535

    maykel535 New Member

    Anywhere can I help me please?

    Anywhere can I help me please?

    I create the domains manually diferent of example.com

    example2.com

    And the postfix created maildir in /home/vmail...very good but /var/log/mail.log tell follow:

    May 28 22:15:29 server1 imapd: LOGIN FAILED, user=ismael@example2.com, ip=[::ffff:127.0.0.1]
    May 28 22:15:29 server1 imapd: authentication error: Input/output error


    I need help...
     
  3. maykel535

    maykel535 New Member

    I resolved

    I resolved alone. Nobody help me...Thanks. Have a nice day.
     
  4. Merioz

    Merioz New Member

    Help me!!

    How did you resolve your problem? I have the same problem ... I created three e-mail accounts in my internal domain, but i can only connect with the first..

    Please, you could help me?

    Thanks!!
     
  5. maykel535

    maykel535 New Member

    I resolved

    In the tables mysql, you don`t write anything into the forwarding and transport, you had empty and connect try again.
    The plugin of change mysql pass not installed...recommended...
    Bye.
     
  6. Merioz

    Merioz New Member

    Problem not solved

    Hi,
    I followed your advice, but I have not solved my problem...
    "ERROR: Connection dropped by IMAP server."

    I used the HowtoForge guide step by step without errors and I created a fake domain ( dominio.it) with three accounts: info@dominio.it; pippo@dominio.it; bug@dominio.it.

    I cannot understand why only one account works:info@dominio.it its ok, but the others riport the same message: "ERROR: Connection dropped by IMAP server."..
    Why?
    Sorry, but if I remove the setting in the section "transport" and "forwarding" i cannot send message outside my internal mailserver, for example gmail...and the message error is this:
    "A message from <info@dominio.it> to:
    -> xxxxxx@gmail.com

    was considered unsolicited bulk e-mail (UBE).

    Our internal reference code for your message is 06852-02/27YU+Pocap5V

    The message carried your return address, so it was either a genuine mail
    from you, or a sender address was faked and your e-mail address abused
    by third party, in which case we apologize for undesired notification.

    We do try to minimize backscatter for more prominent cases of UBE and
    for infected mail, but for less obvious cases of UBE some balance
    between losing genuine mail and sending undesired backscatter is sought,
    and there can be some collateral damage on both sides.

    First upstream SMTP client IP address: [127.0.0.1] localhost
    According to a 'Received:' trace, the message originated at: [127.0.0.1],
    192.168.0.111 SquirrelMail authenticated user info@dominio.it

    Return-Path: <info@dominio.it>
    Message-ID: <51610.192.168.0.111.1245962370.squirrel@192.168.0.100>
    Subject: test 1

    Delivery of the email was stopped! "
    If I put the smtp server in transport section everything is ok and a mail from my "info" account arrive in gmail....
    Can I help me, please?

    Thank you very much!!!
     
  7. maykel535

    maykel535 New Member

  8. Merioz

    Merioz New Member

    Change the permissions?

    Hi,
    Perhaps I have found the cause of my problem, but now I have a new problem....
    In /var/log/mail.log I have this....

    Jul 1 22:53:18 fwmcme01 imapd: LOGIN, user=info@dominio.it,
    ip=[::ffff:127.0.0.1], port=[49582], protocol=IMAP
    Jul 1 22:53:18 fwmcme01 imapd: LOGOUT, user=info@dominio.it,
    ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=30, $
    Jul 1 22:53:19 fwmcme01 imapd: Connection, ip=[::ffff:127.0.0.1]
    Jul 1 22:53:19 fwmcme01 imapd: LOGIN, user=info@dominio.it,
    ip=[::ffff:127.0.0.1], port=[49583], protocol=IMAP
    Jul 1 22:53:19 fwmcme01 imapd: LOGOUT, user=info@dominio.it,
    ip=[::ffff:127.0.0.1], headers=955, body=0, rcvd=42$
    Jul 1 22:53:19 fwmcme01 imapd: Connection, ip=[::ffff:127.0.0.1]
    Jul 1 22:53:19 fwmcme01 imapd: LOGIN, user=info@dominio.it,
    ip=[::ffff:127.0.0.1], port=[49584], protocol=IMAP
    Jul 1 22:53:19 fwmcme01 imapd: LOGOUT, user=info@dominio.it,
    ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=301,$
    Jul 1 22:57:52 fwmcme01 postfix/qmgr[4626]: 776BB781EE: from=<root@fwmcme01.m-group>, size=843, nrcpt=1 (queue active)
    Jul 1 22:57:52 fwmcme01 postfix/virtual[5180]: warning: maildir access problem for UID/GID=5000/5000: create maildir file /$
    Jul 1 22:57:52 fwmcme01 postfix/virtual[5180]: warning: perhaps you need to create the maildirs in advance
    Jul 1 22:57:52 fwmcme01 postfix/virtual[5180]: 776BB781EE: to=<pippo@dominio.it>, relay=virtual, delay=2339, dela$
    Jul 1 23:00:14 fwmcme01 imapd: Connection, ip=[::ffff:127.0.0.1]

    I set the permissions (write and read) for the user pippo with the command "chmod 775" into the home " /home/vmail/dominio.it/pippo.... but nothing has changed....
    What's wrong?
    Thanks much for your support!!!
     
  9. falko

    falko Super Moderator

    The directories must be owned by the user vmail.
     

Share This Page