LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-27-2011, 09:26 AM   #1
bicpen
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, 11:53 AM   #2
Noway2
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:51 PM.

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