LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-15-2005, 07:45 AM   #1
ultrax
LQ Newbie
 
Registered: Jun 2005
Posts: 19

Rep: Reputation: 0
ppl can't send email to me... sendmail


Hi all!

For some reasons after I've setup sendmail server, I can send to everyone from outside or local but people from the outside can't send email through my email address. I'm wonderring if my ISP blocks the incoming port (pop3). When I checked on maillog status, it confirms that is send but I don't get any incoming emails.
 
Old 07-15-2005, 07:58 AM   #2
barghota
Member
 
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
You must configure the MTA to recieve mail

1. modify /etc/mail/sendmail.mc
locate the line
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
Comment out the line by prepending it with "dnl ", like so:
Code:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
2. Build a new sendmail.cf in the same directory by:
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

3. restart sendmail with:
# service sendmail restart
 
Old 07-15-2005, 08:27 AM   #3
ultrax
LQ Newbie
 
Registered: Jun 2005
Posts: 19

Original Poster
Rep: Reputation: 0
I don't see that line DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
in my sendmail.mc

Here's what I have:


include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`linux')dnl

dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl

dnl# Uncomment the line below to send outgoing mail through an external server:
dnl define(`SMART_HOST',`mail.mydomain.com')
dnl# No timeout for ident:
define(`confTO_IDENT', `0')dnl

dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl

dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
dnl FEATURE(`accept_unresolvable_domains')dnl
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl







Quote:
Originally posted by barghota
You must configure the MTA to recieve mail

1. modify /etc/mail/sendmail.mc
locate the line
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
Comment out the line by prepending it with "dnl ", like so:
Code:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
2. Build a new sendmail.cf in the same directory by:
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

3. restart sendmail with:
# service sendmail restart
 
Old 07-15-2005, 04:37 PM   #4
ultrax
LQ Newbie
 
Registered: Jun 2005
Posts: 19

Original Poster
Rep: Reputation: 0
does anyone have any ideas how to make users from outside SENDING email to you??
It's driving me nuts!!

ps : I'm using dynamic DNS.
 
  


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
slackware 8.1 and sendmail 8.12, changes? can't send email. RazorH Slackware 5 01-29-2010 06:56 AM
can't send email, smtp or sendmail dtra Linux - Software 1 11-19-2005 07:00 PM
Can't send email outside my server with sendmail rocketman3245 Mandriva 1 07-28-2004 11:01 PM
how to refuse to send email to some domain with sendmail? lzyking Linux - Software 3 09-16-2003 09:21 AM
sendmail won't send email robmainella Linux - Software 0 09-10-2003 05:54 PM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration