LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 08-17-2009, 09:48 PM   #1
Haines Browsn
LQ Newbie
 
Registered: Dec 2004
Posts: 7
Thanked: 0
Outgoing mail is lost


[Log in to get rid of this advertisement]
I installed Debian lenny on a desktop machine with a wifi card and a D-Link AP/router. I'm using mutt, exim4, fetchmail, wifi-radar (network manager installed, but I configure by hand and ignore it because I don't know how to use it). Stock kernel is 2.6.26-2-686.

I can get news, browse the web, and receive email, but can't send mail.
All messages bounce with this error:

From: Mail Delivery System
<Mailer-Daemon@teufel.historicalmaterialism.info>
...
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:

<name>@<domain>
retry timeout exceeded

The problem probably connected with the fact that nothing gets written to the mail logs even though they are set up to be written.

Wifi-radar works to get me on line, but in its terminal these error lines show up:

eth1 Failed to read scan data : Resource temporarily unavailable

I don't know what I do, if anything, to cause this error line to be repeated (my trying to send an email message?, but at one point some showed up when I restarted networking.

I am using a new mail service, and that is about the only change to my configuration of exim4, which I've been using for years. The configuration option, hostname of outgoing smart host, I assume is the mail server I use, and they told me to put the port after my mail account: mail.historicalMaterialism.info::527. Before I used a different domain name, without port, on a different mail service, using ethernet.

The Netgear wifi card has two drivers: orinoco_pci and hostap_pci. I understand that loading two drivers should not be done, so I blacklisted the hostap_pci (only because I got the orinoco_pci to work first). This module uses an eth1 rather than wlan0 interface.

My /etc/network/interfaces file has the following. I'm very uncertain about this for wifi (not sure about allow-hot-plug, not sure of what lines needed for the wireless):

auto lo
iface lo inet loopback

# ethernet eth0
allow-hotplug eth0
iface eth0 inet dhcp

# wireless eth1
allow-hotplug eth1
iface eth1 inet dhcp
wireless-essid "Haines"
auto eth1

Another thing that puzzles me is my /etc/hosts file:

127.0.0.1 localhost
127.0.1.1 teufel.historicalMaterialism.info teufel
192.168.1.1 router

I always had this last line when using ethernet. But instead of the first two lines, I associated the names only with 127.0.0.1. What is this 127.0.1.0 network? Something new in Linux?

I can telnet localhost port 25, and when I telnet my AP/router, I can log in.

The problem seems local, so I include my routing table:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
default router 0.0.0.0 UG 0 0 0 eth1

Haines Brown
Haines Browsn is offline  
Tag This Post , ,
Reply With Quote
Old 08-24-2009, 10:39 AM   #2
Haines Browsn
LQ Newbie
 
Registered: Dec 2004
Posts: 7
Thanked: 0

Original Poster
Outgoing mail blocked locally; no mail logs

E-mail messages sent out to any address are blocked by my own mail system:

> 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:
>
> gloriaVanderbilt@comcast.net
> retry timeout exceeded

I am using debian lenny, exim4, and mutt.

Since nothing is being written to the mail logs, I assume the problem arises before that operation comes up. What does this tell me about the location of the problem?

Messages sent to newsgroups with gnus get out, and I assume SMTP messages have access to port 25, but I'm not sure. What port does gnus use? Does the following indicate a problem?

> $ netstat -a | grep smtp
> tcp 0 0 *:smtp *:* LISTEN
> tcp6 0 0 [::]:smtp [::]:* LISTEN

This leaves exim configuration:

1. Mail sent by smarthost; received via fetchmail

2. Mailname: teufel.historicalMaterialism.info

3. IP addresses to listen on for incoming SMTP connections: ____

4. Other destinations for accepting mail: historical.materialism.info

5. Relay mail for: _____

6. IP address of mail server. I have a new server and this is the address
and port they told me to use. Although outgoing mail does not work,
the problem seems local rather than a rejection by the server:

mail.historicalMaterialism.info::527

7. the remaining configurations are irrelevant here.

Does this configuration look at all suspicious?

If none of the above identifies the location of the problem, what would be a reasonable troubleshooting procedure?

Haines Brown
linuxdebian Haines Browsn is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Which qmail log file details outgoing mail? (have huge outgoing mail volume) hilljockey Linux - Server 2 12-08-2008 05:26 PM
How to Trap all outgoing mail of all user of my mail server singh_chitranjan Linux - Server 1 07-09-2008 07:15 AM
sendmail and outgoing mail shafey Linux - Networking 1 11-16-2005 05:57 AM
outgoing mail not working BillyB Linux - Newbie 6 04-19-2005 05:51 PM
How to separate Incoming Mail and Outgoing Mail on SENDMAIL LiloAma Linux - Networking 1 03-22-2004 03:24 AM


All times are GMT -5. The time now is 01:18 PM.

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