Mutt & sendmail configuration problems

Ulf Magnusson ulfma629 at student.liu.se
Sun Mar 20 05:21:25 PST 2005


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 <host>.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 <MAILER-DAEMON>
To: <ulf at obygden>
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 -----
<ulfma629 at student.liu.se>
    (reason: 504 <ulf at obygden>: Sender address rejected: need fully-qualified address)

   ----- Transcript of session follows -----
... while talking to smtp.liu.se.:
>>> DATA
<<< 504 <ulf at obygden>: 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 at student.liu.se
Action: failed
Status: 5.5.4
Remote-MTA: DNS; smtp.liu.se
Diagnostic-Code: SMTP; 504 <ulf at obygden>: 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 <ulfma629 at student.liu.se>
To: ulfma629 at 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 :)
 


More information about the freebsd-questions mailing list