Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using mutt & postfix on CentOS 6.2:

  • mutt-1.5.20-2.20091214hg736b6a.el6_1.1.x86_64
  • postfix-2.6.6-2.2.el6_1.x86_64

When I try to send mail to my company mailbox, I receive an error:

mutt -s "test" < /home/mail.txt 

Error from postfix:

<>: host[] said: 
555 Syntax error (in reply to MAIL FROM command)

Then I try to use service sendmail as SMTP server, but also failed:

   **----- The following addresses had permanent fatal errors -----
    (reason: 555 Syntax error)
   ----- Transcript of session follows -----
... while talking to
>>> MAIL From:<root@my_server> SIZE=667
<<< 555 Syntax error
554 5.0.0 Service unavailable**

I can make sure DNS is OK, and I set realname "root@myserver" in /etc/Muttrc

Any body can tell me why?

share|improve this question

Instead of using a local MUA,which may be configured in a myriad of ways, start by using telnet:

$telnet 25
>MAIL FROM: me@home
>RCPT TO: some@where.else
>Subject: Test

Then report what that says, and post the logs of the transaction.

share|improve this answer

Your company mail server has annouced (after EHLO) that they support SMTP Service Extension for Message Size Declaration defined in RFC 1870. Because of it, postfix and mutt will add string SIZE=XXX in the end of MAIL FROM line.

>>> MAIL From:<root@my_server> SIZE=667

Unfortunately, your mail server complain with error because it seems they don't understand SIZE syntax.

<<< 555 Syntax error
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.