Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need Help about my ERROR .. Urgently !!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
note
n00b
n00b


Joined: 30 Jul 2005
Posts: 2

PostPosted: Sat Jul 30, 2005 3:38 pm    Post subject: Need Help about my ERROR .. Urgently !! Reply with quote

Anyone can help me sir ?

1. ERROR = "" A NO ""
and

2. ERROR = "" -ERR No INBOX for user. "


I run Dovecot + Postfix + Postfixadmin + MySQL

When i work with command line
..

i have problem
like this
( When i 'm in command line )
##############################­######
[root@server etc]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK dovecot ready.
A LOGIN test...@pepocono.com 123456
A OK Logged in.
A SELECT inbox
A NO
A LOGOUT
* BYE Logging out
A OK Logout completed.
Connection closed by foreign host
##############################­######
[root@server etc]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK dovecot ready.
USER test...@pepocono.com
+OK
PASS 123456
+OK Logged in.
-ERR No INBOX for user.
Connection closed by foreign host.
[root@jenus etc]#
##############################­#######


My Config
==============================­========
dvecot.conf
==============================­========
default_mail_env = maildir:/var/mail/virtual/%1u/­%u/Maildir
auth = plain
auth_mechanisms = plain digest-md5
auth_userdb = mysql /usr/local/etc/dovecot-mysql.c­onf
auth_passdb = mysql /usr/local/etc/dovecot-mysql.c­onf
auth_user = mailusers
==============================­========
dvecot-mysql.conf
==============================­========
db_host = localhost
db_unix_socket = /var/lib/mysql/mysql.sock
db = postfix
db_user = postfix
db_passwd = postfix
db_client_flags = 0
password_query = SELECT password FROM mailbox WHERE username = '%u'
#user_query = SELECT concat('/var/mail/virtual/', maildir) as home,
10000 as uid, 10000 as gid FROM mailbox WHERE username = '%u'
#user_query = SELECT '10000' AS uid, '10000' AS gid FROM mailbox WHERE
username = '%u' AND active = '1'
#user_query = SELECT home, uid, gid FROM users WHERE user = '%u'
user_query = SELECT home, uid, gid FROM users WHERE user = '%u' AND
active = '1'


( i use all case #comment but it'doesn't work )


==============================­========
main.cf
==============================­========
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains =
mysql:/etc/postfix/postfixmysq­l/mysql_virtual_domains_maps.c­f
virtual_mailbox_limit = 51200000
virtual_mailbox_maps =
mysql:/etc/postfix/postfixmysq­l/mysql_virtual_mailbox_maps.c­f
virtual_alias_domains = $virtual_alias_maps
virtual_minimum_uid = 10000
virtual_uid_maps = static:10000
virtual_gid_maps = static:10000
# Additional for quota support
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps =
mysql:/etc/postfix/postfixmysq­l/mysql_virtual_mailbox_limit_­maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn
his diskspace quota, please try again later.
virtual_overquota_bounce = yes

=========================
Note ::
=========================
mailusers uid=10000 gid = 10000 home = /var/mail/virtual
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2526
Location: Denmark

PostPosted: Sat Jul 30, 2005 4:37 pm    Post subject: Reply with quote

please dont post the same topic on several forums !
:evil:
_________________
linux: #232767
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Jul 30, 2005 4:39 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads, please don't cross-post.

Follow ups to this topic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum