Hi Timo
Timo Sirainen escribió:
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
I did:
echo hello | /usr/libexec/dovecot/deliver
Fatal: destination user parameter (-d user) not given
echo hello | /usr/libexec/dovecot/deliver -d foo
tail /var/log/dovecot/dovecot-deliver.log
deliver(foo): Mar 04 14:36:27 Error: Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory
foo$ echo hello | /usr/libexec/dovecot/deliver foo$ more foo/cur/1204638363.P28199Q0M553430.blade25,S=11:2,S hello
It haven't headers :(