Hi, I made the changes in the sendmail.cf file and the mail to be sent is being sent to the relay host (mail.infinet.com) but after that it says that error in sending message, user unknown and times out.
I tried to send the mail from the command line using Linux's inbuilt mail utility. I get the debug messages and the reason why it failed. But I guess it's pertaining to configuring sendmail. at the linux prompt, I type: # mail -v [EMAIL PROTECTED] (it then prompts me for the subject, the body and a CC. Once done, these are the messages I get) Connecting to [mail.infinet.com] via relay... 220 infinet.com ESMTP >>> EHLO ws130.ncoretech.com 250-infinet.com 250-PIPELINING 250-SIZE 0 250 8BITMIME >>> MAIL From:<[EMAIL PROTECTED]> SIZE=90 250 ok >>> RCPT To:<[EMAIL PROTECTED]> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) >>> RCPT To:<[EMAIL PROTECTED]> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) >>> RSET 250 flushed /home/kanagesh/dead.letter... Saved message in /home/kanagesh/dead.letter Closing connection to [mail.infinet.com] >>> QUIT 221 infinet.com I believe the relay host is trying to see if the two recipients are in it's domain. Since they are not, it says that the user is unknown. Can anyone suggest what should be done? I have the following entry in my /etc/sendmail.cf file for outgoing mail to be transferred to relay host: DS[mail.infinet.com] Thanks in advance, Regards, kanagesh dan radom wrote: > You cannot have sendmail and ssmail listening on port 25. only one or the other. >fetchmail doesn't have to pass mail off to a MTA like sendmail. It can be configured >to pass mail directly to a MDA like procmail. If you're using the built in pop >capabilities of mutt, you really don't need fetchmail. Fetchmail doesn't really need >sendmail, but it sounds like maybe your mackage manager believes it does. My >suggestion is to either stop sendmail from starting automatically if you're going to >use mutt's pop capabilities, and either use ssmail to send mails, or configure >sendmail to relay off of another server (DSmail.yourisp.com in sendmail.cf). Either >way it should work, and fetchmail doesn't have to deliver mail to a MTA. > > dan > > * Kanagesh ([EMAIL PROTECTED]) wrote: > > Hi, > > > > I am trying to use mutt to connect to a mailserver and receive/send > > mails. I have configured > > mutt for pop and I am albe to connect to the mailserver, access my > > mailbox and view my > > mails. However, I am not able to send mails from my system. From what > > I have read, I > > believe mutt internally uses Sendmail to send the mails out. I am > > looking at a simple e-mail > > application which just allows me to read and write mails (no queueing, > > postponing messages..) > > And I did read that for a simple use like this one, there was a > > suggestion to use ssmtp, which > > would just transfer the mail to the mailhub (i.e. my mail server) to do > > the delivery of the mail. > > I tried using ssmtp with mutt, but to no avail. The mails were still > > being sent out through Sendmail. > > So I uninstalled sendmail (and the applications which depend on sendmail > > - like fetchmaill). > > Now when I try to send mail from mutt, it says that "Error sending mail, > > child exited (127)" > > > > How do I get mutt to work with ssmtp? > > > > In the Muttrc file in the mutt directory (I am running mutt from it's > > directory itself, i haven't done > > a make install after having compiled the application) I have an entry, > > telling mutt to use ssmtp as: > > > > set sendmail="/usr/local/bin/sbin/ssmtp" > > > > I am running Redhat Linux 7.1 > > > > I would be grateful to any suggestion I receive to solve this problem. > > Thanks in advance. > > > > Regards, > > Kanagesh -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning" - Rich Cook