LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-13-2008, 09:04 AM   #16
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
nope


there is nothing whatsoever in my /etc/mail/mailertable file
 
Old 02-13-2008, 09:19 AM   #17
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS
Posts: 375

Rep: Reputation: 38
Quote:
Originally Posted by zonemikel View Post
is that something i would set up on my nameserver (yahoo) or on my server?

I know it used to work, then i reinstalled and it just stopped working. It dosen't make sense that i cant even mail other users on the same linux box! Much less external email.

My point here was that Yahoo is going to receive email from a server identifying itself as the mail server for zonemikel.com.
Yahoo is going to verify this my looking up the MX record for that domain:
Code:
dig zonemikel.com mx

; <<>> DiG 9.2.4 <<>> zonemikel.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42083
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;zonemikel.com.                 IN      MX

;; ANSWER SECTION:
zonemikel.com.        1200    IN      MX      20 mx1.biz.mail.yahoo.com.
zonemikel.com.        1200    IN      MX      30 mx5.biz.mail.yahoo.com.

;; AUTHORITY SECTION:
zonemikel.com.          86392   IN      NS      yns1.yahoo.com.
zonemikel.com.          86392   IN      NS      yns2.yahoo.com.
zonemikel.com.          86392   IN      NS      ns8.san.yahoo.com.
zonemikel.com.          86392   IN      NS      ns9.san.yahoo.com.

;; ADDITIONAL SECTION:
ns8.san.yahoo.com.      8972    IN      A       66.218.71.205
ns9.san.yahoo.com.      8972    IN      A       216.109.116.20
yns1.yahoo.com.         105324  IN      A       66.218.71.205
yns2.yahoo.com.         105324  IN      A       216.109.116.20

;; Query time: 11 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb 13 10:14:36 2008
;; MSG SIZE  rcvd: 228
So if it cannot verify that the connecting mail server is either mx1.biz.mail.yahoo.com or mx5.biz.mail.yahoo.com it will assume that it is fraudulent.
 
Old 02-14-2008, 06:01 PM   #18
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
So what do you guys suggest i do ?
 
Old 02-14-2008, 09:12 PM   #19
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Just to clarify, are you able to send mail anywhere at all at the moment? The only error message I can see that may be a problem was where it said it couldn't identify the zonemikel.zonemikel.com. domain (note the trailing '.'). If that is the problem I can't tell if it's a config error on whatever app on your web server is sending the mail, or if it's a mail config/DNS issue.

You could try a text search with grep:
Code:
sudo grep -ir 'zonemikel\.zonemikel\.com\.' /etc/*
And then do the same for wherever you web apps are located.
 
Old 02-15-2008, 06:21 PM   #20
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
Code:
/var/spool/mqueue/qfm1ECBbkK030387:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/qfm1ECBbkK030387:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/dfm1ECBbkK030387:<409@zonemikel.zonemikel.com>... Deferred: Na                                                              me server: zonemikel.zonemikel.com.: host name lookup failure
/var/spool/mqueue/qfm1EEGbkK030600:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/qfm1EEGbkK030600:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/dfm1EEGbkK030600:<409@zonemikel.zonemikel.com>... Deferred: Na                                                              me server: zonemikel.zonemikel.com.: host name lookup failure
/var/spool/mqueue/qfm1EEGbkL030600:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/qfm1EEGbkL030600:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/dfm1EEGbkL030600:<409@zonemikel.zonemikel.com>... Deferred: Na                                                              me server: zonemikel.zonemikel.com.: host name lookup failure
/var/spool/mqueue/qfm1EF6bkK030661:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/qfm1EF6bkK030661:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/dfm1EF6bkK030661:<409@zonemikel.zonemikel.com>... Deferred: Na                                                              me server: zonemikel.zonemikel.com.: host name lookup failure
/var/spool/mqueue/qfm1EGBMjR030739:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/spool/mqueue/qfm1EGBMjR030739:MDeferred: Name server: zonemikel.zonemikel.c                                                              om.: host name lookup failure
/var/mail/root:<nobody@zonemikel.zonemikel.com>... Deferred: Name server: zonemi                                                              kel.zonemikel.com.: host name lookup failure
/var/mail/root:<nobody@zonemikel.zonemikel.com>... Deferred: Name server: zonemi                                                              kel.zonemikel.com.: host name lookup failure
/var/mail/root:<nobody@zonemikel.zonemikel.com>... Deferred: Name server: zonemi                                                              kel.zonemikel.com.: host name lookup failure
/var/mail/root:<nobody@zonemikel.zonemikel.com>... Deferred: Name server: zonemi                                                              kel.zonemikel.com.: host name lookup failure
and i get returned mail with this
\
Code:
   ----- The following addresses had permanent fatal errors -----
<nobody@zonemikel.zonemikel.com>

   ----- Transcript of session follows -----
<nobody@zonemikel.zonemikel.com>... Deferred: Name server: zonemikel.zonemikel.com.: host name lookup failure
Message could not be delivered for 5 days
Message will be deleted from queue

Last edited by zonemikel; 02-15-2008 at 06:24 PM.
 
Old 02-15-2008, 07:41 PM   #21
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Did you run the grep statement over /etc? Also, since you have 192.168.2.150 zonemikel.zonemikel.com zonemikel in /etc/hosts, I assume that you can ping zonemikel.zonemikel.com from the hosts on your LAN?
 
Old 02-16-2008, 12:47 PM   #22
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
if i ping "zonemikel" from another machine it resolves to my linux box on my local lan.

If i ping zonemikel.com from another machine on my lan it resolves to my outer ip 98.something

When i do the grep inside my etc/ folder (like you had it) it returns nothing.

Sorry im such a noob, thanks for the help gilead
 
Old 02-16-2008, 02:25 PM   #23
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
OK, the only one you didn't mention was the results for ping zonemikel.zonemikel.com.

From what I've read of your config, that should resolve to your 192.168.2.150 address if you run the ping from your web server. I'm assuming that box has 2 NICs; the 98.x.x.x interface is the internet NIC and the 192.168.2.150 address is the LAN NIC. Next, if you run ping zonemikel.zonemikel.com from the other boxes on your LAN, it should also resolve to your 192.168.2.150 address.

If it doesn't I'd suggest modifying the hosts files on the boxes so that all requests to zonemikel.zonemikel.com resolve to your web server. I'm also assuming your mail server runs on that box.

Since you're relying on Yahoo for DNS lookups and they don't know about zonemikel.zonemikel.com, I'm guessing that's part of the problem. If any of your boxes are using Yahoo's DNS to resolve zonemikel.zonemikel.com I'm guessing that's the other part of the problem.

You could also check your web app (phpBB?) software setup and see if you can use localhost as the mail server address instead.
 
Old 02-17-2008, 12:44 PM   #24
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
edited deleted

Last edited by zonemikel; 02-27-2008 at 06:54 AM.
 
Old 02-21-2008, 02:17 PM   #25
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
Still nothing.

edited deleted

Last edited by zonemikel; 02-27-2008 at 06:54 AM.
 
Old 02-27-2008, 06:54 AM   #26
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gilead View Post
It's worth checking firstly that your mail server is running. Do you get similar output if you run the following command?
Code:
# netstat -tnap | grep :25
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     2884/sendmail: acce
If you do, then you may need to relay your non-local mail through your ISP. With sendmail you add a SMART_HOST entry to sendmail.mc and re-generate your sendmail.cf file. For example:
Code:
sendmail.mc entry
define(`SMART_HOST', `mail.your.isp.address')dnl
after much banging my head against the wall i think this is right. The reason i didnt do it in the beggining is because i dont know where sendmail.mc is, how do i regenerate my sendmail.cf file in slackware?

when i go to send mail this is as far as it gets
Code:
Running /var/spool/mqueue/m1RBCejI001904 (sequence 1 of 16)
m1RBCejI001904: locked

Running /var/spool/mqueue/m1RBCijI001935 (sequence 2 of 16)
<nobody@LinBox.zonemikel.com>... Connecting to premium5.geo.yahoo.akadns.net. via esmtp...

Last edited by zonemikel; 02-27-2008 at 09:14 AM.
 
Old 02-27-2008, 09:29 AM   #27
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
Ok i think i got it to work ?

all i did was put my box name as "zonemikel" and my domain name as "com" this gives a zonemikel.com

Now i get emails returned like this so i think they are communicating.
Code:
<<< 553 Mail from 98.199.54.196 not allowed - 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see http://postmaster.yahoo.com/550-bl21.html [550]
... while talking to d.mx.mail.yahoo.com.:
i went and removed my ip from spanhaus pbl

and i get this when sending mail to msn
Code:
 550 DY-001 Mail rejected by Windows Live Hotmail for policy reasons. We generally do not accept email from dynamic IP's as they are not typically used to deliver unauthenticated SMTP e-mail to an Internet mail server. http://www.spamhaus.org maintains lists of dynamic and residential IP addresses. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit http://postmaster.live.com for email delivery information and support
554 5.0.0 Service unavailable
so i think once the spamhaus updates (30min to 48hrs) i will be able to send email.

Thanks to anyone who read through all this crap
 
Old 02-27-2008, 07:30 PM   #28
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by zonemikel View Post
The reason i didnt do it in the beggining is because i dont know where sendmail.mc is, how do i regenerate my sendmail.cf file in slackware?
In Slackware there's a sendmail-cf package as well as the sendmail package. You should be able to modify the sendmail.mc file and re-generate sendmail.cf once that's installed.

If you can't find that, a quick way to get it working is to modify sendmail.cf directly (this is not the preferred way - you can lose your changes when upgrading). The format is:
Code:
DSyourispsmail.server.name
 
  


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
Need to received mail from postfix to desknow mail server lakshan Linux - Server 0 10-24-2007 06:27 AM
Squirrelmail no mail received in INBOX antanas Linux - Software 7 04-24-2007 05:13 AM
Programs to edit received mail? elyk Linux - Software 5 02-03-2007 12:11 PM
Ok, i have just received distros in mail, now wich one? Optyx Linux - Newbie 1 01-18-2004 01:56 AM
pop3 mail receiver sami Programming 2 11-23-2002 07:12 AM


All times are GMT -5. The time now is 01:31 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