LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   plain email encoding (https://www.linuxquestions.org/questions/linux-server-73/plain-email-encoding-829534/)

trscookie 08-31-2010 10:00 AM

plain email encoding
 
Hello all,

I have followed the guide: http://wiki.mediatemple.net/w/Settin...rver_in_CentOS to set up virtual domains on my CentOS server, however I am getting the following errors when I try to login via IMAP:

Code:

      1 Aug 31 16:34:29 stock dovecot: Dovecot v1.0.7 starting up
      2 Aug 31 16:34:29 stock dovecot: auth-worker(default): mysql: Connected to localhost (mail)
      3 Aug 31 16:34:29 stock sendmail[22377]: alias database /etc/aliases rebuilt by trscookie
      4 Aug 31 16:34:29 stock sendmail[22377]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
      5 Aug 31 16:34:30 stock postfix/postfix-script: starting the Postfix mail system
      6 Aug 31 16:34:30 stock postfix/master[22427]: daemon started -- version 2.3.3, configuration /etc/postfix
      7 Aug 31 16:39:41 stock postfix/smtpd[22733]: connect from localhost.localdomain[127.0.0.1]
      8 Aug 31 16:39:41 stock postfix/smtpd[22733]: 3A2AF54056: client=localhost.localdomain[127.0.0.1]
      9 Aug 31 16:39:41 stock postfix/cleanup[22739]: 3A2AF54056: message-id=<20100831143941.3A2AF54056@server.com>
    10 Aug 31 16:39:41 stock postfix/qmgr[22435]: 3A2AF54056: from=<trscookie@server.com>, size=503, nrcpt=1 (queue active)
    11 Aug 31 16:39:41 stock postfix/smtpd[22733]: disconnect from localhost.localdomain[127.0.0.1]
    12 Aug 31 16:39:41 stock deliver(trscookie@server.com): dict quota: URI missing from parameters: dict:user::proxy::quotadict
    13 Aug 31 16:39:41 stock postfix/pipe[22740]: 3A2AF54056: to=<trscookie@server.com>, relay=dovecot, delay=0.05, delays=0.02/0.02/0/0.02, dsn=4.3.0,        status=deferred (temporary failure)
    14 Aug 31 16:39:48 stock dovecot: auth-worker(default): plain_md5_verify(trscookie@server.com): Invalid password encoding

When I try:

Code:

[root@server adrian]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot ready.
1 login trscookie@server.com password
1 NO Authentication failed.

Does anybody have any ideas how to remedy this?

Cheers,
trscookie.

trscookie 08-31-2010 11:18 AM

ah, just discovered that the issue was I needed to set "default_pass_scheme = CRAM-MD5" in /etc/dovecot-sql.conf

however i am now getting the following error in maillog:
Code:

dict quota: URI missing from parameters: dict:user::proxy::quotadict
has anyone seen this before, i cant seem to find it on google.

jamrock 09-01-2010 08:07 PM

Have you been able to get Postfix to work with regular Linux user accounts?

Can you send email and see the messages in the users' mailboxes?

These basics need to be in place before you set up virtual domains and virtual users.

trscookie 09-02-2010 05:09 AM

Ive hashed out:

Code:

dict {
  # quotadict = mysql:/etc/dovecot-dict-quota.conf
  # quota = mysql:/etc/dovecot-dict-quota.conf
}

And
Code:

# quota = dict:user::proxy::quotadict
Doing this has now got my vitual emails working for all of my domains however I believe this is going to stop quotas from working. :S


All times are GMT -5. The time now is 10:11 AM.