LinuxQuestions.org
Review your favorite Linux distribution.
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 09-12-2005, 05:02 PM   #1
joe.biz
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Rep: Reputation: 0
can't receive outside mail with sendmail


what configuratiosn changes do i need to make to allow sendmail to receive mail from the outside? i want it to be able to accept mail when its sent to the server's ip address like user@68.23.23.232
 
Old 09-13-2005, 01:42 PM   #2
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
(Assuming you've got sendmail running) - can you telnet to port 25 on that machine ("telnet localhost 25")? If so, does your IP allow incoming port 25 traffic?
 
Old 09-13-2005, 01:52 PM   #3
joe.biz
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Original Poster
Rep: Reputation: 0
situation resolved. for searchers finding this page in the future this is how i fixed it:




dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl


the last line there in the sendmail.mc didnt have the 'dnl' in front of it, so i just added it and then m4 it to a .cf. also i had to add the domain that mail be sent to in /etc/local-host-names and then restart sendmail with /sbin/service sendmail restart
 
Old 10-05-2005, 10:54 AM   #4
minhkhoa
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
what if my server has a nat ip

the same situtation, but my server is sit behind a firewall. it has a private ip address of 192.168.30.10. I have a isp ip address statically nat to the private ip address. my firewall has port 25 smtp open, but i cannot telnet to it. I can send email to outside but cannot receive email from other email like from yahoo.com. when i telnet from outside, i telnet to my server using the isp ip address which my firewall then forward to the private ip addresss. please let me know if i am missing any configuration.
 
  


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 -- Can not receive mail fhleung Linux - Networking 11 12-14-2005 05:11 PM
sendmail can send mail but not receive exper Linux - Software 0 12-02-2003 04:45 AM
Can't receive mail with sendmail rufassa Linux - Networking 7 11-05-2003 09:30 PM
Sendmail 8.11.2 Receive mail problem warath Linux - Networking 1 10-20-2001 03:17 PM
Can't get sendmail to receive mail schurma Linux - Networking 4 04-16-2001 06:03 PM

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

All times are GMT -5. The time now is 10:23 AM.

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