Jason Voorhees a écrit :
> Hi friends:
>
> I have Postfix 2.3.3 integraded with OpenLDAP to store my user accounts
> and aliases.
> I can send/receive emails without problems but when I try to send a
> email using sendmail to a alias like this:
>
> $ echo Test | sendmail -f [EMAIL PROTECTED] [EMAIL PROTECTED]
>
> I get an error related to non-existent mailbox in Cyrus IMAP Server. But
>  if I send emails trough SMTP protocol using a MUA o from any other SMTP
> server then there are no problems dealing with LDAP aliases.
>
> [EMAIL PROTECTED] is declared as an alias in my LDAP server.
> I have the following settings:
>
> mydestination = localhost, $mydomain, $myhostname, localhost.$mydomain
> virtual_alias_maps = ldap:/etc/postfix/virtual_alias_maps.cf,
> ldap:/etc/postfix/virtual_groups_alias_maps.cf
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> local_recipient_maps = proxy:unix:passwd.byname, $alias_maps,
> $virtual_alias_maps
>
> Is it normal the sendmail command doesn't read alias/users stores in an
> external backend like LDAP or MySQL?
>   


In addition to what has been said, make sure your sendmail is the
postfix one. logs will tell.

Reply via email to