Re: Combining transport and aliases

This is a discussion on Re: Combining transport and aliases within the mailing.postfix.users forums, part of the Mail Servers and Related category; From: "Matt Fretwell" <mattf@bauchan.org> > Michael Nguyen wrote: [snip] > An access map with ...


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-26-2005
Michael Nguyen
 
Posts: n/a
Default Re: Combining transport and aliases

From: "Matt Fretwell" <mattf@bauchan.org>
> Michael Nguyen wrote:


[snip]

> An access map with DISCARD?


I don't think that this is what I'm looking for, but I could be wrong.
Could you explain what you had in mind?

> A transport entry with discard? What exact
> scenario are you trying to cater for?


Well, the scenarios I stated are the ones I want to support. The most
common scenario is a customer email (user1@twentyten.org) comes in and that
email must be sent to the proper SMTP server. This is done very easily
using MySQL transport maps.

It hasn't been that easy to integrate the other scenarios. Sometimes the
email that comes in is an alias to another address and THAT address has the
transport map. Sometimes the email that comes in just needs to be forwarded
to another address (e.g. userx@hotmail.com).

How should I set it up so that everything is done in the right order?
Example:

- Email comes in for user2@twentyten.org
- transport map is checked -- user has no transport map
- user table is checked. user2@twentyten.org maps to user1@twentyten.org
- user1@twentyten.org should be sent to europe7.twentyten.org:2525
- mail is delivered

It would also work if aliases were always checked first, then transport...
Like I said, I can do each step of this individually, but I'm having trouble
getting the whole thing to work (i.e, having the aliases get looked up
properly and then having the transport maps looked up properly).


Michael

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 03:20 PM.


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