Re: [Dovecot] Dovecot Virtual Users with Sendmail
On Jan 2, 2013, at 4:14 PM, Andrzej A. Filip wrote:
Please forgive me, Andrzej. I did not realize you wanted me to actually send you the logs. I thought you only meant for me to look to see if there was anything helpful in them.
They do not show much. If I restart dovecot and sendmail, this is basically what I get. If I try to send any mail, nothing shows up in dovecot's log. All that shows up anywhere is my logging into squirrelmail.
network-dovecot-default.log
[ Jan 2 21:52:07 Stopping because service restarting. ] [ Jan 2 21:52:07 Executing stop method ("/lib/svc/method/dovecot.sh stop"). ] [ Jan 2 21:52:07 Method "stop" exited with status 0. ] [ Jan 2 21:52:07 Executing start method ("/lib/svc/method/dovecot.sh start"). ] [ Jan 2 21:52:07 Method "start" exited with status 0. ]
dovecot-info.log
Jan 02 21:54:48 master: Info: Dovecot v2.1.12 starting up
dovecot.log
Jan 02 21:54:48 master: Warning: Killed with signal 2 (by pid=2587 uid=0 code=kill)
syslog
Sep 21 21:47:08 openindiana sendmail[1208]: [ID 702911 mail.warning] gethostbyaddr(10.211.55.6) failed: 2 Sep 21 21:47:08 openindiana sendmail[1208]: [ID 702911 mail.warning] gethostbyaddr(IPv6:fec0::fea9:21c:42ff:feed:5f38) failed: 2
systemuser@openindiana:~# /usr/local/libexec/dovecot/dovecot-lda -d hacwebstore
I had to modify the path to get it to work in Solaris. When I ran it as above, it sent a blank email to hacwebstore.
So, lda appears to be working, but sendmail doesn't?
Here is the dovecot portion of my sendmail.cf file again, for your convenience. Does it appear ok to you?
######################*****##############
DOVECOT Mailer specification
##################*****################## Mdovecot, P=/usr/local/libexec/dovecot/dovecot-lda, F=DFMPhnu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrFromL, T=DNS/RFC822/X-Unix, A=/usr/local/libexec/dovecot/dovecot-lda -d $u
I do have an odd behaviour I noticed in my syslog. It has the wrong date! Very odd.
Thank you again, Andrzej, for all of your help with this. I appreciate it very much.
Do you think it is solvable?
On 01/03/2013 06:37 AM, DormitionSkete@hotmail.com wrote:
Quick fix: Add S flag to F= section (F=DFMSPhnu9) of dovecot mailer spec abvove. Without U= section it should make sendmail execute dovecot-lda as root. U= section may request execution as specific user and group.
Some hints at: 1 Dovecot's Wiki http://wiki.dovecot.org/LDA/Sendmail 2 "The Bat Book" (sendmail book) http://books.google.com/books?id=NQblqMiVqvQC&pg=PT806&lpg=PT806&dq=sendmail...
On Jan 3, 2013, at 12:49 PM, Andrzej A. Filip wrote:
Ah. Thank you, Andrzej! It seems to be working now!
Glory be to our holy God.
I really appreciate your help, so very, very much.
May God bless you!
Cordially,
+Peter, hieromonk
participants (2)
-
Andrzej A. Filip
-
DormitionSkete@hotmail.com