Page 1 of 1

New email to create - problem after update

Posted: Sun Mar 29, 2015 9:56 am
by magos
it is creating an new user and adding to the file /home/xxx/conf/mail/domain.com/aliases, but without @domain.com, any ideas, thanks a lot.

Re: New email to create - problem after update

Posted: Sun Mar 29, 2015 2:37 pm
by skurudo
Can you explain a bit?

/home/domain/conf/mail/domain.ru/aliases Don't see the problem here.

Re: New email to create - problem after update

Posted: Sun Mar 29, 2015 6:11 pm
by magos
skurudo wrote:Can you explain a bit?

/home/domain/conf/mail/domain.ru/aliases Don't see the problem here.
it will add here," /home/domain/conf/mail/domain.ru/passwd" not in the aliases; in aliases if you want to update an account

passwd

Code: Select all

 testaccount:{MD5}$1$TRUF8Egc$M1aJLpdyFEfy7kD/x3cFI1:admin:mail::/home/admin:


aliases

Code: Select all

test2:test
without @domain.ru

Thanks a lot for your answer.

Re: New email to create - problem after update

Posted: Sun Mar 29, 2015 7:01 pm
by skurudo
Sorry, don't understand problem here and don't see final goal.
Can you explain?

Re: New email to create - problem after update

Posted: Sun Mar 29, 2015 7:35 pm
by magos
skurudo wrote:Sorry, don't understand problem here and don't see final goal.
Can you explain?
Final goal is to create an email address with the needed domain name example domain.ru, but it is creating only the half part of the username test and not full username address as it should be [email protected].

so when I am trying to login it says there is no such email address [email protected], but when I check /home/admin/conf/mail/domain.ru/passwd there is only user with test account, hope this was clear, thanks in advance.

Re: New email to create - problem after update

Posted: Sun Mar 29, 2015 8:31 pm
by skurudo
And why do you think, in passwd must be full email address and not username?
I start to think, you make your own bike, no? )

Re: New email to create - problem after update

Posted: Mon Mar 30, 2015 6:23 am
by magos
skurudo wrote:And why do you think, in passwd must be full email address and not username?
I start to think, you make your own bike, no? )
no :) I am not making my own bike, try to create mail users and check out the passwd file :), but my bigest problem is that i can create mail users, but i can not login with that accounts.

Re: New email to create - problem after update

Posted: Mon Mar 30, 2015 6:15 pm
by skurudo
magos wrote:no :) I am not making my own bike, try to create mail users and check out the passwd file :), but my bigest problem is that i can create mail users, but i can not login with that accounts.
Okey, sorry, many differents request, not always it's about problem, about "bikes" ofter. )
Did you check logs - /var/log/dovecot.log? What about wrong login or something like that?

Re: New email to create - problem after update

Posted: Wed Apr 01, 2015 1:33 pm
by magos
skurudo wrote:
magos wrote:no :) I am not making my own bike, try to create mail users and check out the passwd file :), but my bigest problem is that i can create mail users, but i can not login with that accounts.
Okey, sorry, many differents request, not always it's about problem, about "bikes" ofter. )
Did you check logs - /var/log/dovecot.log? What about wrong login or something like that?

Vot chto vidaet ..

Apr 01 16:30:22 auth: Info: passwd-file([email protected],::1,<q7aXt6kS5gAAAAAAAAAAAAAAAAAAAAAB>): unknown user
Apr 01 16:30:22 auth: Info: passwd-file([email protected],::1,<q7aXt6kS5gAAAAAAAAAAAAAAAAAAAAAB>): unknown user
Apr 01 16:30:23 imap-login: Info: Disconnected (auth failed, 1 attempts in 2 secs): user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, secured, session=<q7aXt6kS5gAAAAAAAAAAAAAAAAAAAAAB>


ne mogy poniat gde problema, vrode account sozdaet, a vot zaiti nika ne mozet .. nyzno rykami iusparavliat fili chtobi vse rabotalo, passwd file v papke /etc/exim4/domain/domain.ru/passwd