LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-30-2005, 03:23 PM   #1
narmida
Member
 
Registered: Mar 2005
Location: Alphen aan den Rijn , netherlands
Distribution: core
Posts: 57

Rep: Reputation: 15
Question [postfix] allow relay from 1 ip


Hello,

I have a problem i cant find the right sollution for even using the search.

I got 2 servers on the inet.

for special reasons etc testing bla die bla.

Server 1 :
Running sendmail and wants to relay its email to server 2 .

Server 2 :
Running postfix and a webhostingserver etc.


server 1 configures server 2 as a smtp
and server 2 the postfix server must relay all email from the ip of server 1

the question is how do i let postfix know that i trust all traffic from that ip ?


i cant find it etc.

please help im on a deadline
 
Old 11-30-2005, 03:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's all in the default postfix file... check the "mynetworks_style = host" and "mynetwork= 1.2.3.4" options
 
Old 11-30-2005, 04:16 PM   #3
narmida
Member
 
Registered: Mar 2005
Location: Alphen aan den Rijn , netherlands
Distribution: core
Posts: 57

Original Poster
Rep: Reputation: 15
t's all in the default postfix file... check the "mynetworks_style = host" and "mynetwork= 1.2.3.4" options

__________________
Chris
------------

RHCE #804005644217728


Nice a fellow RHCE ;-)>
im RHCE # 807100473304364

so if i put in main.cf
mynetworks_style = host
mynetwork= ip of customer

it should relay the email ?

that is it ?


hmmm i thought there was more to it ...

Not my every day job to install a mail server
 
Old 12-01-2005, 12:20 PM   #4
narmida
Member
 
Registered: Mar 2005
Location: Alphen aan den Rijn , netherlands
Distribution: core
Posts: 57

Original Poster
Rep: Reputation: 15
tested it but it doesnt work.

maybe we missed a setting.

Ive put the ip of the server in the DNS for reverse lookup sill doesnt work...

When in trie to send an email thru it just hangs nothing in the logs


anyone have an id what im doing wrong
 
  


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
postfix and relay host mozilla Linux - Networking 1 11-23-2005 08:42 PM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
Postfix Relay eeades Linux - Software 0 02-01-2005 03:44 PM
Postfix relay problem txtoolman Linux - Software 0 12-16-2003 01:09 PM
relay postfix SkYzOpReNiCk Linux - Networking 5 01-22-2002 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:45 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
Open Source Consulting | Domain Registration