Sendmail and Webmin
i have setup a user account using webmin and now i cannot send mail to
it from the internal lan or internet. It comes up as user unknown. I can send to other accounts not created by webmin. The reason i used webmin is because i did not know how to setup the account without it. Is there another way i can setup the account? i restarted the sendmail service and still did not work. Any ideas anyone? How can i get my mail server to accept mail from anyone@mydomain.com? thanks |
Usually with aliases.
Do you mean you created an actual user? If so, check /etc/passwd and see if they are listed. If they aren't, then they weren't created. To add a user: useradd [options] username For options just type: useradd or see the man page: man useradd Then to have it accept mail for "anyone" at your domain setup an alias in /etc/aliases OR /etc/mail/aliases depending on how your system is setup. Aliases should be in the format: FakeName: RealName So if your username was pablo, and you wanted pablo to get mail sent to your machine as snoopy@yourdomain.com then: snoopy: pablo And then rerun aliases: newaliases To save the changes. Restart sendmail and it should work. Cool |
Webmin module for Sendmail just creates Aliases to existing users on that server. If you want to create a new email address for a new user name then you have to create a user first then setup the alias in webmin. If you want to have a new email address sent to a current user then you can just make an alias in webmin.
|
All times are GMT -5. The time now is 08:56 AM. |