LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-09-2003, 08:47 AM   #1
dleone
LQ Newbie
 
Registered: Jan 2003
Posts: 13

Rep: Reputation: 0
sendmail/formmail problems


I have had problems getting sendmail/formmail to work on my Linux Server (RH8.0).

Acutally, formmail is configured properly with the correct paths to sendmail. Entering data

into a page calling formmail.pl produces no errors. All other CGI scripts on my site run

correctly. Since it is on an internal network using DHCP from my ISP, you cannot access it

via the Internet, or I'd provide the URL ~ sorry.
This is my path to sendmail and I have verified its validity with 'which sendmail'

$mailprog = '/usr/sbin/sendmail -i -t';

I think the problem lies in with my sendmail configuration - I have edited sendmail.mc, run

the proper m4 command to update sendmail.cf with only two changes:

Uncommented this line and updated it with my external POP server (I am not running POP, SMTP

or DNS locally):

dnl define(`SMART_HOST',`smtp.your.provider')

and also COMMENTED this line:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

I'd look at errors, but am unsure to the name of the log these are written.

Any help would be appreciated!
 
Old 01-09-2003, 09:02 AM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
/var/log/maillog is the file where your errors are stored - along with everything else sendmail related.

Without an error message it's hard to figure out what's going wrong..

Slick.
 
Old 01-09-2003, 08:11 PM   #3
dleone
LQ Newbie
 
Registered: Jan 2003
Posts: 13

Original Poster
Rep: Reputation: 0
sendmail error logs attached.

[root@hacire log]# tail maillog
Jan 9 20:02:15 hacire sendmail[9122]: daemon MTA: problem creating SMTP socket
Jan 9 20:02:20 hacire sendmail[9122]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use
Jan 9 20:02:20 hacire sendmail[9122]: daemon MTA: problem creating SMTP socket
Jan 9 20:02:25 hacire sendmail[9122]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use
Jan 9 20:02:25 hacire sendmail[9122]: daemon MTA: problem creating SMTP socket
Jan 9 20:02:30 hacire sendmail[9122]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use
Jan 9 20:02:30 hacire sendmail[9122]: daemon MTA: problem creating SMTP socket
Jan 9 20:02:30 hacire sendmail[9122]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting
Jan 9 20:02:31 hacire sendmail[9142]: NOQUEUE: SYSERR(apache): can not chdir(/var/spool/clientmqueue/): Permission denied
Jan 9 20:09:25 hacire sendmail[9169]: NOQUEUE: SYSERR(apache): can not chdir(/var/spool/clientmqueue/): Permission denied
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FormMail problem sujte Red Hat 8 02-11-2005 03:00 PM
Help with Formmail cucolin@ Programming 0 06-25-2004 12:45 AM
Sendmail(FormMail) dineshb Linux - General 1 03-22-2004 07:54 AM
Help on FormMail.pl sanjibgupta Linux - Newbie 0 09-30-2003 01:21 AM
FormMail.pl cottonmouth Linux - Security 1 12-29-2002 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration