|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ben (ben.div
gmail.com)
Date: Fri Dec 03 2010 - 10:56:26 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le 03/12/2010 17:39, mouss a écrit :
> Le 03/12/2010 17:28, Ben a écrit :
>> Le 01/12/2010 17:52, Christoph Anton Mitterer a écrit :
>>> On Wed, 2010-12-01 at 17:41 +0100, Ben wrote:
>>>> Postfix choose
>>>> local to deliver the mail, but I can't find why. I would like it uses
>>>> maildrop instead.
>>> You need to set up your hosted domains to be virtual hosted
>>> (http://www.postfix.org/VIRTUAL_README.html).
>>>
>>> Or change the transport for local delivery...
>>>
>>
>> Thank you for your reply.
>> I have a lot of difficulties to set up what I want with Postfix...
>>
>> The box have a mass hosting software that came with its own postfix
>> configuration. I just want to modify it slightly to use maildrop to sent
>> spam in an IMAP spam folder instead of inbox.
>>
>> By default, local is used for delivering. Setting
>> virtual_mailbox_domains correctly allowed me to use maildrop transport
>> for delivering. But it breaks email relaying (ex : test
test.com must be
>> delivered locally, and forwarded to test
anotherdomain.com). The local
>> delivery works (with maildrop), but the mail is not forwarded (User
>> unknown in virtual mailbox table (state 14)).
>>
>> So, I've tried to use maildrop for local_transport, but if I don't set
>> virtual_mailbox_domains, email have such a form :
>> user_domain.com
mx1.myhost.com. So maildrop said user unknown. Command
>> output: Invalid user specified. It work only with user
domain.com
>>
>> It's hell so, as I don't know how the mass hosting software set Postfix,
>> and don't know well the postfix configuration...
>>
>> Any help greatly appreciated !
>>
>
>
> you want:
>
> - accept mail. it seems this already works for you
>
> - pass mail to maildrop. apparently, you did so for virtual domains.
> from your previous posts, you seem to have a problem with local mail. if
> still, you'll need to configure postfix to pass such mail to maildrop.
> there are many ways..
>
All domains are virtual, I managed to pass all mails to maildrop, it
works. The problem is that in this configuration, mail are not relayed
to other hosts when the user configure mail redirection.
A user can tell : keep the received mail in my mail account, and send a
copy to anyone
anyhost.com
That's this fonctionnality that doesn't works anymore.
I noticed that when I configure domains to be virtual (with
virtual_mailbox_domains setting), the mails have a
test_thehost.com
mx1.mybox.com shape.
When I don't do this setup, mails have a test
thehost.com shape.
Maybe it's related to the relay problem.
> - configure maildrop to accept user/recipient and to deliver where it
> should. This is not a postfix issue. you'll get more help on the
> maildrop-users mailing list.
>
> - you can use maildrop for local and/or for virtual mailbox domains. you
> can even use maildrop via transport_maps, in which case the domain
> "class" doesn't matter.
>
I would like to always use maildrop for delivering, but mail redirection
don't works anymore when I do that.
>
> - if you use maildrop with virtual domains, you'll need to tell maildrop
> how to find the user and his config (mailbox location, ...). This is a
> maildrop configuration question.
>
You're true, I can set local_transport to maildrop, and try to setup
maildrop to deal correctly with test_thehost.com
mx1.mybox.com mail form.
But I don't understand why mail redirection doesn't work anymore when I
set domains virtual and mail have a form of test
thehost.com shape.
I join my postconf -n
Thank you very much for your help.
Ben
- text/plain attachment: postconf.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]