[TriLUG] Virtual Domains Question

Mark Fowle mark at thefowles.com
Sun Jan 23 22:06:29 EST 2005


Tanner -

Yes this was it --in sendmail,  virtusertable for incoming and 
genericstable for outbound email did the trick.

Thanks,
Mark


Tanner Lovelace wrote:

>Aaron,
>
>While what you've said is quite true, it's not the end of the story.  There can
>be a legitimate need to rewrite e-mail address return addresses for 
>command line programs like mutt, etc...  While I have no idea how to
>do it in sendmail, in postfix, you can use the "sender_canonical_maps"
>parameter in /etc/postfix/main.cf to accomplish this.  I'm using exactly
>this setup on a box I'm running with great results.  For virtual domain I 
>host we have defined the following line in /etc/postfix/main.cf:
>
>sender_canonical_maps = hash:/etc/postfix/maps/sender_map
>
>And in the file sender_map it's just a list of logins and their full e-mail
>address.  (Specifically, what it does is map between unqualified addresses,
>that is addresses without a domain on them and fully quailified addresses).
>For instance:
>
># sender_maps file
>user1 user1 at virtualdomain.com
>user2 user2 at virtualdomain.com
>user3 user3 at adifferentvirtualdomain.com
>
>This seems to be exactly what you're looking for, Mark.  Right?
>
>There's almost certainly a similar feature in sendmail that some
>of the sendmail gurus (*cough* Jon Carnes *cough*) can tell you
>about. 
>
>Cheers,
>Tanner
>
>On Sat, 22 Jan 2005 09:11:51 -0500, Aaron S. Joyner <aaron at joyner.ws> wrote:
>  
>
>>Mark Fowle wrote:
>>
>>    
>>
>>>The users outbound mail is defaulting to the default domain --  Should
>>>I not have "default domain" in Sendmail?
>>>
>>>      
>>>
>>The real pertinent question here is, what client are the user's using to
>>send mail?  Because you're asking the question, I'm going to guess that
>>they're using some local ssh-based mail client such as pine or mutt, in
>>which case you'll need to set the "from" address in each client (or
>>directly in it's appropriate configuration file).  From address is
>>something that's always controlled from the client's perspective - which
>>is part of why email is so easily forged.
>>
>>If of course my guess it off, let us know what email client you're using
>>and we'll see what we can figure out for you.  :)
>>
>>Aaron S. Joyner
>>--
>>TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
>>TriLUG Organizational FAQ  : http://trilug.org/faq/
>>TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>>TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>>
>>    
>>
>
>
>  
>



More information about the TriLUG mailing list