From owner-freebsd-questions@FreeBSD.ORG Sun Mar 20 16:50:08 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 2DE6316A4CE for ; Sun, 20 Mar 2005 16:50:08 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5826D43D49 for ; Sun, 20 Mar 2005 16:50:07 +0000 (GMT) (envelope-from oliverfuchs@onlinehome.de) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DD3cr-0007nI-00 for freebsd-questions@freebsd.org; Sun, 20 Mar 2005 17:50:05 +0100 Received: from [217.246.200.198] (helo=oliverfuchs.onlinehome.de) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1DD3cq-0002RQ-00 for freebsd-questions@freebsd.org; Sun, 20 Mar 2005 17:50:06 +0100 Received: from oliverfuchs.onlinehome.de (localhost.onlinehome.de [127.0.0.1]) j2KGnt2K002802 for ; Sun, 20 Mar 2005 17:49:57 +0100 (CET) (envelope-from oliverfuchs1@oliverfuchs.onlinehome.de) Received: (from oliverfuchs1@localhost) by oliverfuchs.onlinehome.de (8.13.1/8.13.1/Submit) id j2KGmX1P002789 for freebsd-questions@freebsd.org; Sun, 20 Mar 2005 17:48:33 +0100 (CET) (envelope-from oliverfuchs1) Date: Sun, 20 Mar 2005 17:48:33 +0100 From: Oliver Fuchs To: freebsd-questions@freebsd.org Message-ID: <20050320164833.GA2767@oliverfuchs.onlinehome.de> Mail-Followup-To: freebsd-questions@freebsd.org References: <951e41953ef5.953ef5951e41@liu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <951e41953ef5.953ef5951e41@liu.se> User-Agent: Mutt/1.4.2.1i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c2b2791553508cc938db2bcf18721a3c Subject: 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 16:50:08 -0000 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