[Dovecot] different mail_locations

Timo Sirainen tss at iki.fi
Tue Mar 4 13:22:42 EET 2008


On Mar 3, 2008, at 12:45 PM, Antonio Casado Rodríguez wrote:

> Yes, it work well. But the mail still not arrived.
>
> How do I configure /bin/mail to arrive mails with postfix and  
> dovecot off? I use dovecot-lda
>
> # su - myuser -c 'echo $MAIL; echo $HOME'
> /var/spool/mail/myuser
> /var/spool/mail/myuser/home
>
> # echo hello | mail myuser        (work if postfix is on and dovecot  
> is off)

Why do you want to do that? It's Postfix that receives the mails.

If you really want to deliver mails while Postfix isn't running, run  
Dovecot's deliver directly:

echo hello | /usr/local/libexec/dovecot/deliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080304/a15c7b57/attachment.bin 


More information about the dovecot mailing list