Jump to content
Froxlor Forum
  • 0
leizahj

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

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

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

This mostly happens when the mailserver is not configured correctly, check the logfiles of it

Share this post


Link to post
Share on other sites
  • 0

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!!  :)

Share this post


Link to post
Share on other sites
  • 0

The logs are not very helpful. Does the base-maildir /var/customers/mail/ exist? If not, you need to follow the configuration steps more carefully

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...