Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 01-31-2008, 10:05 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2008
Posts: 1
OS: linux fedora core


Sendmail won't deliver email if it originates from another server

Hi there,

I've had my servers setup for years, and working well. But I've recently been making some dns and other changes (like trying to install milter), and now I've run into a strange problem.

It's a Fedora Core something server running the latest sendmail and bind.

my /etc/aliases/file contains an entry like:

editor: myemail@myisp.com

If I send an email from the problematic server eg

> echo hello | mail editor@problemserver.com

then the email gets delivered to myemail@myisp.com (as you would expect).

However, if the email comes from an external source, eg I send an email to editor@problemserver.com from my PC, then the email does not get delivered. In fact there is not even an entry recorded in /var/log/mail (nor in /var/log/*), not an error message to be found.

Does anyone have a suggestion for me to look into?

thanks
dkirk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 02-01-2008, 07:38 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Sendmail won't deliver email if it originates from another server

Take a look at the access file in "/etc/mail". I had to set mine up to look like.

Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
Connect:192.168.200 RELAY
Connect:stone.bp RELAY
Connect:jow.bp RELAY
Connect:165.236.177.abc RELAY

The kicker was the last line. It is my work IP number and a fairly static IP number. I had to enter it into the file.

Sendmail.mc had the following line added.
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl

The sendmail.mc sent with Fedora is for email that originates with 127.0.0.1. When you start listening for emails on port 25, the email spammers hammer you if you relay stuff.

My email is a comcast.net and EVERYBODY blacklists comcast except for certain sites that are comcast.net approved. But that is outgoing email not incoming.

Also, your ISP could block all port 25 (smtp) packets. The only way I know to test that is from your external site do" "telnet problemserver.com 25". If you get through type "HELP" (in caps). If you don't get through your ISP or firewall is blocking port 25. Try the VRFY and EXPN commands and then look at your logs. Also try "debug"! There used to be a trapdoor back way into sendmail with root privledges years ago. Now it just writes a message to your logs.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 02:22 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85