LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-14-2007, 04:04 PM   #1
rhxk
LQ Newbie
 
Registered: Nov 2004
Distribution: FC6
Posts: 12

Rep: Reputation: 0
can receive emails but cannot send it?


Hi All,

I just installed FC6 and when I try to send email to say @yahoo.com, it bounces back. I just did some google search and configured the sendmail.cf for it to receive email from outside the network. But didn't find anything that says what to do to send it. So I have bunch of files in /var/spool/mqueue that's accumulating(logrotate stuff).
I think there's something very obvious I'm missing here, but dunno what...
Plz let me know what additional info I can post to help describe my situation here....thanx...

--Rob
 
Old 01-14-2007, 06:13 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Are you configured to smtp thru your ISP or is this you sending from your own MTA? If it's from your own MTA, that would be obvious of the reasons why Yahoo would block such emails, but then again, you gave us no real good information, errors, error codes or a snippet of the returned email to tell you the exact problem.
 
Old 01-14-2007, 07:35 PM   #3
rhxk
LQ Newbie
 
Registered: Nov 2004
Distribution: FC6
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by trickykid
Are you configured to smtp thru your ISP or is this you sending from your own MTA? If it's from your own MTA, that would be obvious of the reasons why Yahoo would block such emails, but then again, you gave us no real good information, errors, error codes or a snippet of the returned email to tell you the exact problem.

What I'm trying to setup here is for my linux(behind a router) to send the results of logrotate(or just about anything else) to my account at yahoo.com for which I check continuously. While trying to figure out how to make that happen, another helper page showed me how to configure sendmail to receive emails from other domains (not needed but a definite plus). In any case, even when I use pine to send an email, it bounces back (does this mean that I'm using my own MTA?)


Here's the outcome of the bounced email.

Code:
Parts/Attachments:
   1   Shown     12 lines  Text
   2   Shown    299 bytes  Message, "Delivery Status"
   3   Shown    707 bytes  Message, "testing after sendmail"
   3.1 Shown      1 lines  Text
----------------------------------------

    **********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Sat, 13 Jan 2007 22:15:24 -0800
from host.mydomain.com [127.0.0.1]

   ----- Transcript of session follows -----
<me@yahoo.com>... Deferred: Connection timed out with a.mx.mail.yahoo.com.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

    [ Part 2: "Delivery Status" ]

Reporting-MTA: dns; host.mydomain.com
Arrival-Date: Sat, 13 Jan 2007 22:15:24 -0800

Final-Recipient: RFC822; me@yahoo.com
Action: delayed
Status: 4.4.1
Remote-MTA: DNS; a.mx.mail.yahoo.com
Sorry, I've altered my email addr & machine name.

Plz let me know what other information I can give to resolve this thing....thanx...

--Rob
 
Old 01-14-2007, 07:46 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
You'll probably want to send to another email besides Yahoo for several reasons:

1. You're most likely not sending from a FQDN (Fully Qualified Domain Name).
2. You're on a DHCP connection with your ISP on your home account.
3. Yahoo.com in most cases will consider everything spam or defer it if no domain keys are setup to assure you are sending from where you say your sending from.

If you want to be able to send to Yahoo, get a domain name, a static IP with proper reverse DNS resolution and assign domain keys to your mailings..
 
Old 01-15-2007, 12:03 AM   #5
rhxk
LQ Newbie
 
Registered: Nov 2004
Distribution: FC6
Posts: 12

Original Poster
Rep: Reputation: 0
& I thought I could vi something & get it fixed...lol

Unfortunately numbers 1 & 2 & 3 do apply to me....so i guess I'm out of luck & no way to work around it...

...thanx trickykid for your input....truly appreciate it....thanx....

--Rob
 
Old 01-15-2007, 07:18 AM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by rhxk
& I thought I could vi something & get it fixed...lol

Unfortunately numbers 1 & 2 & 3 do apply to me....so i guess I'm out of luck & no way to work around it...

...thanx trickykid for your input....truly appreciate it....thanx....

--Rob
You could always setup your server to send thru your ISP's STMP server, which is probably the only way around it to send to Yahoo.
 
Old 03-06-2007, 05:24 PM   #7
recursio
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Rep: Reputation: 0
do you have the following line in your /etc/mail/sendmail.mc file

FEATURE(`access_db')

If so, what does your /etc/mail/access file look like?

You will need to add your public IP address to the access file as a RELAY

be sure to run makemap hash on both the mc file and the access file before you 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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot receive emails from outside world consistgd Linux - Software 3 11-21-2006 06:45 PM
Can't Send or Receive Emails with Hula markw8500 Linux - Software 0 11-20-2005 12:52 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 08:31 PM
Can send but not receive any emails with Qmail. anorman Linux - Software 1 12-11-2003 03:51 PM
Can't send or Receive Emails amohime Linux - Networking 4 04-11-2003 03:42 AM


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