Rocco Scappatura wrote:
>>>>> Where is the problem?
>>>>>
>>>>>
>>>> You compiled maildrop with courier-authlib support, so you need to
>>>> start authdaemond.
>>>>
>>>>
>>> Infact! Thanks..
>>>
>>> But now maidrop doesn't get mail instead..
>>>
>>>
>> what do you mean by "now maildrop doesn't get mail"?
>>
>
> When I receive a message for a valid email addres managed by my server,
> in the mail log i see that the argument "relay" is virtual and not
> "maildrop". The the message is delivered in to the mailbox without be
> filtered by maildrop.
>
then you need to tell postfix to use maildrop. for example:
virtual_transport = maildrop
(where maildrop is defined in master.cf. see the MAILDROP README on
postfix site).
>
>> If the only thing you did is start authdaemon, then your
>> problem is probably that the users as found by authdaemon are
>> different than those passed to maildrop (-d arg). now, this
>> is only a guess, since you provided no informations...
>>
>
> what kind of information you need?
>
a common issue is mixing fqdn addresses with non fqdn addresses. if your
virtual users are "[EMAIL PROTECTED]", then you should use -d
[EMAIL PROTECTED] (in postfix, this is -d [EMAIL PROTECTED] -d
${recipient} works if you don't use addresse extensions). if your users
are "foo" and "bar", then you should use "-d foo".
to have a better understanding of your situation, we need to know
- one user in the database. you can create a user just for this (it will
be useful whenever you want to do some testing anyway)
- run 'authtest' for this user
- run maildrop using the same user (with the -V option).
- show how you call maildrop from postfix (the entry in master.cf).
>
>>> I think that maildrop filter only local email while does'nt
>>>
>> filter the
>>
>>> virtual transport (I'm using virtual domain).
>>>
>>> How do I have to configure to filter aven that emails?
>>>
>>>
>> This depends on your setup. the users found by authdaemon
>> must match the ones passed to maildrop (-d arg).
>>
>> to debug, use 'authtest' and run maildrop manually:
>> # maildrop -V 6 -d somemailboxuser < message.eml
>>
>
> Invalid user specified.
>
> Is the output.. There is a mistake! Do I have to configure maildrop in
> some manner?
>
so maildrop can't find the user. if you have 'authtest', run it for the
same user and see if it can find the user informations.
please do yourself a favour: copy-paste the command you typed and _all_
the results. do not select what you think is good to tell us. Of course,
feel free to munge private infos but do so coherently.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users