Manually create password for passwd file

royarisse

New member
Joined
Nov 10, 2010
Messages
5
I've recently manually created an e-mail account by modifying a passwd file.
So far, I'm able to create a plain text password or a SSHA-hashed password, but I can't figure out how the other passwords in the passwd files are created.

Does anyone know how to manually generate a password that'll go into the passwd file.

Since the password of my manually added account is in SSHA, I am able to log in normally to this account, but I can't send e-mails from this account (SMTP-error 353: Authentication Failed)

Any help or suggestions would be appreciated ^_^
 
I mean the passwd-files (in /etc/virtual/domain.tld/)

Contents of one of those is now:
mail:{SSHA}h0MBizoqytoOcVzY8U4ct2bg+8UwMjIyMjk0ZThk:521:12::/home/roy/imap/royarisse.com/mail

But I would like to have the "{SSHA}h0MBizoqytoOcVzY8U4ct2bg+8UwMjIyMjk0ZThk"-part encrypted like all other passwords in the passwd-files.

Many thanks again ^_^
 
Can anybody help me?

Can anybody tell me how to:
- create a well-formed encrypted file for the passwd files of dovecot OR
- how make the SMTP server accept plain passwords or ssha-passwords

My thanks would be gratefull!

Kind regards.
 
Learn how /etc/exim.pl works and modify it to your needs.
Remember, you'll need to use additional post/pre scripts to store passwords in required format.
 
Back
Top