Brent Newson <[EMAIL PROTECTED]> wrote:
> Hi all after about a day reading various howto's and documentation Ive
> set exim to use cyrus-imapd for local delivery using the following
> syntax in the configure file:
> 
> local_delivery:
>   driver = pipe
>   command ="/usr/pkg/cyrus/bin/deliver -l"
>   return_path_add
>   return_output
>   prefix= ""
>   user = cyrus

There's an Exim driver for using LMTP (assuming you're using Cyrus 2.x and a
fairly recent Exim), e.g:

cyrus_delivery:
  driver = lmtp
  command = "/usr/local/cyrus/bin/deliver -l"
  user = cyrus
          
> i have created a user whilst logged into cyradm as cyrus called
> user.brent and set a passwd for the user via saslpasswd
> 
> now everytime i try and send a mail to the user from the local machine
> as root by using 
> 
> sendmail brent
> 
> i get the following reply, it doesnt recognise brent as a local user:

[..] 

> What am i doing wrong??

If your director for local deliveries has 'driver = localuser' set it will
check that the local_part is a valid local Unix username. It is probably best
to use 'driver = smartuser' instead, e.g:

cyrus_user:
  driver = smartuser
  transport = cyrus_delivery

Hope this helps,
  
-- 
Cillian

Reply via email to