From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LRVtU-0002FF-Jd for garchives@archives.gentoo.org; Mon, 26 Jan 2009 18:09:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D6A0E04EE; Mon, 26 Jan 2009 18:09:07 +0000 (UTC) Received: from 27.mail-out.ovh.net (27.mail-out.ovh.net [91.121.30.210]) by pigeon.gentoo.org (Postfix) with SMTP id D3035E04EE for ; Mon, 26 Jan 2009 18:09:06 +0000 (UTC) Received: (qmail 23401 invoked by uid 503); 26 Jan 2009 18:23:04 -0000 Received: from b7.ovh.net (HELO mail425.ha.ovh.net) (213.186.33.57) by 27.mail-out.ovh.net with SMTP; 26 Jan 2009 18:23:04 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 26 Jan 2009 18:09:13 -0000 Received: from unknown (HELO ?192.168.2.6?) (laurent@logiquefloue.org@89.180.69.167) by ns0.ovh.net with SMTP; 26 Jan 2009 18:09:12 -0000 Message-ID: <497DFC3F.8080703@logiquefloue.org> Date: Mon, 26 Jan 2009 19:09:03 +0100 From: laurent User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mail server References: <497B63CD.7020704@logiquefloue.org> <20090125075936.7c6902df@coercion> <497C9D28.2020805@logiquefloue.org> <20090125231418.7feeb371@coercion> In-Reply-To: <20090125231418.7feeb371@coercion> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Ovh-Tracer-Id: 18178779896380686936 X-Ovh-Remote: 89.180.69.167 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 53765759-8d2c-4f8c-81c2-5bfb03c267fc X-Archives-Hash: 4ccf2a43e450f7a6cf8648fd2516aab7 Mike Kazantsev a =E9crit : > On Sun, 25 Jan 2009 18:11:04 +0100 > laurent wrote: > > =20 >> Now I see more what ssmtp and msmtp are about so I have some questions= . >> Is it possible to use an existing smtp port with them and be able to=20 >> change the sender e-mail from my apache application ? >> >> Like it's transparently sending e-mail from my existing smtp account=20 >> with my authentification but with someone else e-mail. >> =20 > > Yes, basically you can just invoke 'sendmail box@domain.etc' and type > message with all the headers you need - 'to:', 'from:', 'subject:' etc > to stdin. > Of course, every language has some wrappers to simplify that process. > =20 I installed and configured postfix. It sends mail localy and on external=20 mailbox. !! I'm glad !! dig -x myip answer back my domain name. I don't know if I am being behinde a=20 firewall. It's a dedicated server on a domain own by my host service. I don't get e-mail when replyed from external mailbox. security-wise: Is there any stuff to do, not by default, to secure my=20 smtp server to not be used from outside ? > =20 > =20 >> For MTA: it involves installing a DNS server ? >> =20 > > Not really. > Your IP belongs to an ISP, and it's DNS server has the authority for > that address. So, if anyone (e.g. mail server) is asking any (other) DN= S > server "who's that guy?", that DNS will go to your provider's DNS and > ask "so, it's one of yours, who is it?" and it'll be in position to > either return some valid name (that's rarely free), delegate the task > to some other DNS (mostly the case with IP ranges, bought by some > organizations) or just shrug, which is often the case with common users= . > > So the answer is likely - "it won't matter, you won't get a name", but > that's entirely up to your ISP. > > That said, there are always possibilities to use the services of (or se= t > up) some relay server or buy dedicated IP and tunnel traffic through > it, but that's quite beyond the scope of question, I believe. > =20 Tunneling traffic, I'll keep that for other spare time in the year :) L