LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2016, 12:30 PM   #1
dander062
LQ Newbie
 
Registered: Nov 2003
Location: Connecticut
Distribution: Debian 8.5
Posts: 27

Rep: Reputation: 15
Qmail – limit the inbound servers that can connect


I inherited a Qmail Toaster server, Qmail 1.05.
I am looking to limit the incoming servers to our own and a cloud spam filter.
Email is coming in other servers. Blocked by Spam Assassin well.

I have not found a file to control this.
In Exchange it would be: Hub Transport → Default Properties → Network →Receive mail from remote servers that have these IP addresses. Delete default rule to accept from everywhere. Add the ones you want. Restart the Microsoft Exchange Mail Submission service.
 
Old 03-12-2016, 08:15 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Check the /etc/tcp.smtp file
Or in your case, you may look at this.

Regards
 
Old 03-12-2016, 09:45 AM   #3
dander062
LQ Newbie
 
Registered: Nov 2003
Location: Connecticut
Distribution: Debian 8.5
Posts: 27

Original Poster
Rep: Reputation: 15
I found /etc/tcprules.d. Which has:
tcp.smtp tcp.smtp~ tcp.smtp-auth tcp.smtp-auth.cdb tcp.smtp.bak tcp.smtp.cdb tcp.smtp,v
That is the place to start. Thanks bathory.
 
  


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
Routing inbound email to multiple email servers Igby Linux - Server 5 12-31-2009 09:43 PM
Qmail inbound timeouts Fedora core 4 GregT-VT Linux - Newbie 1 10-06-2008 01:13 PM
Can't make inbound connections, and servers won't activate (no ports available) CJ Chitwood Linux - Networking 7 01-22-2008 07:53 PM
Qmail recipient limit? resistednormalc Linux - Software 0 07-14-2004 03:52 PM
QMaiL quota limit ysg08 Linux - Networking 1 06-11-2004 03:01 PM

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

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