From owner-freebsd-questions@FreeBSD.ORG Sun Mar 20 20:25:00 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12D8016A4CE for ; Sun, 20 Mar 2005 20:25:00 +0000 (GMT) Received: from arcadia.unit.liu.se (arcadia.unit.liu.se [130.236.230.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8B4E43D41 for ; Sun, 20 Mar 2005 20:24:56 +0000 (GMT) (envelope-from ulfma629@student.liu.se) Received: by arcadia.unit.liu.se (Postfix, from userid 102) id 17C2145DDC; Sun, 20 Mar 2005 21:24:55 +0100 (MET) Received: from liu.se (camelot.unit.liu.se [130.236.230.139]) by arcadia.unit.liu.se (Postfix) with ESMTP id 0687E45E0F for ; Sun, 20 Mar 2005 21:24:51 +0100 (MET) Received: from [81.94.82.239] by mu.unit.liu.se (mshttpd); Sun, 20 Mar 2005 21:24:51 +0100 From: Ulf Magnusson To: freebsd-questions@freebsd.org Message-ID: <974f60973ec0.973ec0974f60@liu.se> Date: Sun, 20 Mar 2005 21:24:51 +0100 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.17 (built Jun 23 2003) MIME-Version: 1.0 Content-Language: en X-Accept-Language: en Priority: normal Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.2-liu_20050119_1740 (2004-11-16) on themis.unit.liu.se X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00, LIU_FROM_MATCHES_LIUSTUDENT,LIU_MAILTO_TO_LIUSTUDENT autolearn=ham version=3.0.2-liu_20050119_1740 Subject: Re: Re: Mutt & sendmail configuration problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2005 20:25:00 -0000 I made the modifications suggested, but I still get the same error message. Note the following part: ... while talking to smtp.liu.se.: >>> DATA <<< 504 : Sender address rejected: need fully- qualified address I'm guessing the problem is that "obygden" isn't a fully-qualified address, since it's only visible on the local network (that is, you can't do a DNS lookup on it from systems not connected to the network). What I don't know is how to find out what my fully-qualified address is, provided I have one (my understanding of DNS is still somewhat patchy). And, if I do know my fully-qualified hostname, how do I make sendmail use it instead of "obygden" when talking to the SMTP server? ----- Original Message ----- From: Oliver Fuchs Date: Sunday, March 20, 2005 5:47 pm Subject: Re: Mutt & sendmail configuration problems > On Sun, 20 Mar 2005, Ulf Magnusson wrote: > > > I'm trying to set up sendmail to route outgoing mail to an > external SMTP server. I need this for Mutt, which doesn't have its > own means of transfering mail and relies on whatever MTA the system > provides. I found out about sendmail's SMARTHOST capability and > added this line to my .mc configuration file (built by 'cd > /etc/mail && make && make install'): > > > > define(`SMART_HOST', `smtp.liu.se') > > Hi, > > the FEATURE has to be: > > define(`SMART_HOST', `[smtp.liu.se]')dnl > > Optional you can use the authinfo-file feature: > > FEATURE(`authinfo')dnl > > If so create a file /etc/mail/authinfo wiht something like this: > > AuthInfo:smtp.liu.se "U:yourusername" "P:yourpassword" > > Go to /etc/mail and run as root: > makemap hash authinfo < authinfo > chmod 600 authinfo authinfo.db > > Oliver > > > > > > I then installed the changes with 'make && make install && make > restart'. Now, whenever I try to send mail from Mutt, I get back > the following failure notice: > > > > > > Date: Sun, 20 Mar 2005 13:33:21 +0100 (CET) > > From: Mail Delivery Subsystem > > To: > > Subject: Returned mail: see transcript for details > > Auto-Submitted: auto-generated (failure) > > > > [-- Bilaga #1 --] > > [-- Typ: text/plain, Kodning: 7bit, Storlek: 0,5K --] > > > > The original message was received at Sun, 20 Mar 2005 13:33:20 > +0100 (CET) > > from localhost [127.0.0.1] > > > > ----- The following addresses had permanent fatal errors ----- > > > > (reason: 504 : Sender address rejected: need > fully-qualified address) > > > > ----- Transcript of session follows ----- > > ... while talking to smtp.liu.se.: > > >>> DATA > > <<< 504 : Sender address rejected: need fully- > qualified address > > 554 5.0.0 Service unavailable > > <<< 554 Error: no valid recipients > > > > [-- Bilaga #2 --] > > [-- Typ: message/delivery-status, Kodning: 7bit, Storlek: 0,4K --] > > > > Reporting-MTA: dns; obygden > > Received-From-MTA: DNS; localhost > > Arrival-Date: Sun, 20 Mar 2005 13:33:20 +0100 (CET) > > > > Final-Recipient: RFC822; ulfma629@student.liu.se > > Action: failed > > Status: 5.5.4 > > Remote-MTA: DNS; smtp.liu.se > > Diagnostic-Code: SMTP; 504 : Sender address > rejected: need > > +fully-qualified address > > Last-Attempt-Date: Sun, 20 Mar 2005 13:33:21 +0100 (CET) > > > > [-- Bilaga #3 --] > > [-- Typ: message/rfc822, Kodning: 7bit, Storlek: 0,7K --] > > > > Date: Sun, 20 Mar 2005 13:33:20 +0100 > > From: Ulf Magnusson > > To: ulfma629@student.liu.se > > Subject: test > > User-Agent: Mutt/1.4.2.1i > > > > test > > > > > > any ideas? Please be aware that I'm totally new to sendmail when > replying :) > > -- > ... don't touch the bang bang fruit >