These lines are there already :-(
Main Topics
Browse All TopicsHi,
We are using SuSE linux 9.0 and want to use command line mutt like the following:
echo " blah blah " |mutt -s "blah blah" a.n.other@xyz.com
Now this is working perfectly fine on some of our servers, but when I recently tried it on a new one(in another network) it is not working.
I have put the appropriate entry in the relayhost entry in the main.cf:
relayhost = [smtp.hstname.edu]
I tested the smtp server above with telnet, and everything seems to be in order there as well. However when I run the mutt command, I get the following messages in /var/log/mail
Aug 9 06:40:03 postfix/smtp[1406]: smtp_parse_destination: [smtp.hstnme.edu] smtp
Aug 9 06:40:03 somlzr postfix/smtp[1406]: fatal: unknown service: smtp/tcp
Aug 9 06:40:04 somlzr postfix/qmgr[1116]: warning: premature end-of-input on private/smtp socket while reading input attribute name
Aug 9 06:40:04 somlzr postfix/qmgr[1116]: warning: private/smtp socket: malformed response
Aug 9 06:40:04 somlzr postfix/qmgr[1116]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Aug 9 06:40:04 somlzr postfix/master[1109]: warning: process /usr/lib/postfix/smtp pid 1406 exit status 1
Aug 9 06:40:04 somlzr postfix/master[1109]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Could you let me know what needs to be done or verified in order for this to work.
many thanks,
Sandeep
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: mzalfresPosted on 2007-08-09 at 12:39:01ID: 19665218
Look in /etc/services. Those two lines should be present in this file. If not (or the file is not present at all) add them. This should solve your problem.
smtp 25/tcp mail # Simple Mail Transfer
smtp 25/udp