Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-31-2003, 11:54 AM   #16
LQ Newbie
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0

Check your /etc/hosts. Had a similar problem where was being mapped to the full hostname of the computer and hence to the computer's Internet-accessible address (not to or localhost) and, since it isn't sendmail doesn't want to relay from outside hosts that connect, I believe this causes the problem.

My /etc/hosts first looked like this: myhostname localhost.localdomain localhost

But when I changed it to localhost.localdomain localhost myhostname

where is my IP address, things worked. See if this helps.
Old 02-01-2003, 07:35 PM   #17
Registered: Apr 2001
Location: Ottawa, Canada
Distribution: Mint Cinnamon AMD64
Posts: 155

Rep: Reputation: 18
Sendmail problem

I got Sendmail to work on a dial-up connection, and with just localhost.localdomain, but it required some masquerading of the message headers. This is the file I used.

dnl This is the macro config file used to generate the /etc/
dnl file. If you modify the file you will have to regenerate the
dnl /etc/ by running this macro config through the m4
dnl preprocessor:
dnl m4 /etc/mail/ > /etc/
dnl You will need to have the sendmail-cf package installed for this to
dnl work.

FEATURE(masquerade_envelope) FEATURE(genericstable, `hash -o /etc/mail/genericstable')
define(`confTO_QUEUEWARN', `16h')

Yhe complete instructions are at:

It works great, except I'd like to have fetchmail start when the ppp connection starts. Any ideas as how to accomplish this?

Old 02-03-2003, 10:20 PM   #18
LQ Newbie
Registered: Dec 2002
Posts: 13

Original Poster
Rep: Reputation: 0
I finally opted for POSTFIX.

Got it to work after I allowed it to relay through my ISP's mail service.

I decided to use WEBMIN to configure it. 'Tools all of five minutes.

I will try to work on SENDMAIL later...
Old 02-04-2003, 08:41 PM   #19
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
good choice
Old 03-06-2003, 04:06 PM   #20
LQ Newbie
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
Fixed Same "" Problem

I had the same problem and was able to fix it by editting the /etc/resolv.conf to search my local domain:

(I had inadvertantly put only "com" in as a placeholder when I was installing the OS and sendmail resolved it to, !?)

hope this keeps someone else from pulling out all the hair that got me to this 'simple' fix.

Last edited by mpoje; 03-06-2003 at 04:17 PM.
Old 03-06-2003, 06:33 PM   #21
Senior Member
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,137

Rep: Reputation: 65
Originally posted by rawbear
I finally opted for POSTFIX.

Got it to work after I allowed it to relay through my ISP's mail service.

I decided to use WEBMIN to configure it. 'Tools all of five minutes.

I will try to work on SENDMAIL later...
I had the same problem on a couple of RH8 system that use sendmail. There's a line near the bottom of that reads:

DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')

If you change this to read:

dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')

you've effectively commented it out. Unless you do that mail stays stuck on the system.

You know, there was another thread about a week ago that involved this very same problem (no mail flowing and ``'' showing up in the logs). The poster never did resolve it until he reinstalled the sendmail packages.

Apparently, Red Hat's making it easy for people to hose their mail setup.
Old 04-26-2003, 10:35 PM   #22
LQ Newbie
Registered: Apr 2003
Location: Manta - Ecuador - South America
Distribution: Debian
Posts: 19

Rep: Reputation: 0
Look at /etc/resolv.con

I had the same trouble, and add to the first line of /etc/resolv.conf

nameserver mi-isp-dns-server
nameserver mi-isp-2nd-dns-server

Good luck.


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 Relay Help midmichmark Linux - Networking 1 12-29-2004 06:20 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
How to connect in localhost for RH8.0? edhan Linux - Newbie 4 09-05-2003 07:01 PM
Localhost Login...okay but I can't. Using RH8. Frogmum Linux - Distributions 1 03-15-2003 07:40 PM
can't relay to other domains except LOCALHOST netkepala Linux - Software 4 10-13-2002 11:34 AM > Forums > Linux Forums > Linux - Software

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

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