Hello, Yutaka! > |I have another problem with MOUNT. You remember my recent post about a free internet mail > server mail.ru with dedicated servers for pop, imap and smtp and user accounts like >usename@mail.. > | > |While your patch works with IMAP and POP, rewriting hostname with MOUNT fails on SMTP. See >the log file: > ... > |07/15 15:32:45.87 [30826] 0+0: arg[5] RESOLV=cache,file,sys > ... > |07/15 15:32:48.27 [30849] 1+0: GWNAME = sendmail (built-in) > |07/15 15:32:48.27 [30849] 1+0: substitute -- ${recipient} => username@mail..ru > |07/15 15:32:48.27 [30849] 1+0: {R} retrying AAAA [-MX.mail.ru] > |07/15 15:32:48.27 [30849] 1+0: gethostbyname(-MX.mail.ru) unknown[0.00s] > > Mapping the domain part of a mail address to the hostname, where a mail > to the domain is to be sent, is a very generic and standardized mechanism > supported by DNS as MX record. So you should be use it specifying > "dns" in the RESOLV parameter. "-MX.domain" in DeleGate means to retrieve > the MX host of the domain. As an example, mail.ru has its MX as follows: > Specifying "dns" in the RESOLV parameter did really help. I thought that "sys" would be enough. The new RFC with "_pop_.tcp" didn't work for me. Maybe I did something wrong, but this doesn't matter because as I have found out most of free e-mail sites have DNS aliases such as pop.server.com, pop3.server.com, smtp.server.com, and so on. So I think it is a good idea to try pop.server.com, imap.server.com or smtp.server.com automatically if server.com fails to respond mail protocol. Maybe add this function to DeleGate? Is it now posible to configure DeleGate to use prefixes to sever names if connect to someserver.com fails? Now I have another problem. AUTHORIZER=-pam always fails for pop, imap and smtp. The log file follows: ------------ LOGFILE STARTS ------------ 07/16 02:18:35.01 [24673] 0+0: --INITIALIZATION START: 9.0.3-pre29 on Linux/2.4.25-MCBC3.2.5-- 07/16 02:18:35.01 [24673] 0+0: BINSHELL=/bin/sh 07/16 02:18:35.01 [24673] 0+0: DGROOT=/opt/delegate^M 07/16 02:18:35.01 [24673] 0+0: <DeleGate/9.0.3-pre29> [24673] -P192.168.2.250:8143 READY^M 07/16 02:18:35.01 [24673] 0+0: PORT= 192.168.2.250:8143/8 (0,192) 07/16 02:18:35.02 [24673] 0+0: OWNER=delegate/delegate => OWNER=delegate/delegate(delegate/delegate) 07/16 02:18:35.02 [24673] 0+0: REMITTABLE = ftp-data,ftp,ftps,telnet,telnets,smtp,smtp-data,whois,domain,dns,gopher,finger,http,https,ssltunnel,pop,pop3s,imap,imaps,ident,nntp,nntps,news,nbt,prospero,archie,wais,tsp,ldap,ldaps,lpr,X,syslog,talk,socks,icap,cuseeme,icp,http-proxy,pam,httpam,dgauth,delegate,tcprelay,udprelay,udprelay1,teleport,coupler,vsap,sockmux,thruway 07/16 02:18:35.03 [24673] 0+0: --- [z] 8251C68 libz.so 07/16 02:18:35.03 [24673] 0+0: ---- [z] loaded 5 syms, unknown=0, already=0 07/16 02:18:35.03 [24673] 0+0: #### gzip/gunzip = dynamically linked 07/16 02:18:35.03 [24673] 0+0: ADMIN=root@localhost protocol=imap(specialist) 07/16 02:18:35.03 [24673] 0+0: WORKDIR=/opt/delegate/work/192.168.2.250:8143 07/16 02:18:35.03 [24673] 0+0: #### %S/%S >> %(0):143/%(1) #### 07/16 02:18:35.03 [24673] 0+0: #### %(0)/%(1) << %S:143/%S #### 07/16 02:18:35.03 [24673] 0+0: MOUNT[0]X[3] /-/builtin/icons/* = default 07/16 02:18:35.03 [24673] 0+0: MOUNT[1]X[4] /-/* = forbidden,from=!.RELIABLE,default 07/16 02:18:35.03 [24673] 0+0: MOUNT[2]X[0] /-* = default 07/16 02:18:35.03 [24673] 0+0: MOUNT[3]X[1] /=* = default 07/16 02:18:35.03 [24673] 0+0: MOUNT[4]X[2] //*%S/%S imap://imap.*%(0):143/%(1) 07/16 02:18:35.03 [24673] 0+0: {R} retrying AAAA [imap.] 07/16 02:18:35.03 [24673] 0+0: gethostbyname(imap.) unknown[0.00s] 07/16 02:18:35.03 [24673] 0+0: ERROR MOUNT.rhost[1] imap. ? unknown 07/16 02:18:35.03 [24673] 0+0: env[7] LIBPATH=.;/;/opt/delegate/lib;/opt/delegate/bin;/opt/delegate/etc 07/16 02:18:35.03 [24673] 0+0: ext[0] SERVER=imap 07/16 02:18:35.03 [24673] 0+0: ext[1] MOUNT=//*%S/%S imap://imap.*%(0):143/%(1) 07/16 02:18:35.03 [24673] 0+0: ext[2] PERMIT=* 07/16 02:18:35.03 [24673] 0+0: ext[3] AUTHORIZER=-pam/delegate 07/16 02:18:35.03 [24673] 0+0: ext[4] PROTOLOG=192.168.2.250:8143.imap 07/16 02:18:35.03 [24673] 0+0: arg[1] DGROOT=/opt/delegate 07/16 02:18:35.03 [24673] 0+0: arg[2] TMPDIR=/opt/delegate/tmp 07/16 02:18:35.03 [24673] 0+0: arg[3] OWNER=delegate/delegate 07/16 02:18:35.03 [24673] 0+0: arg[4] ADMIN=root@localhost 07/16 02:18:35.03 [24673] 0+0: arg[5] RESOLV=cache,file,sys,dns 07/16 02:18:35.03 [24673] 0+0: arg[6] TIMEOUT=restart:3h 07/16 02:18:35.03 [24673] 0+0: arg[7] TIMEOUT=shutout:24h 07/16 02:18:35.03 [24673] 0+0: arg[8] TIMEOUT=dns:2 07/16 02:18:35.03 [24673] 0+0: arg[9] TIMEOUT=dnsinv:2 07/16 02:18:35.03 [24673] 0+0: arg[10] MAXIMA=delegated:64 07/16 02:18:35.03 [24673] 0+0: arg[11] CACHE=no 07/16 02:18:35.04 [24673] 0+0: DELEGATE_Modified[0]: 42d82e00 07/16 02:18:35.04 [24673] 0+0: --INITIALIZATION DONE: 9.0.3-pre29 on Linux/2.4.25-MCBC3.2.5-- 07/16 02:18:35.04 [24673] 0+0: RESTART at 16/Jul/2005:04:00:00 +0300 07/16 02:20:13.85 [24701] 2+0: -- Fork(OnetimeServer): 24673 -> 24701 07/16 02:20:13.85 [24701] 2+0: (0) accepted [47] -@[192.168.2.2]int.kin.org:34586 (0.009s)(1) 07/16 02:20:13.86 [24701] 2+0: PATH: imap://-:143!kaa:8143!int.kin.org:34586!anonymous@int.kin.org;1121466013 07/16 02:20:13.87 [24701] 2+0: Free proxy -- imap://-/ 07/16 02:20:13.87 [24701] 2+0: D: * OK 192.168.2.250 Proxy IMAP4 server DeleGate/9.0.3-pre29^M 07/16 02:20:13.88 [24701] 2+0: C: 0 CAPABILITY^M 07/16 02:20:13.88 [24701] 2+0: D: 0 OK CAPABILITY^M 07/16 02:20:14.27 [24701] 2+0: C: 1 LOGIN "username@mail..ru" **** 07/16 02:20:14.27 [24701] 2+0: *** //mail.ru/username => imap://imap.mail.ru:143/username *** 07/16 02:20:14.27 [24701] 2+0: IMAP LOGIN "username" @ imap.mail.ru:143 07/16 02:20:15.12 [24701] 2+0: ConnectToServer connected [8] {194.67.23.220:143 <- 192.168.1.81:34172} [0.846s] 07/16 02:20:15.12 [24701] 2+0: willSTLS_SV: ServerFlags=10 07/16 02:20:16.08 [24701] 2+0: >>>> * OK Mail.Ru IMAP server ready.^M 07/16 02:20:16.08 [24701] 2+0: >>>> 1 LOGIN "username" **** 07/16 02:20:16.08 [24701] 2+0: willSTLS_SV: ServerFlags=10 07/16 02:20:16.08 [24701] 2+0: [0.00,-1][AUTH cache-NONE] /opt/delegate/adm/authorizer/delegate.-.pam/39777b8042b16051733b1ee3c2cfcd96-cache 07/16 02:20:16.09 [24701] 2+0: ## dgpam = /opt/delegate/subin/dgpam 07/16 02:20:17.18 [24701] 2+0: ## dgpam -a delegate username = HTTP/1.0 401^M 07/16 02:20:17.19 [24701] 2+0: ## Auth/PAM = -1 <username:****@-delegate.-.pam> 07/16 02:20:17.19 [24701] 2+0: AUTHORIZER=-pam/delegate host=[-pam] user=[username] -> NO 07/16 02:20:17.19 [24701] 2+0: C: EOF 07/16 02:20:17.19 [24701] 2+0: disconnected [47] -@[192.168.2.2]int.kin.org:34586 (3.346s)(0) ------------ LOGFILE ENDS ------------ Several months ago I wrote my own patches for DeleGate 8.9.5, that enable AUTHORIZER=-pam to work with pop, imap and smtp. They do work, but I'm not sure that my C code is safe and I don't want to stay with the old version of DeleGate, not to patch the last one. Can you fix AUTHORIZER=-pam for mail protocols? Or maybe I'm doing something wrong? The log file of DeleGate with my patch and mount-add-servername-prefix follows: ------------ LOGFILE STARTS ------------ 07/16 03:45:09.98 [27831] 0+0: --INITIALIZATION START: 8.9.5 on Linux/2.4.25-MCBC3.2.5-- 07/16 03:45:09.98 [27831] 0+0: BINSHELL=/bin/sh 07/16 03:45:10.01 [27832] 0+0: -- Fork(daemon): 27831 -> 27832 07/16 03:45:10.02 [27832] 0+0: server_open(delegate,192.168.2.250:8143,listen=20) 07/16 03:45:10.02 [27832] 0+0: server_open: 192.168.2.250:8143 07/16 03:45:10.02 [27832] 0+0: server_open(delegate,192.168.2.250:8143) BOUND 07/16 03:45:10.02 [27832] 0+0: DGROOT=/opt/delegate^M 07/16 03:45:10.02 [27832] 0+0: <DeleGate/8.9.5> [27832] -P192.168.2.250:8143 READY^M 07/16 03:45:10.02 [27832] 0+0: PORT= 192.168.2.250:8143/7 (0,192) 07/16 03:45:10.04 [27832] 0+0: OWNER=delegate/delegate => OWNER=delegate/delegate(delegate/delegate) 07/16 03:45:10.05 [27832] 0+0: REMITTABLE = imap,imaps 07/16 03:45:10.05 [27832] 0+0: PATH: gzip -> /bin/gzip 07/16 03:45:10.05 [27832] 0+0: #### gzip = [/bin/gzip]gzip 07/16 03:45:10.05 [27832] 0+0: #### gunzip = [/bin/gzip]gzip -d 07/16 03:45:10.05 [27832] 0+0: ADMIN=root@localhost protocol=imap(specialist) 07/16 03:45:10.05 [27832] 0+0: WORKDIR=/opt/delegate/work/192.168.2.250:8143 07/16 03:45:10.05 [27832] 0+0: #### %S/%S >> %(0):143/%(1)@%(0) #### 07/16 03:45:10.05 [27832] 0+0: #### %(0)/%(1) << %S:143/%S@%S #### 07/16 03:45:10.05 [27832] 0+0: MOUNT[0]X[3] /-/builtin/icons/* = default 07/16 03:45:10.05 [27832] 0+0: MOUNT[1]X[4] /-/* = forbidden,from=!.RELIABLE,default 07/16 03:45:10.05 [27832] 0+0: MOUNT[2]X[0] /-* = default 07/16 03:45:10.05 [27832] 0+0: MOUNT[3]X[1] /=* = default 07/16 03:45:10.05 [27832] 0+0: MOUNT[4]X[2] //*%S/%S imap://imap.*%(0):143/%(1)@%(0) 07/16 03:45:10.05 [27832] 0+0: gethostbyname(imap.) unknown[0.00s] 07/16 03:45:10.05 [27832] 0+0: ERROR MOUNT.rhost[1] imap. ? unknown 07/16 03:45:10.05 [27832] 0+0: env[7] LIBPATH=.;/;/opt/delegate/lib;/opt/delegate/bin;/opt/delegate/etc 07/16 03:45:10.05 [27832] 0+0: ext[0] SERVER=imap 07/16 03:45:10.05 [27832] 0+0: ext[1] MOUNT=//*%S/%S imap://imap.*%(0):143/%(1)@%(0) 07/16 03:45:10.06 [27832] 0+0: ext[2] PERMIT=*:*:*,&,{!*,username}@* 07/16 03:45:10.06 [27832] 0+0: ext[3] AUTHORIZER=-pam/delegate 07/16 03:45:10.06 [27832] 0+0: ext[4] PROTOLOG=192.168.2.250:8143.imap 07/16 03:45:10.06 [27832] 0+0: arg[1] DGROOT=/opt/delegate 07/16 03:45:10.06 [27832] 0+0: arg[2] TMPDIR=/opt/delegate/tmp 07/16 03:45:10.06 [27832] 0+0: arg[3] OWNER=delegate/delegate 07/16 03:45:10.06 [27832] 0+0: arg[4] ADMIN=root@localhost 07/16 03:45:10.06 [27832] 0+0: arg[5] RESOLV=cache,file,sys,dns 07/16 03:45:10.06 [27832] 0+0: arg[6] TIMEOUT=restart:3h 07/16 03:45:10.06 [27832] 0+0: arg[7] TIMEOUT=shutout:24h 07/16 03:45:10.06 [27832] 0+0: arg[8] TIMEOUT=dns:2 07/16 03:45:10.06 [27832] 0+0: arg[9] TIMEOUT=dnsinv:2 07/16 03:45:10.06 [27832] 0+0: arg[10] MAXIMA=delegated:64 07/16 03:45:10.06 [27832] 0+0: arg[11] CACHE=no 07/16 03:45:10.06 [27832] 0+0: DELEGATE_Modified[0]: 42d83a1a 07/16 03:45:10.06 [27832] 0+0: --INITIALIZATION DONE: 8.9.5 on Linux/2.4.25-MCBC3.2.5-- 07/16 03:45:10.06 [27832] 0+0: #### restarting is set on config err. 07/16 03:45:10.06 [27832] 0+0: RESTART at 16/Jul/2005:04:00:00 +0300 07/16 03:45:10.06 [27832] 0+0: #### wait the first contact... 07/16 03:45:30.49 [27832] 0+0: #### got the first contact 07/16 03:45:30.49 [27832] 0+0: DeleGate SERVER RESTART: timeout 07/16 03:45:30.49 [27832] 0+0: NUM_HUPS=1 FD=[14] 07/16 03:45:30.49 [27832] 0+0: StickyKill(1): 0/0 killed 07/16 03:45:30.49 [27832] 0+0: unlinked /opt/delegate/work/192.168.2.250:0000/0000X 07/16 03:45:30.49 [27832] 0+0: removed /opt/delegate/work/192.168.2.250:8143/ 07/16 03:45:30.49 [27832] 0+0: DeleGate SERVER RESTART in progress... 07/16 03:45:30.49 [27832] 0+0: PWD: / 07/16 03:45:30.49 [27832] 0+0: EXEC: /opt/delegate/bin/delegated 07/16 03:45:30.53 [27832] 0+0: --INITIALIZATION START: 8.9.5 on Linux/2.4.25-MCBC3.2.5-- 07/16 03:45:30.53 [27832] 0+0: BINSHELL=/bin/sh 07/16 03:45:30.54 [27832] 0+0: DGROOT=/opt/delegate^M 07/16 03:45:30.54 [27832] 0+0: <DeleGate/8.9.5> [27832] -P192.168.2.250:8143 READY^M 07/16 03:45:30.54 [27832] 0+0: PORT= 192.168.2.250:8143/7 (0,192) 07/16 03:45:30.54 [27832] 0+0: OWNER=delegate/delegate => OWNER=delegate/delegate(delegate/delegate) 07/16 03:45:30.54 [27832] 0+0: REMITTABLE = imap,imaps 07/16 03:45:30.55 [27832] 0+0: PATH: gzip -> /bin/gzip 07/16 03:45:30.55 [27832] 0+0: #### gzip = [/bin/gzip]gzip 07/16 03:45:30.55 [27832] 0+0: #### gunzip = [/bin/gzip]gzip -d 07/16 03:45:30.55 [27832] 0+0: ADMIN=root@localhost protocol=imap(specialist) 07/16 03:45:30.55 [27832] 0+0: WORKDIR=/opt/delegate/work/192.168.2.250:8143 07/16 03:45:30.55 [27832] 0+0: #### %S/%S >> %(0):143/%(1)@%(0) #### 07/16 03:45:30.55 [27832] 0+0: #### %(0)/%(1) << %S:143/%S@%S #### 07/16 03:45:30.55 [27832] 0+0: MOUNT[0]X[3] /-/builtin/icons/* = default 07/16 03:45:30.55 [27832] 0+0: MOUNT[1]X[4] /-/* = forbidden,from=!.RELIABLE,default 07/16 03:45:30.55 [27832] 0+0: MOUNT[2]X[0] /-* = default 07/16 03:45:30.55 [27832] 0+0: MOUNT[3]X[1] /=* = default 07/16 03:45:30.55 [27832] 0+0: MOUNT[4]X[2] //*%S/%S imap://imap.*%(0):143/%(1)@%(0) 07/16 03:45:30.55 [27832] 0+0: gethostbyname(imap.) unknown[0.00s] 07/16 03:45:30.55 [27832] 0+0: ERROR MOUNT.rhost[1] imap. ? unknown 07/16 03:45:30.55 [27832] 0+0: env[7] LIBPATH=.;/;/opt/delegate/lib;/opt/delegate/bin;/opt/delegate/etc 07/16 03:45:30.55 [27832] 0+0: ext[0] SERVER=imap 07/16 03:45:30.55 [27832] 0+0: ext[1] MOUNT=//*%S/%S imap://imap.*%(0):143/%(1)@%(0) 07/16 03:45:30.55 [27832] 0+0: ext[2] PERMIT=*:*:*,&,{!*,username}@* 07/16 03:45:30.55 [27832] 0+0: ext[3] AUTHORIZER=-pam/delegate 07/16 03:45:30.55 [27832] 0+0: ext[4] PROTOLOG=192.168.2.250:8143.imap 07/16 03:45:30.55 [27832] 0+0: arg[1] DGROOT=/opt/delegate 07/16 03:45:30.55 [27832] 0+0: arg[2] TMPDIR=/opt/delegate/tmp 07/16 03:45:30.55 [27832] 0+0: arg[3] OWNER=delegate/delegate 07/16 03:45:30.55 [27832] 0+0: arg[4] ADMIN=root@localhost 07/16 03:45:30.55 [27832] 0+0: arg[5] RESOLV=cache,file,sys,dns 07/16 03:45:30.55 [27832] 0+0: arg[6] TIMEOUT=restart:3h 07/16 03:45:30.55 [27832] 0+0: arg[7] TIMEOUT=shutout:24h 07/16 03:45:30.55 [27832] 0+0: arg[8] TIMEOUT=dns:2 07/16 03:45:30.55 [27832] 0+0: arg[9] TIMEOUT=dnsinv:2 07/16 03:45:30.55 [27832] 0+0: arg[10] MAXIMA=delegated:64 07/16 03:45:30.55 [27832] 0+0: arg[11] CACHE=no 07/16 03:45:30.55 [27832] 0+0: DELEGATE_Modified[0]: 42d83a1a 07/16 03:45:30.55 [27832] 0+0: --INITIALIZATION DONE: 8.9.5 on Linux/2.4.25-MCBC3.2.5-- 07/16 03:45:30.55 [27832] 0+0: RESTART at 16/Jul/2005:04:00:00 +0300 07/16 03:45:30.58 [27884] 1+0: -- Fork(OnetimeServer): 27832 -> 27884 07/16 03:45:30.58 [27884] 1+0: bind_insock(7,192.168.2.250,0) = 0, errno=0 07/16 03:45:30.58 [27884] 1+0: ## connect[7] TIMEOUT(1000) 07/16 03:45:30.58 [27884] 1+0: ### IDENT CONNECT(int.kin.org:113) TIMEOUT(1000ms) (110) 07/16 03:45:30.59 [27884] 1+0: (0) accepted [35] -@[192.168.2.2]int.kin.org:34612 (0.013s)(1) 07/16 03:45:30.59 [27884] 1+0: PATH: imap://-:143!kaa:8143!int.kin.org:34612!anonymous@int.kin.org;1121471130 07/16 03:45:30.60 [27884] 1+0: Free proxy -- imap://-/ 07/16 03:45:30.60 [27884] 1+0: D: * OK 192.168.2.250 Proxy IMAP4 server DeleGate/8.9.5^M 07/16 03:45:30.61 [27884] 1+0: C: 0 CAPABILITY^M 07/16 03:45:30.61 [27884] 1+0: D: 0 OK CAPABILITY^M 07/16 03:45:30.62 [27884] 1+0: C: 1 LOGIN "username@mail..ru" **** 07/16 03:45:30.62 [27884] 1+0: gethostbyname(-) unknown[0.00s] 07/16 03:45:30.62 [27884] 1+0: [0.00,-1][AUTH cache-NONE] /opt/delegate/adm/authorizer/delegate.-.pam/39777b8042b16051733b1ee3c2cfcd96-cache 07/16 03:45:30.62 [27884] 1+0: ## dgpam = /opt/delegate/subin/dgpam 07/16 03:45:30.65 [27884] 1+0: ## dgpam -a delegate username = HTTP/1.0 200^M 07/16 03:45:30.65 [27884] 1+0: ## Auth/PAM = 0 <username:****@-delegate.-.pam> 07/16 03:45:30.65 [27884] 1+0: ##[doAUTH] set ClientAuth [username@-pam/delegate] 07/16 03:45:30.65 [27884] 1+0: AUTHORIZER=-pam/delegate host=[-pam] user=[username] -> OK 07/16 03:45:30.65 [27884] 1+0: *** //mail.ru/username => imap://imap.mail.ru:143/username@mail..ru *** 07/16 03:45:30.65 [27884] 1+0: IMAP LOGIN "username@mail..ru" @ imap.mail.ru:143 07/16 03:45:33.33 [27884] 1+0: ConnectToServer connected [10] {194.67.23.220:143 <- 192.168.1.81:34217} [2.671s] 07/16 03:45:34.41 [27884] 1+0: >>>> * OK Mail.Ru IMAP server ready.^M 07/16 03:45:34.41 [27884] 1+0: >>>> 1 LOGIN "username@mail..ru" **** 07/16 03:45:35.16 [27884] 1+0: S: 1 OK Logged in.^M 07/16 03:45:35.16 [27884] 1+0: OK IMAP-LOGIN FROM username@mail.ru@kin..:34612 TO username@mail.ru@mail..ru 07/16 03:45:35.17 [27884] 1+0: C: 2 LIST "" "INBOX"^M 07/16 03:45:35.86 [27884] 1+0: S: 2 OK List completed.^M 07/16 03:45:35.86 [27884] 1+0: C: 3 SELECT "INBOX"^M 07/16 03:45:36.69 [27884] 1+0: S: 3 OK [READ-WRITE] Select completed.^M 07/16 03:45:36.70 [27884] 1+0: C: 4 UID FETCH 17 (UID RFC822)^M 07/16 03:45:37.68 [27884] 1+0: S: 4 OK Fetch completed.^M 07/16 03:45:37.70 [27884] 1+0: C: 5 NOOP^M ------------ LOGFILE ENDS ------------ Another problem that I want to ask about is that when using MOUNT to add a prefix to server name, eg. MOUNT="//*%S/%S imap://imap.*%(0):143/%(1)@%(0)", DeleGate says "ERROR MOUNT.rhost[1] imap. ? unknown " and initiates restart on config err. You can see this in the logfile fragment above. Is it possible to make DeleGate not to check host "imap." or not to restart after this "error"? One more problem is that swft fails to compile on my system: cc -o swft -DMAIN -I../include swft.c ../lib/library.a ../lib/libsubst.a ../lib/libsubstx.a /tmp/cc0C41JK.o(.text+0x18e2): In function `swfFilter': : undefined reference to `copyfile1' collect2: ld returned 1 exit status And I have several questions: - Will you incorporate the mount-add-servername-prefix patch in DeleGate? - Are there any success stories of making antivirus, antispam, adwertisement-removing software work with DeleGate? I mean are there any ready to use configs or howtos? - Where can I read about using swft? What are bdtee and bdthru for? With best regards, Serge Sireskin