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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-17-2003, 02:17 PM
|
#1
|
Member
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178
Rep:
|
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.
|
|
|
09-17-2003, 04:30 PM
|
#2
|
Member
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178
Original Poster
Rep:
|
any thoughts?
|
|
|
09-17-2003, 06:53 PM
|
#3
|
Member
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520
Rep:
|
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
|
|
|
09-17-2003, 08:19 PM
|
#4
|
Member
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414
Rep:
|
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.
|
|
|
09-18-2003, 08:40 AM
|
#5
|
Member
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178
Original Poster
Rep:
|
joseph,
postfix search returns:
postfix-1.1.11-4mdk
sendmail search returns nothing
|
|
|
09-18-2003, 08:42 AM
|
#6
|
Member
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178
Original Poster
Rep:
|
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.
|
|
|
09-18-2003, 02:04 PM
|
#7
|
Member
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178
Original Poster
Rep:
|
so I'm using postfix can anyone help me?
|
|
|
09-18-2003, 05:32 PM
|
#8
|
Member
Registered: May 2003
Location: Ontario, Canada
Distribution: Mandrake 9.0, RedHat 7.3, Mandrake 9.2
Posts: 178
Original Poster
Rep:
|
i changed myhostname in the main.cf to equal a valid domain that I own and things seemed to work.
Thanks for the help.
|
|
|
All times are GMT -5. The time now is 07:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|