forwarding

This is a discussion on forwarding within the mailing.postfix.users forums, part of the Mail Servers and Related category; New to Postfix. Not sure how to accomplish this. Right now I've got MS-SMTP behind NAT. Ports 25 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-29-2005
D
 
Posts: n/a
Default forwarding

New to Postfix. Not sure how to accomplish this.

Right now I've got MS-SMTP behind NAT. Ports 25 and 587 forwarded.

I would like to forward 25 to Postfix, so Postfix can perform filtering, and
then Postfix can forward mail to MS-SMTP. Users could still auth-relay with
MS-SMTP on port 587.

I'm not worried about filtering at this point. I'd just like to get
forwarding going. I need to forward e-mail for three domains from Postfix to
MS-SMTP and disable all other traffic on Postfix. I've read doc after doc
and I'm still not sure how to make this happen. Will continue researching...
Help much appreciated.


Reply With Quote
  #2 (permalink)  
Old 05-29-2005
D
 
Posts: n/a
Default Re: forwarding

Allow me to simplify my example:

I've got two Postfix (pf1 and pf2) open relays and an MS-SMTP (ms).

DNS:
pf1.domain.com a 192.168.0.7
pf2.domain.com a 192.168.0.8
ms.domain.com a 192.168.0.2
domain.com mx pf2.domain.com

MUA sends mail for anybox@domain.com to pf1.domain.com (designated SMTP).
pf1.domain.com sends mail for anybox@domain.com to pf2.domain.com
(designated MX).

How do I get pf2.domain.com to forward mail for anybox@domain.com to
ms.domain.com.


Reply With Quote
  #3 (permalink)  
Old 05-29-2005
Jim Berwick
 
Posts: n/a
Default Re: forwarding

"D" <d@invalid> wrote in news:4299202e$0$85758$892e7fe2
@authen.white.readfreenews.net:

> How do I get pf2.domain.com to forward mail for anybox@domain.com to
> ms.domain.com.


something like:

main.cf:
relay_domains = domain.com
transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport:
domain.com smtp:[192.168.0.2]

If you do something like this, you will probably want to setup
relay_recipient_maps so that invalid mail is rejected upfront instead of
passed on and bounced later.
Reply With Quote
  #4 (permalink)  
Old 05-29-2005
D
 
Posts: n/a
Default Re: forwarding

Thanks.

I wonder, is it possible to use a wildcard in the virtual alias map?
Something like:

postmaster@* postmaster@domain.com


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0