LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can receive emails but cannot send it? (https://www.linuxquestions.org/questions/linux-general-1/can-receive-emails-but-cannot-send-it-519251/)

rhxk 01-14-2007 03:04 PM

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

trickykid 01-14-2007 05:13 PM

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.

rhxk 01-14-2007 06:35 PM

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

trickykid 01-14-2007 06:46 PM

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.. ;)

rhxk 01-14-2007 11:03 PM

& 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

trickykid 01-15-2007 06:18 AM

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.

recursio 03-06-2007 04:24 PM

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


All times are GMT -5. The time now is 11:20 AM.