LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-19-2003, 10:12 AM   #1
NeccoWolf
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 39

Rep: Reputation: 15
SMTP issues


Täg,

I'm running a multi-server and I have some issues with SMTP, mainly I'm trying to test my mail accounts on a windows machine with outlook express.

First let me say that configuring DNS was way over my head and I didn't have enough time, so i bought a custom DNS account from dyndns.org. I have a CNAME set up as "mail.mydomain.net" referring to "mydomain.net."

Locally on my machine, everything works fine. I can send and receive mail from my account using mutt.

doing a "telnet localhost 110" and "telnet mail.mydomain.net 110" produce the same result, qpopper is mentioned and it works fine.

Here's the issue though, "telnet localhost 25" shows exim running on that port and whatnot, and it works fine on localhost.

However, "telnet mail.mydomain.net 25" connects to my machine
and it looks to be that it's connected to my machine, but nothing is mentioned about exim and whatnot, and no commands produce any results, it's almost like it's connected to my box, but nothing more.

I use qpopper as a pop server, which works fine. In Outlook I can receive mail from "mail.mydomain.net" under my username. Cool...

But once again, when I try to send mail, outlook says it's connected, but it eventually times out. and produces this error:

The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'foo@bar.com'. Subject 'test', Account: 'mail.mydomain.net', Server: 'relst8.net', Protocol: SMTP, Server Response: '550 relaying to <foo@bar.com> prohibited by administrator', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79

And /var/log/exim/rejectlog:

2003-01-19 11:05:47 refused relay (host) to <foo@bar.com> from <user@mydomain.net> H=linksys_router (winbox) [192.168.1.1]
------------------------------------------------------------------------------


Yes, i should also mention that i'm behind a router, and i have ports 110 and 25 fowarded to my server machine...

This is really puzzling, and i think the solution might be simple, but it doesn't look it so far!
 
Old 01-19-2003, 11:31 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Hi. The problem is as in the mesage from the SMTP server: the relaying. For some of the smtp servers (I do not know which one you use) after installation the sever accepts only the messages which are sent to local accounts only (local means the accounts defined as having mail boxes at machine running smtp server).
Basic smtp protocol allows anybody to send mails to anybody using your smtp server. So not only the mails to you are accepted. I can send a mail to my friend using your server. Such mails will be accepted by your server and send to the proper destination. This process is called relaying. To prevent for that (the spammers use this technique) it can be switched off.
So read more about server settings and relaying. And remeber that if you just switch on mails relaying you will find out for the moment that 99% of the server activity will be spam retransmission and for the moment your server will be treated for anybody as a spam server.
 
Old 01-19-2003, 12:47 PM   #3
NeccoWolf
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: 15
OK, i'm using exim for my smtp server i guess, at least in inetd.conf, the setting for smtp uses exim.

I'm finding a lot of information on sendmail and relaying and such, and not as much on exim. And the information for it seems to be in foreign languages that i'm not familiar with. %/

I guess i'll have to keep looking.

If it means anything else, I initially set up exim to use my isp's server for mail. Would this do any interfereing?

And another issue is MX, which i'm kinda clueless about.

Oh well, back i go...
 
  


Reply



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
Postfis SMTP forwarding and Incoming SMTP pheasand Linux - Software 0 04-27-2005 05:32 PM
Squid POP3 & SMTP issues mcatman Linux - Networking 5 02-28-2005 10:12 AM
SMTP AUTH Issues keithk23 Linux - Software 15 09-21-2004 12:34 PM
SMTP issues htm Linux - Networking 23 05-11-2004 03:34 AM
smtp issues allenbdwonderb Linux - General 1 01-15-2004 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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