Download your favorite Linux distribution at LQ ISO.
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 02-13-2006, 05:56 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 25

Rep: Reputation: 2
mailx not working in Debian

mailx does not seem to work on my Debian system. I got the following error returned to me when I sent a mail message:

"This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients, This is a permanent error. The following address(es) failed:
retry time not reached for any host after a long failure period."

The address pings, so it's getting resolved. Any feedback would be appreciated. thanks
Old 02-16-2006, 06:48 PM   #2
LQ Newbie
Registered: Jun 2004
Posts: 25

Original Poster
Rep: Reputation: 2
here's the fix:

the system was using exim4 as the MTA.

In the file /etc/exim4/update-exim4.conf.conf, I changed the variable
dc_eximconfig_configtype from 'smarthost' to 'internet'.
- After saving this file, I executed update-exim4.conf

the system can now send mail outside itself.
Old 03-05-2006, 06:23 PM   #3
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 660

Rep: Reputation: 137Reputation: 137
echo "" > ~/.forward 
echo "message bla bla" > message.txt mailx -s "subject" < message.txt

This is not workign ...

No idea ?


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
Configure Mailx Gerardoj Linux - Software 1 05-11-2016 02:52 AM
Sending attachments using mailx wolfman423 Linux - Newbie 0 10-14-2005 08:27 AM
mailx and slackware mikz Slackware 2 05-11-2005 09:35 AM
mail(mailx) to be nullclient? Chowroc Linux - Networking 0 12-18-2004 05:17 AM
installing mailx skverma_in Linux - Software 2 11-25-2004 10:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 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
Open Source Consulting | Domain Registration