Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
On Wed, 2008-07-16 at 16:14 -0700, Robert Holtzman wrote:
Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
---- by default, sendmail only listens to localhost (127.0.0.1) so if you set up anything other than localhost as SMTP server in ~/.pinerc - you would have to configure /etc/mail/sendmail.mc (read the comments), then restart sendmail.
Craig
On Wed, 16 Jul 2008, Craig White wrote:
On Wed, 2008-07-16 at 16:14 -0700, Robert Holtzman wrote:
Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
by default, sendmail only listens to localhost (127.0.0.1) so if you set up anything other than localhost as SMTP server in ~/.pinerc - you would have to configure /etc/mail/sendmail.mc (read the comments), then restart sendmail.
I have no idea why but after 3 attempts to send a test message to myself the fourth attempt was successful (after I posted my question...of course).
Thanks for your reply.
Robert Holtzman wrote:
Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
You might try setting sendmail up with webmin, it's much more tractable and makes sure that things are consistent. You can install webmin with 'yum install webmin' I think.
Webmin uses your browser to communicate on port 10000 so after installation you can surf to <yourhostname>.<yourdomainname>.<your TLD>:10000 and log in as root.
I don't recommend editing sendmail.cf or any other sendmail files manually. It's a can of worms and it's easy to break sendmail that way.
John Cornelius
On Thu, Jul 17, 2008 at 12:25 PM, John Cornelius jc@hangarpilot.net wrote:
Robert Holtzman wrote:
Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
..snip...
I don't recommend editing sendmail.cf or any other sendmail files manually. It's a can of worms and it's easy to break sendmail that way.
That's why you make a backup copy of the file, then work on it. ;-)
John Cornelius
Aldo Foot wrote:
On Thu, Jul 17, 2008 at 12:25 PM, John Cornelius jc@hangarpilot.net wrote:
Robert Holtzman wrote:
Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
..snip...
I don't recommend editing sendmail.cf or any other sendmail files manually. It's a can of worms and it's easy to break sendmail that way.
That's why you make a backup copy of the file, then work on it. ;-)
The file you want to edit is normally sendmail.mc which is very simple, and sendmail.cf will be rebuilt automatically when you restart the sendmail service.
Aldo Foot wrote:
On Thu, Jul 17, 2008 at 12:25 PM, John Cornelius jc@hangarpilot.net wrote:
Robert Holtzman wrote:
Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
..snip...
I don't recommend editing sendmail.cf or any other sendmail files manually. It's a can of worms and it's easy to break sendmail that way.
That's why you make a backup copy of the file, then work on it. ;-)
Actually, if you delete the .m4 files in /usr/share/sendmail-cf or delete /etc/mail/Makefile, sendmail.cf can't be buggered. The startup script for sendmail does a "make" using /etc/mail/Makefile (which in turn uses the .m4 files from /usr/share/sendmail-cf).
However, if you're going to use sendmail instead of one of the many replacements, you really should learn how m4 works and bugger the .m4 files. I'd also recommend you buy the "bat" book from O'Reilly ("Sendmail, Fourth Edition" by Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro). Probably the definitive book on how sendmail works and how to "futz" with it. "Don't sendmail without it!"
http://oreilly.com/catalog/9780596510299/
---------------------------------------------------------------------- - Rick Stevens, Systems Engineer rps2@nerd.com - - Hosting Consulting, Inc. - - - - There are only 10 kinds of people in the world -- those who - - understand binary and those who don't - ----------------------------------------------------------------------
On Thu, 17 Jul 2008, John Cornelius wrote:
Robert Holtzman wrote:
Sendmail/alpine not sending mail on newly installed FC9. Incoming messages arrive O.K. The correct SMTP server is in the ~/.pinerc file. The maillog entries are *way* too cryptic for me to decipher.
Any pointers short of trying to wade thru the *choke* sendmail configuration file?
You might try setting sendmail up with webmin, it's much more tractable and makes sure that things are consistent. You can install webmin with 'yum install webmin' I think.
Webmin uses your browser to communicate on port 10000 so after installation you can surf to <yourhostname>.<yourdomainname>.<your TLD>:10000 and log in as root.
I don't recommend editing sendmail.cf or any other sendmail files manually. It's a can of worms and it's easy to break sendmail that way.
I know that the sendmail.cf is a can of worms. That's why I said
"....short of trying to wade thru the *choke* sendmail configuration file?"
In any event, the problem corrected itself with no action on my part. Do I understand that? No!