Re: sendmail problem?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
Subject: Re: sendmail problem?
On Tue, 31 Aug 2004, Ed Skinner wrote:

>      I've got a new machine with Fedora Core II and I'd like to use good old
> "mail" (and "nail" as well) in a script to fire off some messages. Sending to
> local users works fine but "mail" to an off-machine user doesn't arrive.
> Looking at /var/log/maillog, I can see that sendmail is attempting to relay
> through "mpls-vmail.inet.qwest.net" which, I presume is the problem since my
> outgoing mail ain't supposed to go that way.


I guess that it just did a DNS MX lookup and found that mpls-vmail host.

>      FYI: most email (such as this message) are going out via KMail which
> appears to be bypassing sendmail and going directly to "pop.phnx.qwest.net"
> which was configred (by me) into KMail.


>      Suggestions would be most appreciated as I don't want to hafta become a
> sendmail expert...


If I understand your message, I think you want sendmail to use that same
"pop" for sendmail too.

If you want "all outgoing mail to go to a central relay site, define
SMART_HOST". (That is from the sendmail README.)

define(`SMART_HOST', `pop.phnx.qwest.net')

Put that in your m4 macro file, maybe at /etc/mail/sendmail.mc.

Then regenerate your sendmail.cf from that macro file using m4 or make (if
you have a Makefile).

If you don't like sendmail, you may want to try postfix or exim. They are
easier.

Jeremy C. Reed

                 BSD News, BSD tutorials, BSD links
                http://www.bsdnewsletter.com/


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss