On Tuesday 30 September 2003 08:15 am, Stroller wrote: > > # cat file.txt | sendmail -s "mailing from the command line" > > [EMAIL PROTECTED] > > sendmail: Cannot open mail.localdomain:25 > > You almost certainly don't. > > Have you actually tried LOOKING at /etc/ssmtp/ssmtp.conf..? > It is the most simple configuration file I have ever encountered under > Unix.
Is this slashdot? > I suggest you back it up using `cp /etc/ssmtp/ssmtp.conf > /etc/ssmtp/ssmtp.conf.example` and try messing around with it. > > if you call `sendmail` (which, I think you'll find is a sym-link to > `ssmtp`) with the "-v" flag then it will help you identify what the > problem is. I think that 30 minutes of this will help you resolve your > issues better than days of helpless, uninformational postings to this > group. <taking vitamins so as not to be helpless> I did read the file and configure it. It's simple if you have the right idea about what it does, but I had a conceptual misunderstanding. Since you can't have ssmtp and postfix installed at the same time, I thought ssmtp was like postfix, but simplified and not a full blown sendmail replacement. But now I realize that it's more like fetchmail in reverse; you still need a smtp server. I was thinking it provided a service like postfix, so that's why setting mailhub to localhost wouldn't work. Now that I have it working, I'm going to install postfix, since that's the kind of thing I wanted in the first place. -- Stephen -- [EMAIL PROTECTED] mailing list
