add_email.sh not work

ekaja

Verified User
Joined
Dec 9, 2007
Messages
43
Hi All,

from http://help.directadmin.com/item.php?id=386

my system use dovecot + exim

I can try add email via command line
Code:
/usr/local/directadmin/scripts/add_email.sh newacc directadmin.com 123456789 1 20

after run command, This text below show
Added newacc to /etc/virtual/directadmin.com/passwd

I check

Directadmin control panel > E-Mail Accounts = have account show
webmail = can login
folder = folder create same permission,owner like other account (/home/dir/imap/directadmin.com)
config = have config same other account (/etc/virtual/directadmin.com/passwd)
sent email = can sent from webmail to outside
receive email from outside = can not receive
receive email from inside = can not receive


I test sent email from ([email protected]) to oldacc(create from Directadmin control panel) and newacc (create from add_email.sh)


oldacc can receive email
but newacc not receive email

restart exim,dovecot not change result

Thank you
 
You pointed to an older helpfile, the new one is this:
It's here: http://www.directadmin.com/features.php?id=1242

Seems the commandline you used is not correct. You used:
Code:
/usr/local/directadmin/scripts/add_email.sh newacc directadmin.com 123456789 1 20

Script usage:
Code:
/usr/local/directadmin/scripts/add_email.sh <user> <domain> '<cryptedpass>' <plaintext> <quota>
I'm missing the ' sign's in your example or are they not needed? Like:
Code:
/usr/local/directadmin/scripts/add_email.sh newacc directadmin.com '123456789' 1 20
 
receive email from outside = can not receive
receive email from inside = can not receive

In this the case, you need to check exim logs either in directadmin log viewer or in shell. And eigrep/grep the log file against your newly created email accounts.
 
Back
Top