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: <[EMAIL PROTECTED]>
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 -----
<[EMAIL PROTECTED]>
    (reason: 504 <[EMAIL PROTECTED]>: Sender address rejected: need 
fully-qualified address)

   ----- Transcript of session follows -----
... while talking to smtp.liu.se.:
>>> DATA
<<< 504 <[EMAIL PROTECTED]>: 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; [EMAIL PROTECTED]
Action: failed
Status: 5.5.4
Remote-MTA: DNS; smtp.liu.se
Diagnostic-Code: SMTP; 504 <[EMAIL PROTECTED]>: 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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: test
User-Agent: Mutt/1.4.2.1i

test


any ideas? Please be aware that I'm totally new to sendmail when replying :)

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to