LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2008, 01:15 AM   #1
bittus
Member
 
Registered: Aug 2006
Posts: 153

Rep: Reputation: 15
Can I specify domain name in mynetworks ?


Hi,

My doubt is can I specify domain name in "mynetworks"

For example:

Suppose example.com ---> 61.25.128.31

In the main.cf, can i specify like:

mynetworks = 192.168.1.0/24, 127.0.0.0/8, ........, example.com

instead of

mynetworks = 192.168.1.0/24, 127.0.0.0/8, ........, 61.25.128.31

My requirement is to permit all mails from the domain example.com, independent of their origin. So that even if it is coming from a proxy server, the mail will reach my user. (I have disabled relaying in my server)

Thanks,
 
Old 03-24-2008, 08:48 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You can only specify networks not names.
 
Old 03-24-2008, 11:50 AM   #3
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15


Thanks a lot.
 
  


Reply


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
Restrict users of a domain to send/receive mail from one particular domain tanveer Linux - Server 0 09-02-2007 03:01 AM
amavisd-new (banned mynetworks) ? stomach Linux - General 1 03-09-2006 08:09 PM
Cant get entry in bind to work with domain.com instead of www.domain.com pxes351 Linux - Networking 12 05-09-2005 07:20 AM
Meaning of mask number on the mynetworks under Postfix blur Linux - Software 0 05-05-2004 01:07 PM
Joining a machine from another domain to my linux samba domain acummins Linux - Networking 0 09-13-2003 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration