Re: smail problems with smarthost
Hi,
I found my problem after seeing a suggestion about a similar problem
on the list. I needed to set the visible_name to mindspring.com for
mindspring to accept the mail. This gives garbage headers, but the
mail goes through. I am lee.bradshaw@mindspring.com; someone else
is bradshaw@mindspring.com. The headers starting with "From " and
"Return-Path:" refer to another user. Here is what the headers on my
mail through the smarthost look like:
>From bradshaw@mindspring.com Mon Feb 23 17:21:46 1998
Return-Path: <bradshaw@mindspring.com>
Received: from pop.mindspring.com ([172.31.23.7]) by freefall.home.bradshaw
with esmtp (ident bradshaw using rfc1413) id m0y76Fl-000XQwC
(Debian Smail-3.2 1996-Jul-4 #2); Mon, 23 Feb 1998 17:21:37 -0500 (EST)
Received: from camel8.mindspring.com (camel8.mindspring.com [207.69.200.58])
by camel26.mindspring.com (8.8.5/8.8.5) with ESMTP id RAA20838
for <lee.bradshaw@mindspring.com>; Mon, 23 Feb 1998 17:21:26 -0500 (EST)
Received: from freefall.home.bradshaw (user-38lcpu3.dialup.mindspring.com [209.8
6.103.195])
by camel8.mindspring.com (8.8.5/8.8.5) with ESMTP id RAA10605
for <lee.bradshaw@mindspring.com>; Mon, 23 Feb 1998 17:21:22 -0500 (EST)
From: lee.bradshaw@mindspring.com (Lee Bradshaw)
Message-ID: <m0y76FR-000XQwC@freefall.home.bradshaw>
Received: by freefall.home.bradshaw
id m0y76FR-000XQwC
(Debian Smail-3.2 1996-Jul-4 #2); Mon, 23 Feb 1998 17:21:17 -0500 (EST)
Subject: test
To: lee.bradshaw@mindspring.com
Date: Mon, 23 Feb 1998 17:21:17 -0500 (EST)
X-Mailer: ELM [version 2.4ME+ PL31 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
"Lee Bradshaw wrote:"
> Hi,
>
> I'm using stable smail 3.2-3. I've set up a home.bradshaw domain.
> Things seemed to be working ok for local and remote mail for several
> weeks. Then I needed to send email to a site that does reverse DNS
> lookups before accepting smtp connections. I had been trying to
> deliver the mail directly and then fall back to a smarthost. The
> direct delivery didn't work to this site, so I tried to comment out
> the lines for direct internet delivery and only use the smarthost, but
> now I can't seem to send any remote mail.
>
> Thanks for any suggestions.
>
>
> Here is my new routers file:
>
> #inet_addrs:
> # driver=gethostbyaddr, transport=smtp;
> # check_for_local, fail_if_error
>
> #inet_hosts:
> # driver=bind, transport=smtp;
> # defer_no_connect, -local_mx_okay, defnames,
> # ignore_domains=uucp:bitnet
>
> smart_host:
> driver=smarthost, transport=smtp;
> path=mail.mindspring.com
>
>
> This is the error I get when trying to send mail to my isp account:
>
> Xdefer: <lee.bradshaw@mindspring.com> reason: (ERR151) transport smtp:
> 450 <bradshaw@home.bradshaw>...
> Sender domain not compliant with RFC 822, section 6.2.7
>
>
> Here is the smtp entry from my transports file:
>
> smtp: driver=tcpsmtp, max_addrs=100, -max_chars, inet
> , remove_header="From"
> , insert_header="From:
> ${lookup:from:lsearch{maps/frommap}{$value}{unknown@$visible_name
> ($from:$fullname)}}"
> ; use_bind, defer_no_connect, -local_mx_okay, defnames
>
>
> Here are entries for my account in the frommap file:
>
> bradshaw lee.bradshaw@mindspring.com (Lee
> Bradshaw)
> bradshaw@home.bradshaw lee.bradshaw@mindspring.com (Lee
> Bradshaw)
> bradshaw@freefall.home.bradshaw lee.bradshaw@mindspring.com (Lee
> Bradshaw)
>
> --
> Lee Bradshaw lee.bradshaw@mindspring.com (preferred)
> Next Level Communications bradshaw@nlc.com
>
--
Lee Bradshaw lee.bradshaw@mindspring.com (preferred)
Next Level Communications bradshaw@nlc.com
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: