LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2003, 08:01 AM   #1
Tigger
Member
 
Registered: May 2003
Posts: 168

Rep: Reputation: 30
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
 
Old 05-28-2003, 09:01 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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
 
Old 05-28-2003, 12:40 PM   #3
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure SENDMAIL with webmin juanb Linux - Software 1 09-10-2009 02:50 AM
sendmail configuration using Webmin ! nuwanguy Linux - Newbie 0 09-08-2004 10:08 AM
webmin and sendmail visuelz Linux - Software 17 07-13-2003 12:06 AM
Webmin/Sendmail/Linux7.3 Steinbacher Linux - General 2 10-11-2002 06:00 AM
Webmin / sendmail?!? pk21 Linux - General 0 08-20-2002 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration