[ale] Looking for advise on domain names and other info wrt local network.

Jim Popovitch yahoo at jimpop.com
Tue Aug 12 19:34:57 EDT 2008


Maybe I'm not seeing all of your question (stupid gmail bb app).. (Top
posted too!) But the generic mapping line in main.cf will convert
local users to external users. I.E jimpop at localhost or
jimpop at server.foo into jimpop at realdomain.tld

Hth,

-Jim P.



On 8/12/08, Jim Lynch <ale_nospam at fayettedigital.com> wrote:
> Jim Popovitch wrote:
>>
>> On Sun, Aug 10, 2008 at 5:08 PM, Jim Lynch
>> <ale_nospam at fayettedigital.com> wrote:
>>
>>>
>>> Thanks. But
>>>
>>
>> .....
>>
>>>
>>> I don't want messages tossed.  :(
>>>
>>
>> :-) Sorry.  It's the weekend.
>>
>> What you want is generic mapping (the next section down in that Postfix
>> link)
>>
>> -----------------------------------------------
>> Generic mapping for outgoing SMTP mail
>>
>> Some hosts have no valid Internet domain name, and instead use a name
>> such as localdomain.local. This can be a problem when you want to send
>> mail over the Internet, because many mail servers reject mail
>> addresses with invalid domain names.
>>
>> With the smtp_generic_maps parameter you can specify generic(5) lookup
>> tables that replace local mail addresses by valid Internet addresses
>> when mail leaves the machine via SMTP. The generic(5) mapping replaces
>> envelope and header addresses, and is non-recursive. It does not
>> happen when you send mail between addresses on the local machine.
>>
>> This feature is available in Postfix version 2.2 and later.
>>
>> Example:
>>
>>     /etc/postfix/main.cf:
>>         smtp_generic_maps = hash:/etc/postfix/generic
>>
>>     /etc/postfix/generic:
>>         his at localdomain.local		hisaccount at hisisp.example
>>         her at localdomain.local		heraccount at herisp.example
>>         @localdomain.local			hisaccount+local at hisisp.example
>>
>> When mail is sent to a remote host via SMTP, this replaces
>> his at localdomain.local by his ISP mail address, replaces
>> her at localdomain.local by her ISP mail address, and replaces other
>> local addresses by his ISP account, with an address extension of
>> +local (this example assumes that the ISP supports "+" style address
>> extensions).
>> -----------------------------------------------
>>
>> -Jim P.
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>>
>>
>
> Thanks, Jim.
>
> That's what I'm looking for.  One more question.  What is the purpose of
> the:
>
>         @localdomain.local			hisaccount+local at hisisp.example
>
> Line? Where would it come into play?
>
>
> Jim.
>


More information about the Ale mailing list