failed to use mutt to send mail to company mailbox

Posted by Acewind on Server Fault See other posts from Server Fault or by Acewind
Published on 2012-09-08T04:18:17Z Indexed on 2012/09/08 15:40 UTC
Read the original article Hit count: 279

Filed under:
|

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" [email protected] < /home/mail.txt

error from postfix:

: host out1.ourcompany.com[10.30.17.100] 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 out1.ourcompany.com.:

MAIL From: SIZE=667 <<< 555 Syntax error 554 5.0.0 Service unavailable**

Any body can tell me why? Thanks!!!! I can make sure DNS is OK, and I set realname "root@myserver" in /etc/Muttrc

© Server Fault or respective owner

Related posts about postfix

Related posts about mutt

  • Listing important folders in mutt

    as seen on Super User - Search for 'Super User'
    When I type c in mutt I get all my folders displayed and this is quite long. I would like to configure it to show only those folders that I deem to be interesting. Would be happy to configure it by adding a list in my .muttrc >>> More

  • sending mail using mutt + emacs

    as seen on Server Fault - Search for 'Server Fault'
    How to sent mail from emacs? I found this There are two ways to send the message. C-c C-s (mail-send) sends the message and marks the mail buffer unmodified, but leaves that buffer selected so that you can modify the message (perhaps with new recipients) and send it again. C-c C-c (mail-send-and-exit)… >>> More

  • sending mail using mutt + emacs

    as seen on Super User - Search for 'Super User'
    How to sent mail from emacs? I found this There are two ways to send the message. C-c C-s (mail-send) sends the message and marks the mail buffer unmodified, but leaves that buffer selected so that you can modify the message (perhaps with new recipients) and send it again. C-c C-c (mail-send-and-exit)… >>> More

  • sending mail using mutt + emacs

    as seen on Super User - Search for 'Super User'
    How to sent mail from emacs? I have add from address and subject and trapped inside emacs I found this There are two ways to send the message. C-c C-s (mail-send) sends the message and marks the mail buffer unmodified, but leaves that buffer selected so that you can modify the message (perhaps with… >>> More

  • sending mail using mutt + emacs

    as seen on Stack Overflow - Search for 'Stack Overflow'
    How to sent mail from emacs? I have add from address and subject and trapped inside emacs I found this There are two ways to send the message. C-c C-s (mail-send) sends the message and marks the mail buffer unmodified, but leaves that buffer selected so that you can modify the message (perhaps with… >>> More