LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2005, 02:59 AM   #1
dev_mohamed
LQ Newbie
 
Registered: Jun 2005
Posts: 18

Rep: Reputation: 0
sendmail doesn't send emails outside


Dear all,
i have a debian box with sendmail i try webmin to access users mail box the mail server send emails to the local accounts only, i try to send emails outside for Example to yahoo or hotmail nothing was send i also try to write an php script that send email using the local sendmail to send email to my hotmail account and i run it but nothing .
please help.

Thank you.
 
Old 08-28-2005, 03:35 AM   #2
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
dev_mohamed

In sendmail.mc you have a line like this

Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Change it to this

Code:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Make sendmail.cf, restart sendmail

Pete
 
Old 08-28-2005, 03:42 PM   #3
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
That DAEMON_OPTIONS only affects incoming mail connections, so leave it enabled if you want local mail delivered locally. You need to change the SMART_HOST line to specify your ISP's SMTP server, recompile sendmail.cf as Pete M suggests and restart sendmail.
 
  


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
Can snort send emails? mikeghet Linux - Security 3 05-01-2005 07:40 PM
send 50-100 emails? codec Linux - Software 1 11-23-2004 07:28 AM
Can't recieve emails but can send them mosherben Linux - Software 12 08-10-2004 11:22 AM
Can send but not receive any emails with Qmail. anorman Linux - Software 1 12-11-2003 02:51 PM
Can't send or Receive Emails amohime Linux - Networking 4 04-11-2003 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:40 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