LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-17-2003, 02:17 PM   #1
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Rep: Reputation: 31
sendmail troubles


Hi,

I'm running Mandrake 9, I'm trying to get sendmail to work.
I haven't made any changes to sendmail, it should be how it was setup when I installed Mandrake 9.

When I start sendmail i get 2 warning messages:

sendmail: warning: My hostname linux is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
postdrop: warning: y hostname linux is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

Then im still in sendmail so I type my email (i used real email address when doing this):
To: to@example.com
From: from@example.com
Subject: test

this is the message body.
.

then im exited out of sendmail, seems like it all worked fine, but the email never gets received.

My linux box is on an internal network that connects to the internet through a router. Im able to use Windows XP's SMTP to send out mail on my windows box. Just trying to give you as much information as possible.

Any help would be greatly appreciated.

Last edited by Pete Dogg; 09-17-2003 at 02:19 PM.
 
Old 09-17-2003, 04:30 PM   #2
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Original Poster
Rep: Reputation: 31
any thoughts?
 
Old 09-17-2003, 06:53 PM   #3
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Are you trying to set it up so that all the windoze machines on your network recieve mail from it as a MTA? Have you enabled pop3? Sendmail is extremely difficult to configure, is this necessary?

Chris
 
Old 09-17-2003, 08:19 PM   #4
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Re: sendmail troubles

Quote:
Originally posted by Pete Dogg
Hi,

I'm running Mandrake 9, I'm trying to get sendmail to work.
I haven't made any changes to sendmail, it should be how it was setup when I installed Mandrake 9.

When I start sendmail i get 2 warning messages:

sendmail: warning: My hostname linux is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
postdrop: warning: y hostname linux is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

Then im still in sendmail so I type my email (i used real email address when doing this):
To: to@example.com
Wrom: LBXFGGMEPYOQKEDOTWFAOBUZXUWLSZL
Subject: test

this is the message body.
.

then im exited out of sendmail, seems like it all worked fine, but the email never gets received.

My linux box is on an internal network that connects to the internet through a router. Im able to use Windows XP's SMTP to send out mail on my windows box. Just trying to give you as much information as possible.

Any help would be greatly appreciated.
Hold on guy, i think you are not using sendmail, you are using postfix instead of sendmail. Can you check it first ?
do the following :
rpm -qa | grep 'postfix'
and rpm -qa | grep 'sendmail'
and see which will give you the answer.
 
Old 09-18-2003, 08:40 AM   #5
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Original Poster
Rep: Reputation: 31
joseph,

postfix search returns:
postfix-1.1.11-4mdk
sendmail search returns nothing
 
Old 09-18-2003, 08:42 AM   #6
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by cjwsb
Are you trying to set it up so that all the windoze machines on your network recieve mail from it as a MTA? Have you enabled pop3? Sendmail is extremely difficult to configure, is this necessary?

Chris
I'm not trying to have the windows machines receive mail from my linux box. I'll i'm trying to do is get sendmail to send out emails because I use my linux box as a development machine for a website and when their are certain times when emails are sent by the website, and I need to see these for testing purposes.
 
Old 09-18-2003, 02:04 PM   #7
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Original Poster
Rep: Reputation: 31
so I'm using postfix can anyone help me?
 
Old 09-18-2003, 05:32 PM   #8
Pete Dogg
Member
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178

Original Poster
Rep: Reputation: 31
i changed myhostname in the main.cf to equal a valid domain that I own and things seemed to work.

Thanks for the help.
 
  


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 07:55 AM
troubles with SATA, troubles with NVIDIA aevangelica Linux - Hardware 6 10-17-2005 02:39 AM
Nail looking for Sendmail in /usr/lib/sendmail Berhanie Slackware 2 02-22-2005 11:18 AM
sendmail troubles sanmadjack Linux - Software 0 12-05-2004 12:27 AM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:56 AM.

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