LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 07: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, 08:01 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 11:40 AM   #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 01:50 AM
sendmail configuration using Webmin ! nuwanguy Linux - Newbie 0 09-08-2004 09:08 AM
webmin and sendmail visuelz Linux - Software 17 07-12-2003 11:06 PM
Webmin/Sendmail/Linux7.3 Steinbacher Linux - General 2 10-11-2002 05:00 AM
Webmin / sendmail?!? pk21 Linux - General 0 08-20-2002 08:29 AM

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

All times are GMT -5. The time now is 12:54 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
Open Source Consulting | Domain Registration