From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 10:50:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E2AA106564A for ; Thu, 19 Feb 2009 10:50:53 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mx1.freebsd.org (Postfix) with ESMTP id D6D8A8FC15 for ; Thu, 19 Feb 2009 10:50:52 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by bwz18 with SMTP id 18so1134741bwz.19 for ; Thu, 19 Feb 2009 02:50:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=tAfUp+J7xpIGPzzYVy2o+c0Tv7c7bKSb/CoWR8kOdZg=; b=GKP1gOv15pfZhdX2/PxgiPvHD10sxAhVxUYr9Jzl102dDUubViC3hXcAIlLk1ZErHx Lhd5mPyCnyYlxJgavqjnL3doAnHIK9KNWC/SWA0LPJGb0C0Wtc/8OWylDImFxunRCO44 vfL5YLufJLoqXS6JqS9idlvjYMNCqtTsJMqRU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=yGEdWICUX4undRKCFVoSf2CTjucEf2SnbTFdkC7z7C0qBVZ4FiRc/gX8D52GykHpAt XbkkWya2ko0YH7YTzOrwoUSWcfrpm3uYsOC5md4K9d1P59yjfFj4R9TBlR6K6ZdkB3Jv dWVFiQBNGV3SmUl81LR1USVCarN+1UdxBiNuU= MIME-Version: 1.0 Received: by 10.181.219.15 with SMTP id w15mr1233354bkq.90.1235040651910; Thu, 19 Feb 2009 02:50:51 -0800 (PST) In-Reply-To: <139b44430902190226y1800bf1dhd06c09233f476635@mail.gmail.com> References: <139b44430902190226y1800bf1dhd06c09233f476635@mail.gmail.com> Date: Thu, 19 Feb 2009 12:50:51 +0200 Message-ID: <139b44430902190250n3a044c48xc7188002c776e93a@mail.gmail.com> From: Valentin Bud To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: mail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 10:50:53 -0000 On Thu, Feb 19, 2009 at 12:26 PM, Valentin Bud wrote: > Hello community, > > I have a "special" question. > > If a client sends an email through my server how can i stop the mail for > being delivered so > i can process the mail and change some things and afterward deliver it. > > I have postfix + dovecot installed. Some suggestions ... > > thanks, > v Hello again, I guess i have found what i want. Postfix MILTER http://www.postfix.org/MILTER_README.html. So basically i create a filter in C, perl or something, I use it via STMP or non-STMP. That "filter" makes the necessary changes and afterwards i reinject the mail into postfix. If anybody has the time/chance to verify if I am right please let me know. thanks, v