LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-2016, 05:33 PM   #1
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Sendmail safe to REJECT messages FROM domain itself?


Hi all,

Recently I've seen clients connecting to my sendmail server and then mails getting sent with FROM(for example info@mydomain.com) of the local domain.

To stop this I added a FROM line in access map with
Code:
To:mydomain.com OK
FROM:mydomain.com ERROR:"550 Blablabla"
This seems to work fine. The users of the domain are using their ISP SMTP server for outgoing mail so the TO access line is matching.
There is only one corner case: forwarding/sending mails within the same domain(TO and FROM in mydomain.com): this returns a message undeliverable with the configured message.

Can I just disable processing outgoing mail for mydomain on that server and remove the FROM access rule? I figured the mail clients from the users are using the ISP smtp anyway. If I want to disable: any pointers?

Am I missing something here?

I know people can still go to an open relay and act like mail is coming from my domain(MAIL FROM/ENVELOPE). However the trail would not have my server in it.
I'm afraid that mails might seem legit (by for example antispam, ...) if they're actually passing through mydomain. Does this really make a difference?
 
  


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
[SOLVED] Freeradius no Access-Reject messages i_nomad Linux - Software 1 12-20-2011 08:17 AM
Postfix: customized reject message per virtual domain (or user)? exscape Linux - Server 2 07-31-2010 02:53 AM
sendmail: how to reject based upon msgid ? slacker_et Linux - Server 3 04-28-2010 01:39 PM
[SOLVED] -current dbus-daemon shows Reject messages danielldaniell Slackware 4 08-03-2009 03:36 AM
reject=451 sendmail spooge Linux - Networking 1 06-19-2007 11:20 PM

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

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