email problems

Discussion in 'Installation/Configuration' started by bjarne-j, Apr 6, 2008.

  1. bjarne-j

    bjarne-j New Member

    hello

    I have just installed ISPConfig and everything works except email. I'm able to create an email account from the control panel, but I can't login at mailuser or roundcube.

    Mailuser says: Error: Could not get login password entry response

    Hope someone are able to help me solving this problem.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your mail log?
     
  3. bjarne-j

    bjarne-j New Member

    Sorry.. In guess your talking about /var/log/mail.log?

    Yes. I tried to logon at mailuser and roundcube a couple of times. Following is represented in /var/log/mail.log:

    Code:
    Apr  7 17:08:59 vps courierpop3login: Connection, ip=[::ffff:127.0.0.1]
    Apr  7 17:08:59 vps courierpop3login: chdir Maildir: No such file or directory
    Apr  7 17:12:28 vps courierpop3login: Connection, ip=[::ffff:127.0.0.1]
    Apr  7 17:12:28 vps courierpop3login: chdir Maildir: No such file or directory
    Apr  7 17:13:32 vps imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr  7 17:13:32 vps imapd: chdir Maildir: No such file or directory
    Apr  7 17:16:16 vps imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr  7 17:16:16 vps imapd: chdir Maildir: No such file or directory
    
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You must send an email first to new email accounts before you can fetch mails from them. The Maildir is created automatically when the first email arrives.
     
  5. bjarne-j

    bjarne-j New Member

    Still doesn't work. I tried to send a mail from my yahoo mail account.

    Code:
    Apr  8 11:57:03 vps postfix/smtpd[1659]: connect from web54012.mail.re2.yahoo.com[206.190.36.244]
    Apr  8 11:57:03 vps postfix/smtpd[1659]: D27C254D245: client=web54012.mail.re2.yahoo.com[206.190.36.244]
    Apr  8 11:57:04 vps postfix/cleanup[1663]: D27C254D245: message-id=<[email protected]>
    Apr  8 11:57:04 vps postfix/qmgr[12022]: D27C254D245: from=<[COLOR="Red"]my yahoo-mail[/COLOR]>, size=1838, nrcpt=1 (queue active)
    Apr  8 11:57:04 vps postfix/pickup[7581]: 39D7354D24A: uid=10001 from=<web1_test>
    Apr  8 11:57:04 vps postfix/cleanup[1663]: 39D7354D24A: message-id=<[email protected]>
    Apr  8 11:57:04 vps postfix/local[1664]: D27C254D245: to=<[email protected][COLOR="Red"]domain.com[/COLOR]>, orig_to=<mail@[COLOR="Red"]domain2.com[/COLOR]>, relay=local, delay=0.48, delays=0.45/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  8 11:57:04 vps postfix/qmgr[12022]: D27C254D245: removed
    Apr  8 11:57:04 vps postfix/qmgr[12022]: 39D7354D24A: from=<[email protected][COLOR="Red"]domain.com[/COLOR]>, size=396, nrcpt=1 (queue active)
    Apr  8 11:57:04 vps postfix/local[1664]: 39D7354D24A: to=<[email protected]>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Apr  8 11:57:04 vps postfix/qmgr[12022]: 39D7354D24A: removed
    Apr  8 11:57:04 vps postfix/smtpd[1659]: disconnect from web54012.mail.re2.yahoo.com[206.190.36.244]
    
    I replaced my two domains with "domain.com" and "domain2.com". When I installed ISPConfig I entered "domain2.com" as my domain.
    "vps.domain.com" is the domain used by my VPS provider.

    The log shows the mail from my yahoo-mail to [email protected]
     
  6. falko

    falko Super Moderator ISPConfig Developer

  7. bjarne-j

    bjarne-j New Member

    O.K.. I need a domain used for ISPConfig only?

    Can't find mydomain in /etc/postfix/main.cf btw.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Mushostname causes the same problem then mydomain. A subdomain is fine as well, it does not have to be a dedicated toplevel domain.
     
  9. bjarne-j

    bjarne-j New Member

    I've changed myhostname to "vps.domain.com" and reloaded postfix(postfix reload).

    The email address is at "domain2.com". Still doesn't work.
     
  10. falko

    falko Super Moderator ISPConfig Developer

    What's the value of myorigin?
    What's the output of
    Code:
    postconf -d | grep mydomain
    ?
     
  11. bjarne-j

    bjarne-j New Member

    myorgin = /etc/mailname

    cat /etc/mailname:
    Code:
    vps.[COLOR="Red"]domain.com[/COLOR]
    
    postconf -d | grep mydomain:
    Code:
    append_dot_mydomain = yes
    mydestination = $myhostname, localhost.$mydomain, localhost
    mydomain = [COLOR="Red"]domain.com[/COLOR]
    
     
    Last edited: Apr 10, 2008
  12. falko

    falko Super Moderator ISPConfig Developer

    I suggest that you get a "technical" domain, i.e., a domain that you use only for naming your servers and not for email, web sites, etc. You can then use that domain in myorigin, myhostname, and mydomain.
     
  13. bjarne-j

    bjarne-j New Member

    Okay.. I'll do so. Thank you very much for helping.
     

Share This Page