Re: Local mailer troubles

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
CC: az_pete
Subject: Re: Local mailer troubles
> yeah maybe I'm stupid but if nothing is listening to port 25 - and no
> MTA is loaded, why would you expect local mail to function? That is the
> point of an MTA.


The problem is "mail" -- you should be required to have an SMTP server
listening to send mail to local user account.

> If I stop sendmail and /bin/mail a message to myself, it is refused. If
> I start sendmail - it works.
>
> Default on Red Hat - and probably most systems these days is to listen
> only to 127.0.0.1 (localhost) and that is all you need. I guess I don't
> see the point of what you are trying to accomplish by not having
> sendmail run.


I dislike that.

I use my own "mailout" sendmail replacement which never (and can't) listen
to any network port. I need to make it use a local delivery agent to
delivery locally as needed still.

I also have a simple shell script for a mail aka mailx replacement.

Peter, maybe you can try a different mail/mailx that doesn't try to do
mail using smtp but instead just runs the sendmail binary.

You could try this verison of mail(1):
http://www.reedmedia.net/misc/mail/mailx.sh
http://www.reedmedia.net/misc/mail/mailx.sh.1


Jeremy C. Reed
http://www.reedmedia.net/


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