🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.mail.mta
Article #50461

Re: pytanie o ${extract} (exim4)

#50461
From: Rafal Kupka
Date: Fri, 23 Feb 2007 12:16
32 lines
1883 bytes
MM napisał(a):
> On 22 Lut, 17:56, Rafal Kupka <kup...@kupson.fdns.net> wrote:
>
>> Przypuszczam że zależy to od miejsca gdzie ${extract ...} jest
>> umieszczony. Czy możesz pokazać cały transport?
>>

Puściłem cancela na tamtą wiadomość, chyba mój serwer nie obsługuje.

> cały transport:
>
> faxmail_1:
>   driver = pipe
>   command = "/usr/local/bin/faxmail -d fax@${extract{1}{ }{$h_Subject}} -n"

command = /usr/local/bin/faxmail -d "fax@${extract{1}{ }{$h_Subject:}}" -n

Tradycyjnie: exim spec rozdział 29.3 oraz fragment o $h_header cytowany
przez Dariusza Sznajdera

> dodam, że w dokumentacji hylafaxu jest przykład bardzo podobny
> (extract w tym samym miejscu, tyllko inny separator), który działa:
> command ="/usr/bin/faxmail -d ${local_part}@${extract{1}{.}{$domain}} -
> n"

Hmm, trochę dziwne że to może działać z tymi "", bez use_shell?

Pozdrawiam,
Kupson
-- 
Great software without the knowledge to run it is pretty useless.
(Linux Gazette #1)
Technical Details
Message-ID: <slrnettmou.49s.kupson@utemp.mieszkanie>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!news
References: <1172150220.773290.136610@q2g2000cwa.googlegroups.com> <slrnetripe.jq0.kupson@utemp.mieszkanie> <1172215774.561906.247640@m58g2000cwm.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!news
From: Rafal Kupka <kupson@kupson.fdns.net>
Newsgroups: pl.comp.mail.mta
Subject: Re: pytanie o ${extract} (exim4)
Date: Fri, 23 Feb 2007 13:16:30 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 32
Message-ID: <slrnettmou.49s.kupson@utemp.mieszkanie>
References: <1172150220.773290.136610@q2g2000cwa.googlegroups.com> <slrnetripe.jq0.kupson@utemp.mieszkanie> <1172215774.561906.247640@m58g2000cwm.googlegroups.com>
NNTP-Posting-Host: ip225-c3.gl.digi.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1172234939 25615 213.227.74.225 (23 Feb 2007 12:48:59 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Fri, 23 Feb 2007 12:48:59 +0000 (UTC)
X-User: kupson77
User-Agent: slrn/0.9.8.1pl1 (Debian)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit