From owner-freebsd-questions@FreeBSD.ORG Sun Mar 20 13:21:25 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 7184116A4CE for ; Sun, 20 Mar 2005 13:21:25 +0000 (GMT) Received: from elysium.unit.liu.se (elysium.unit.liu.se [130.236.230.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4594643D39 for ; Sun, 20 Mar 2005 13:21:24 +0000 (GMT) (envelope-from ulfma629@student.liu.se) Received: by elysium.unit.liu.se (Postfix, from userid 102) id A0CE0339C6; Sun, 20 Mar 2005 14:21:22 +0100 (MET) Received: from liu.se (camelot.unit.liu.se [130.236.230.139]) by elysium.unit.liu.se (Postfix) with ESMTP id C0AD7339C2 for ; Sun, 20 Mar 2005 14:21:19 +0100 (MET) Received: from [81.94.82.239] by mu.unit.liu.se (mshttpd); Sun, 20 Mar 2005 14:21:19 +0100 From: Ulf Magnusson To: freebsd-questions@freebsd.org Message-ID: <951e41953ef5.953ef5951e41@liu.se> Date: Sun, 20 Mar 2005 14:21:19 +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: 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 13:21:25 -0000 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') 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 :)