LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 07-03-2003, 12:22 PM   #1
slam
Member
 
Registered: Mar 2003
Posts: 36

Rep: Reputation: 15
Angry need sendmail help install newaliases error


after following the readme and install
I run sendmail -v -bi and get
newaliases: cannot open /etc/mail/aliases: no such file or directory... what is wrong?
I cannot start sendmail?
help ?

Last edited by slam; 07-03-2003 at 12:31 PM.
 
Old 07-03-2003, 12:36 PM   #2
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
Does the /etc/mail directory exist?
Does the file /etc/mail/aliases exist already?
Are you running this as root?
have you already installed sendmail, or only compiled it?

Alternatively, if the aliases file already exists, you can build the db by running the following command:
makemap hash /etc/mail/aliases < /etc/mail/aliases
 
Old 07-03-2003, 12:48 PM   #3
slam
Member
 
Registered: Mar 2003
Posts: 36

Original Poster
Rep: Reputation: 15
no & yes

>Does the /etc/mail directory exist?
yes

>Does the file /etc/mail/aliases exist already?
no

>Are you running this as root?
yes

>have you already installed sendmail, or only compiled it?
yes both compiled and installed


changes hosts file
#remarked out 127.0.0.1 localhost localdomain ....
added
127.0.0.1 www.mydomain.com localhost
but on reboot it complains that localhost localdomain does not exist.

sendmail now sends...



Last edited by slam; 07-03-2003 at 01:15 PM.
 
Old 07-03-2003, 12:58 PM   #4
slam
Member
 
Registered: Mar 2003
Posts: 36

Original Poster
Rep: Reputation: 15
ran make map

ran make map. now sendmail -v -bi does not complain. but evolution still doesn't actually send mail? how do I know if its running.
 
Old 07-03-2003, 02:33 PM   #5
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
If you ps auwx | grep sendmail, is it shown as running?

After you try to send mail, what does the /var/log/messages logfile say?

Did your configure/compilation/installation of sendmail complain about anything?
 
Old 07-03-2003, 02:47 PM   #6
slam
Member
 
Registered: Mar 2003
Posts: 36

Original Poster
Rep: Reputation: 15
running

its running and sends .. now I just need to figure out the receive.
it was mad because I was sending as root@localdomain.localhost and it said it didn't exist.

now I need to forward from my yahoo domains account where my website it as mydomain.com the mx info. anyone know what records I need to setup so that I can forward my email only to the ip of this sendmail server

yahoo domains allows me to add A, mx, cname, and virtual forwards. I added A record mail.mydomain.com points to ip xx.xx.xx.xx

I added mx mydomain.com mail delivered to mail.mydomain.com
so far nothing goes through. I get an error
550 RCPT TO:<slam@mydomain.com> User unknown
 
Old 07-03-2003, 03:57 PM   #7
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
That kind of setup is out of my league. (= Sorry.. (=
 
  


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
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 08:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 03:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 02:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 12:47 PM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 10:57 PM


All times are GMT -5. The time now is 07:19 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