[Dovecot] Pop-before-smtp and MySQL?
Odhiambo Washington
wash at wananchi.com
Wed Dec 7 10:19:15 EET 2005
Can you please detail the whole solution in black and white for
the archives?
* On 07/12/05 09:15 +0100, Matteo Garofano wrote:
> Thanks very much,
> It works !
> Now I can manage the swich from qpopper to dovecot and offer also the imap
> service.
> I hope it helps somebody else.
> Bye
> Te0x
>
>
> ----- Original Message -----
> From: "Lorens" <dovecot.fdop at tagged.lorens.org>
> To: <dovecot at dovecot.org>
> Sent: Friday, December 02, 2005 2:07 PM
> Subject: Re: [Dovecot] Pop-before-smtp and MySQL?
>
>
> >On Fri, Dec 02, 2005 at 12:20:58PM +0200, Timo Sirainen wrote:
> >>I don't know why that script had $3 there, Dovecot has never given any
> >>parameters to imap/pop3 processes. But the IP address exists in IP
> >>environment, so you can just remove the "IP=.." line from the script
> >>and it should work. I updated the wiki already.
> >
> >Never? Then I have some bizarre version compiled with an obscure
> >patch by someone else... my config is
> >
> >% protocol pop3 {
> >% pop3_uidl_format = %f
> >% mail_executable = /usr/lib/dovecot/popbsmtp.log /usr/lib/dovecot/pop3
> >% }
> >%
> >% protocol imap {
> >% mail_executable = /usr/lib/dovecot/popbsmtp.log /usr/lib/dovecot/imap
> >% }
> >
> >% # head -3 /usr/lib/dovecot/popbsmtp.log
> >% #!/bin/sh
> >%
> >% echo "Login parameters 1=$1, 2=$2, 3=$3, 4=$4, IP=$IP" >>
> >/var/log/dovecot-t
> >
> >I added on IP just now, never thought it could be there already.
> >
> >% # tail -1 /var/log/dovecot-t
> >% Login parameters 1=/usr/lib/dovecot/imap, 2=[xxmyloginxx, 3=xxxmyIPxx],
> >4=, IP=xxxmyIPxx
> >
> >So, yes, IP is already in the environment, cool, the IP= line in
> >my script was more or less useless (I add a pipe grep to avoid
> >inserting local-net IPs, but that's minor), but on the version
> >I have (1.0-stable, debian testing package 0.99.20050712-2), $2
> >and $3 do get there in *some* way . . .
> >
> >Good to see the problem solved in any case, and since removing
> >IP= would work on my version too, wiki is OK without further
> >modifications.
> >
> >HAND
> >
-Wash
http://www.netmeister.org/news/learn2quote.html
--
+======================================================================+
|\ _,,,---,,_ | Odhiambo Washington <wash at wananchi.com>
Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com
|,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922
'---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121
+======================================================================+
Positive, adj.:
Mistaken at the top of one's voice.
-- Ambrose Bierce, "The Devil's Dictionary"
More information about the dovecot
mailing list