Jump to content
Froxlor Forum
  • 0

Create email-address - Error sending mail: Could not instantiate mail function.


leizahj

Question

Dear All,
I have a question regarding mail configuration.

 

I have a mail server configured via courier on debian.

When I try to create an email account in the Froxlor panel

the page goes blank

 

I look in the System-logging of  the Froxlor panel

and shows me this error

Error sending mail: <strong>Could not instantiate mail function.</strong><br />

 

The account is created

but the Maildir folder is not created
so the mail does not work
 
Please help me!!
Regards
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

thanks for answering!!

 

when I create a mail froxlor
makes this
 
 
Error
The message to "hola@domain.com" failed
Back
 

 

 

 

in the log file
/var/log/user.log
 
He tells me this
Aug 20 16:18:40 Froxlor: [Customer Action user] added email address 'hola@domain.com'
Aug 20 16:19:10 Froxlor: [Customer Action user] added email account for 'hola@domain.com'
Aug 20 16:19:10 Froxlor: [Customer Action user] Error sending mail: <strong> Could not instantiate mail function </ strong> <br />.

 

 

 

 

in the log file
/var/log/mail.log

 

 

Aug 20 16:20:33 vps1892 imapd: chdir user/domain.com/hola/Maildir/: No such file or directory
Aug 20 16:20:33 vps1892 imapd: hola@domain.com: No such file or directory

 

 

 

 

and my configuration is:

Debian 7.0 (Wheezy)

Mailserver (IMAP/POP3) Courier

Mailserver (SMTP) Postfix/Courier

 

 

 

/etc/courier/authmysqlrc

MYSQL_SERVER 127.0.0.1
MYSQL_USERNAME USER
MYSQL_PASSWORD PASS
MYSQL_PORT 0
MYSQL_OPT 0
MYSQL_DATABASE DATABASE
MYSQL_USER_TABLE mail_users
MYSQL_CRYPT_PWFIELD	password_enc
MYSQL_UID_FIELD uid
MYSQL_GID_FIELD gid
MYSQL_LOGIN_FIELD username
MYSQL_HOME_FIELD homedir
MYSQL_MAILDIR_FIELD	maildir
MYSQL_QUOTA_FIELD (quota*1024*1024)
MYSQL_AUXOPTIONS_FIELD	CONCAT("allowimap=",imap,",allowpop3=",pop3)

/etc/courier/authdaemonrc

authmodulelist="authmysql"
authmodulelistorig="authuserdb authpam authpgsql authldap authmysql authcustom authpipe"
daemons=5
authdaemonvar=/var/run/courier/authdaemon
DEBUG_LOGIN=0
DEFAULTOPTIONS=""
LOGGEROPTS=""

Settings   [Compact-overview]

 

Mails-UID: 2000

Mails-GID:2000

Mails-homedir: /var/www/mail/

Maildir name: Maildir

Use alternative email-address: NO CHECK

Use mailbox-quota for customers: CHECK

Mailbox-quota: 0

Use Catchall: CHECK

Analyse mail trafficCHECK

MDA type: Courier

MDA log: /var/log/mail.log

MTA type: Postfix

MTA log: /var/log/mail.log

 

 

 

 

 

 

 

I hope you can help me!!  :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...