mailx

1 view
Skip to first unread message

glawson

unread,
Nov 10, 2009, 12:20:58 PM11/10/09
to kul...@googlegroups.com
Is there any way to tell mailx to ignore an email server configured in sendmail.cf or in /etc/hosts and just do a DNS lookup? I don't see anything in any docs for a flag or anything to do that.

--
Greg Lawson
Rolling Hills Consolidated Library
1912 N. Belt Highway
St. Joseph, MO 64506

Andrew Beals

unread,
Nov 10, 2009, 12:28:10 PM11/10/09
to kul...@googlegroups.com
On Tue, Nov 10, 2009 at 11:20 AM, glawson <gla...@rhcl.org> wrote:
Is there any way to tell mailx to ignore an email server configured in sendmail.cf or in /etc/hosts and just do a DNS lookup? I don't see anything in any docs for a flag or anything to do that.

There isn't because it simply starts a pipe to sendmail and feeds the message into it.
 

David Nicol

unread,
Nov 10, 2009, 2:22:46 PM11/10/09
to kul...@googlegroups.com
On Tue, Nov 10, 2009 at 11:28 AM, Andrew Beals <andrew...@gmail.com> wrote:
>> Is there any way to tell mailx to ignore an email server configured in
>> sendmail.cf or in /etc/hosts and just do a DNS lookup? I don't see anything
>> in any docs for a flag or anything to do that.

there is a "sendmail" option so you can tell mailx what sendmail to run. YMMV.


--
http://twitter.com/HankSwap tweets approximately every 36 hours using
random delays. Promotional excerpts are fair use!

Reply all
Reply to author
Forward
0 new messages