Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
My ISP provides a mail service, but mail server requires authentification for sending mail, and I need to configure mail server to send mail because I want to use mutt as mail reader. I found an article how to do that, but "makemap" says:
It could be that you don't have permission to open the client-info file that contains the list of client info. It could also be that you don't have permission to create the client-info.db in the directory where you ran the command. Or, it may be that the info in the client-info file wasn't in a format suitable for a hash map.
Well, I don't think the problem is in permissions, because as you see in my bash prompt I tried to do it as root. So may be the problem is in file format, it contains such a string:
AuthInfo:mail.myISP.net "U:my_login_name" "I:my_email_address" "P:my_password"
I've just tried to use file format that you give in your HOWTO, but the error still exists. So I have no idea how can it be fixed :?
makemap [-C file] [-N] [-c cachesize] [-d] [-D commentchar] [-e] [-f] [-l] [-o] [-r] [-s] [-t delim] [-u] [-v] maptype mapnam
Makemap creates the database maps used by the keyed map lookups in sendmail(8). It reads input from the standard input and outputs them to the indicated mapname.
You are taking the input from the exact same file that you are using as an output.
Do you maybe want:
smmurf:/etc/mail/auth# makemap hash client-info.db < client-info