Postfix setup: transport dependent address rewriting

This is a discussion on Postfix setup: transport dependent address rewriting within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi NG, I am using: - SuSE Linux 8.2 - Postfix: postfix-2.0.6-8 in the following setup PC....


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-31-2003
Robert Hilbrich
 
Posts: n/a
Default Postfix setup: transport dependent address rewriting

Hi NG,

I am using:
- SuSE Linux 8.2
- Postfix: postfix-2.0.6-8

in the following setup
PC.LOCAL --WWW--> SMTP.ISP.COM.

I would like to setup the following behaviour:

1. All mails being delivered locally don't get their from-address rewritten
(All mails have pc.local / localhost as from-address)

2. All mail which cannot be delivered locally, have to be sent to the
smarthost (smtp.isp.com) with a rewritten eMail address (from - field)
(e.g. user@isp.com).

3. When I send a mail to an eMail adress without any domain (e.g. To:
user2), postfix should add @pc.local and deliver the mail locally.
I know, that I could set this up in my MUA, but I would like to have it in
the MTA, because it is easier to write scripts that way...

I tried to use the myorigin parameter, but this doesn't seem to be usable
for local mail, as a result of bad from-field.

I appreciate any help.

Robert Hilbrich





Reply With Quote
Reply


Thread Tools
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

vB 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 06:31 AM.


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