LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 07-21-2008, 02:14 PM   #1
bman22
Member
 
Registered: May 2007
Distribution: OpenSuSE 11.0, OpenSuSE 11.1
Posts: 32

Rep: Reputation: 15
Sendmail issue


I am running a openSuSE 11.0 OS and i have setup a mail server and apache2 and some other servers. I have tried to send plenty of emails to the server and all i get is a response from the postmaster at my email provider. I realized that the port 25 must not be open in my router, but it was. I also opened port 25 in my firewall, with no sucess. WHen i put telnet localhost 25 i get a connection fine, but from anything else, even on the same network it gives me a connection refused. I read another topic here, and it said to use netstalt -npl and see if sendmail was running. It is with the name sendmail: acce. I really need help with this, i have no clue what is wrong. I have never before successfully set up a mail server and i was hoping this time could be different

P.S. I can send mail to another server fine, just not recieve.

Bman22
 
Old 07-21-2008, 03:19 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
Wait, you don't have port 25 open at the router but do on the machine? If you want to receive emails to a domain that this MTA is setup for, you need to have port 25 open to the world to receive email, not just the machine if it's sitting behind this router. Connection refused usually means it's blocked.
 
Old 07-21-2008, 03:36 PM   #3
bman22
Member
 
Registered: May 2007
Distribution: OpenSuSE 11.0, OpenSuSE 11.1
Posts: 32

Original Poster
Rep: Reputation: 15
i have port 25 open on both the router and the machine, but still not even machines on the network can telnet to it. Nor can ones outside of the network. It is a problem with the machine itself
 
Old 07-21-2008, 03:49 PM   #4
bman22
Member
 
Registered: May 2007
Distribution: OpenSuSE 11.0, OpenSuSE 11.1
Posts: 32

Original Poster
Rep: Reputation: 15
ok well i found out why i couldn't telnet from a different machine to my server. It has to do with the fact that sendmail is configured not to allow remote connections. I can't figure out what could be causing my problem with recieving mail. If it helps, the current domain that my server is registered to is a subdomain meaning it is not the highest level server on the domain. Would this affect receiving mail?
 
Old 07-21-2008, 08:43 PM   #5
zer0python
Member
 
Registered: Sep 2003
Posts: 83

Rep: Reputation: 17
Question

Have you checked the logs? to see if there is even an attempt of receiving the email? also (you have pop/imap installed as well right?)

Last edited by zer0python; 07-21-2008 at 08:48 PM. Reason: missed the last reply! :(
 
Old 07-21-2008, 11:12 PM   #6
bman22
Member
 
Registered: May 2007
Distribution: OpenSuSE 11.0, OpenSuSE 11.1
Posts: 32

Original Poster
Rep: Reputation: 15
yes i checked the logs, and i saw not even a suggestion that the server was getting mail. Also i found out that the whole no remote connections is bad, so im back to square one. Why wont my machine let anything connect via port 25. I had tried turning off the firewall, and tried it then, but we had a huge thunderstorm earlier and it looks like my router lost all of the ip forwarding things so i will try again using the local ip.
 
Old 07-21-2008, 11:28 PM   #7
bman22
Member
 
Registered: May 2007
Distribution: OpenSuSE 11.0, OpenSuSE 11.1
Posts: 32

Original Poster
Rep: Reputation: 15
ahhhh! I fixed it. Stupidest mistake ever. I had never gotten this far so i didn't know you needed to configure the MTA as well as sendmail. I saw the mta and though mta? ohh Mail transfer agent so i went into yast and set it up, now i can sucessfully telnet to it. Just need to wait until the morning to mess with the ip routing tables on my router to put the server back on the internet.
 
Old 07-23-2008, 01:57 AM   #8
bman22
Member
 
Registered: May 2007
Distribution: OpenSuSE 11.0, OpenSuSE 11.1
Posts: 32

Original Poster
Rep: Reputation: 15
ok well now that i can test my server, i did and it recieved fine. Issue now is i cant send. Whenever i try i get this:
----- The following addresses had permanent fatal errors -----
<"myemail"@"googlesemail".com>
(reason: 553 5.3.5 system config error)

----- Transcript of session follows -----
553 5.3.5 mysite.theserviceprovider.com. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error

Now i have added my server name to local-host-names like i had read, but all of these other topics seem to be about mx and relaying. I can send to localhost fine, just not an outside server. Now i know it isn't MX records because i could send fine before i got receiving working.

I have no clue how to fix this, some help would be very helpful.

bman22
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail issue dody1313 Solaris / OpenSolaris 2 09-06-2007 06:02 AM
Sendmail issue (did not issue MAIL/EXPNVRFY/ETRN ...) Blackout_08 Linux - Server 0 08-08-2007 01:10 PM
Sendmail issue jaysin_aus Linux - Software 5 10-05-2006 12:46 PM
Sendmail Issue haym37 Linux - Software 3 07-24-2006 06:54 AM
Sendmail issue Anibal Slackware 4 12-08-2005 03:29 PM


All times are GMT -5. The time now is 01:56 AM.

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
Open Source Consulting | Domain Registration