LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2003, 09:28 AM   #1
djcomplex
LQ Newbie
 
Registered: Oct 2002
Distribution: Mandrake 9.x
Posts: 18

Rep: Reputation: 0
sendmail problem


hey all, ive got a problem with sendmail which is driving me CRAZY!

ive made a lil php mailing list sitting on a mdk 9.2 box running apache , php and the cursed sendmail!

ive used webmin to configure sendmail and in sendmail options ive told sendmail to send outgoing mail via smtp.blah.blah which is my companies smtp server

everything seems to work ok sendmail starts fine, the script works fine, but no mail is ever recieved by the users i know the code works so that isnt an issue. I checked the sendmail logs nothing in error's so i checked the info log which showed me this

Nov 25 12:39:19 mdk sendmail[8465] : hAPCdJtC008465: from=apache, size=146, class=0, nrcpts=0, msgid=<long number thing@hostname>, relay=apache@localhost


there was quite a few of them, now from my limited experience of working with sendmail i know there should be another entry for that mail id basically saying the destination email address and say something like message accepted for delivery, but there aint none!

something else i noticed is the nrcpts=0 which if i remember correctly means number of recipieants so its saying theres no recipeants?

if anyone has any advice i would be so grateful

many thanks
david
 
Old 01-12-2004, 12:38 AM   #2
zapperabhi
LQ Newbie
 
Registered: Jan 2004
Posts: 24

Rep: Reputation: 16
probably sendmail is not listening on smtp port.
you have to set DaemonPortOptions in your sendmail.cf file in /etc/mail or just /etc

here's how i did it: just add the following two lines in sendmail.cf:

O DaemonPortOptions=Port=smtp,Addr=192.168.0.1,Name=MTA
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1,Name=MLA

comment any previous "O DaemonPortOptions" lines with a hash(#).
192.168.0.1 is your server ip, change it to whatever u have.

restart sendmail to apply new settings.
this should work..
have fun
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail problem hinetvenkat Linux - Networking 1 04-18-2005 07:55 AM
Problem with sendmail juanb Linux - Software 0 01-14-2004 10:18 AM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 10:08 AM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 05:00 PM
please help me with a sendmail problem sthorp Linux - Networking 0 10-22-2001 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration