From owner-freebsd-questions@FreeBSD.ORG Mon May 21 15:25:07 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93A7716A421 for ; Mon, 21 May 2007 15:25:07 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 5673513C457 for ; Mon, 21 May 2007 15:25:07 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so381246and for ; Mon, 21 May 2007 08:25:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ev2Hhuzbz9SwyX9sW+CYQztfy3hH1XDyNmttJlApkNn2+/xs2bD2oun5vM8+H17HmD4uB0SDMqWDkqPkWcSpRA0i8LgOHz9m3WoXEJ8aN1Ra0l5fW3C3dnBkL0Q14El0vs7ad531xf6LSAlWPkEXS2odG3hBHpqtFyMCfHFznsQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=m0EveGQdKcj4hK/p3NN7bB2CnuPV6ThSjkEf/kCuoUQQps3vlWUmqYnwUvpQ6N6gNh3pM7w7omAPjTqTW0eRyXFgq6j9L2RD8kV9J12+/nsJ2DqIE0hxxi3Cf8ktCk9CN4HzvOB+Mr3KYgaiIqsANwg/COTKS/aWzwC3mBG8XHo= Received: by 10.100.11.7 with SMTP id 7mr2996918ank.1179759447048; Mon, 21 May 2007 07:57:27 -0700 (PDT) Received: by 10.100.79.17 with HTTP; Mon, 21 May 2007 07:57:26 -0700 (PDT) Message-ID: <26ddd1750705210757w2672e259hfccb33e690425b90@mail.gmail.com> Date: Mon, 21 May 2007 10:57:26 -0400 From: "Maxim Khitrov" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Hot to configure simple mail forwarder? 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: Mon, 21 May 2007 15:25:07 -0000 Hi everyone, I have what I hope is a rather simple question. I'm not very familiar with this area of system administration, so hopefully someone here can point me in the right direction. I just got myself a FreeBSD VPS to host a few of my websites. I need the processes on the server (PHP, for example) to be able to send e-mail via /usr/sbin/sendmail. The thing is that I don't actually want to run a mail server. My vps is severely limited on disk space, and any mail I get I'll forward to my gmail account anyway. I can obviously configure sendmail or postfix to do this for me, but this seems a bit excessive for what I'm trying to do. The mail load will be very light, and I'd prefer to conserve disk space. Is there a port, perhaps, that will simply forward all mail transmitted to /usr/sbin/sendmail to the destination SMTP server? The only other thing it has to be able to do is use the aliases file to determine the real e-mail of root, for example. Like I said, I'm not too familiar with setting up mail servers, so if this makes no sense to you please suggest an alternative. Just to recap, I don't need local mail storage and I don't need the server to accept mail from anything other than the local processes running on the server. Just need it to read the destination e-mail address (or get it via aliases), connect to the MX server for that domain, and transmit the message. If there isn't any simple daemon that will do this, can you recommend either how to configure sendmail or something like postfix to do this? The idea is to minimize resource usage (disk space, memory, cpu time). Thanks, Maxim Khitrov