Re: virtual domain denied

This is a discussion on Re: virtual domain denied within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Fri, Feb 18, 2005 at 02:41:23PM +0100, Sergi Asensio i Alb? wrote: > Now I want to ...


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 02-18-2005
Victor Duchovni
 
Posts: n/a
Default Re: virtual domain denied

On Fri, Feb 18, 2005 at 02:41:23PM +0100, Sergi Asensio i Alb? wrote:

> Now I want to add a second domain, ?example.com?, the objective is that some
> mail send two HYPERLINK "mailto:user1@firstdomain.com"user1@firstdomain.co m
> go to HYPERLINK "mailto:user1@example.com"user1@example.com


Please send plain text mail. Please follow the instructions at:

http://www.postfix.org/DEBUG_README.html

consider posting the output of "postfinger" (Google, download, run ...)

> Nothing in mydestinations of main.cf and in virtual file something like this
>
> Seconddomain.com Virtual
> @seconddomain.com @firstdomain.com


This is not a good idea. You lose the ability to do recipient
validation. You also need to "postmap the file" and add:

virtual_maps = ${default_database_type}:/etc/postfix/virtual

to main.cf, but don't do it this way.

> Second Option
>
> Mydestinations = $mydomain, localhost.$mydomain, seconddomain.com,


http://www.postfix.org/BASIC_CONFIGU...#mydestination
http://www.postfix.org/postconf.5.html#mydestination

Note the singular lower case parameter name!

> And in virtual file
>
> @seconddomain.com @firstdomain.com
>


You generally don't need this to create this mapping, but a lot
depends on the mailstore and its user database (delivery likely via
"mailbox_transport"). Ideally the mailstore can be configured to accept
both domains as equivalent for each user without any need for Postfix
to perform rewrtiting.

> Always after modified virtual file I do postmap and rcpostfix reload.
>


It is not generally necessary to reload in this case.

--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo@postfix.org?body=unsubscribe%20p ostfix-users>

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:17 PM.


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