Welcome to the most active Linux Forum on the web.
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 08-30-2012, 04:11 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 26

Rep: Reputation: 0
Question Questions about limiting client access to a postfix server.


I'm moving from sendmail to postfix, but as I am unfamiliar with postfix, I'd like to know if it is possible to do this sendmail scenario in postfix somehow:

In sendmail's /etc/mail/relay-domains I've specified which IP addresses that have the right to send mail through the server.

In postfix I cannot figure out how to achieve the same. I know how to limit it to not allow email for domains not handled by postfix. Though, this mean that anyone can open up a contact to my mailserver with any email client software (for example Thunderbird) and send an email to any of the domains postfix handles. I've come to understand this is default behaviour for Postfix, but surely it has to be possible to limit this function somehow.

The server is running Centos 6.3 with postfix-2.6.6-2.2.el6_1.

I'd really appreciate some help in sorting this out

Old 08-31-2012, 05:56 AM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
a default configuration should allow any ip address listed in mynetworks to relay mail. you probably know about smtp auth, and how it's safer, etc., but if you trust that ip address, adding it to mynetworks is faster and easier.



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
Postfix+Dovecot+MySQL+SASL/TLS : Client host rejected: Access denied CopalFreak Slackware 2 05-05-2011 06:41 PM
SMTP AUTH, Sendmail client to Postfix server Ricker42 Linux - General 32 12-09-2010 05:42 PM
[SOLVED] zencafe - server to client pc, all working except client pc getting internt access captain_sensible Linux - Newbie 3 06-08-2010 10:37 AM
Limiting access of a wireless client coreno Linux - Networking 6 04-21-2010 07:00 PM
access limiting on web server alex2323 *BSD 3 11-03-2009 11:50 AM > Forums > Linux Forums > Linux - Server

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