Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-27-2011, 10:26 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 7

Rep: Reputation: 0
Question mail server naughtyness; mail from:user@server rcpt to:user@server on exim

okay i'll explain as best as i can...

i've got my mail server setup and running fine now mail comes in and out as expected. However, i've noticed a loop hole;
if a mail comes in with "rcpt to" and "mail from" the message is accepted and relayed on.

now i'm thinking this is wrong and i want to stop it.

i'm using exim and thought about putting a rule in that would do the following:

reject condition = if ($sender = $recipient)
condition = ! authenticated

can anyone confir if this sort of thing would work or if there is a better way to do do this ?
Old 01-27-2011, 12:53 PM   #2
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
It looks like you are potentially an open relay. you should be using authentication on your SMTP server. I have never used exim, but here is a link that links to some documents on how to configure this for exim.


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
where do mail go if user not exist on mail server(sendmail) Terry56 Linux - Server 1 01-22-2010 06:09 AM
How to transfer mail server(all mail account, message of all user) to another machine addil Linux - Newbie 4 04-13-2009 09:02 AM
exim/fetchmail no mail from POP3 server --->> local user ! help required! realos Linux - Networking 0 04-03-2003 05:43 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration