아래 로그를 보면 디비에 접속할 수 없다는 뜻입니다.
Wed Mar 15 16:35:31 KST 2006: Can't create a new connection for jdbc:mysql://dirac2.knu.ac.kr:3306/namil
java.sql.SQLException: General error: Access denied for user 'nmail'@'dirac2.knu.ac.kr' to database 'namil'
메일엔진 설정파일을 다음처럼 수정후 재시작해보시기 바랍니다.
/dbURL=jdbc:mysql://dirac2.knu.ac.kr:3306/namil
=>
dbURL=jdbc:mysql://dirac2.knu.ac.kr:3306/nmail
신병욱 님이 쓴 글입니다.
--------------------------------------------------------------------
:[dirac2 nmail]# more NConfig.conf
:/----------Mail Server Address Setting
:Server=dirac2.knu.ac.kr
:
:/----------DNS Server Address Setting
:DNSServer=155.230.10.2
:DNSServer=211.229.63.1
:
:/----------Mail Server Run Mode Setting
:DebugMode=false
:
:/----------Halt File Name Setting
:HaltFileName=/usr/local/nmail/Halt
:
:/----------Max Shutdown Delay Time
:ShutdownDelay=1000
:
:/----------Server Port Setting
:SmtpPort=25
:Pop3Port=110
:
:/---------Log File Path Setting
:LogFilePath=/usr/local/nmail/log
:
:/----------NmailLog Path Setting
:NmailLogFilePath=NmailLog
:
:/----------SmtpLog File Name Setting
:SmtpLogFileName=Smtp.log
:
:/----------Pop3Log File Name Setting
:Pop3LogFileName=pop3.log
:
:/----------DBLog File Name Setting
:dbLogFileName=pool.log
:
:/----------RetryFolder Path Setting
:RetryFolderPath=/mail/nmail/queue/RetryQueue
:RetryQueueFileName=RetryFolder
:RetryInfoQueueFileName=InfoRetryFolder
:
:/----------NonLocalFolder Path Setting
:NonLocalFolderPath=/mail/nmail/queue/NonLocalQueue
:NonLocalQueueFileName=NonLocalFolder
:NonLocalInfoQueueFileName=InfoNonLocalFolder
:
:/----------Socket Timeout Setting(smtp, sender, pop3)
:SocketTimeout=60000
:
:/----------Sender Idle Time Setting
:SenderSleep=1000
:
:/----------Command Observer Idle Time Setting
:CommandSleep=1000
:
:/----------Max Threads Count Setting
:SmtpMaxThreads=128
:SenderMaxThreads=50
:Pop3MaxThreads=128
:
:/----------Max Mails Count In A Queue
:MaxFileCount=2000
:
:/----------Max MX Records Count In A Cache
:MxSaveCount=3
:
:/----------DB Driver Setting
:/dbDriver=sun.jdbc.odbc.JdbcOdbcDriver
:/dbURL=jdbc:odbc:nmail
:/dbUserid=
:/dbPassword=
:/dbMaxConnection=0
:
:dbDriver=org.gjt.mm.mysql.Driver
:dbURL=namil
:/dbURL=jdbc:mysql://dirac2.knu.ac.kr:3306/namil
:dbUserid=nmail
:dbPassword=nmail
:dbMaxConnection=0
:
:/----------Spammer Check
:/spammerarea=211.170.106.120|255.255.255.255
:
:/----------Proof Setting
:Proof=relayallow
:relayallow=127.0.0.1|255.255.255.255
:relayallow=155.230.152.60|255.255.255.255
:/relayallow=211.170.106.0|255.255.255.0
:
:
:/----------DB Field Setting
:Table=mail_user
:Username=mu_id
:Domain=mu_domain
:Password=mu_pwd
:Autoforward=mu_isUse_forwarding
:Autoemail=mu_forwarding_addr
:Maxsize=mu_use_mega
:Name=mu_name
:Mailingusercheck=mailinglist
:Path=mu_path_mail
:
:SpammerTable=spam
:SpammerUsername=spm_id
:SpammerDomain=spm_domain
:SpammerAddress=spm_address
: