From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 03:55:26 2008 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 AD42F1065671 for ; Mon, 25 Aug 2008 03:55:26 +0000 (UTC) (envelope-from lenzi@k1.com.br) Received: from netuno.levier.com.br (netuno.levier.com.br [201.47.3.162]) by mx1.freebsd.org (Postfix) with ESMTP id 19F008FC12 for ; Mon, 25 Aug 2008 03:55:25 +0000 (UTC) (envelope-from lenzi@k1.com.br) Received: from levier.com.br (localhost [127.0.0.1]) by netuno.levier.com.br (8.14.2/8.14.1) with ESMTP id m7OJi074000994 for ; Mon, 25 Aug 2008 00:55:24 -0300 (BRT) (envelope-from lenzi@k1.com.br) X-MessageWall-Score: 0 (levier.com.br) Received: from [189.32.2.205] (authenticated as k1) by levier.com.br (MessageWall 1.0.8) with SMTP; 25 Aug 2008 03:55:23 -0000 From: User Lenzi To: freebsd-questions@freebsd.org In-Reply-To: <20080824140625.txre8xer6s0ggwww@webmail.secureserverdot.com> References: <20080824140625.txre8xer6s0ggwww@webmail.secureserverdot.com> Date: Mon, 25 Aug 2008 00:55:22 -0300 Message-Id: <1219636522.7617.40.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: MTA... 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, 25 Aug 2008 03:55:26 -0000 Em Dom, 2008-08-24 às 14:06 -0400, pete escreveu: > I have a hosted domain that recently changed their mail filtering. I > am not happy with the new setup and am considering setting up my own. > Looking for tips on setting up something on my freeBSD 6.1 box. > > My ISP is cablevision IO. Not sure what they allow, ie: whether I can > have my hosted domain set to use my cable IP as a MTA, or if I have to > do some kind of end run around cablevision to get a MTA set up locally. > > Also looking for advice on which software would serve me bet in this instance. > > TIA In my country, the cable company sells fixed IP for about US$60/mon. and it filters nothing, that is: the port 25 is left open. You only need so, to ask the one that holds your DNS, to put a record MX in the definition MX 10 mx1.your.domain and..... A.B.C.D A mx1.your.domain. so when someone pings mx1.your.domain it answers A.B.C.D after you must set up your sendmail by creating a sendmail.mc .... in /etc/mail =================/etc/mail/sendmail.mc ================== divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.1 2007/11/22 16:19:40 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confMAX_DAEMON_CHILDREN', `20') DAEMON_OPTIONS(`Name=IPv4, Family=inet) define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) =================/etc/mail/sendmail.cw================================== your.domain.com ============================== than add a line in the /etc/make.conf SENDMAIL_SUBMIT_MC=/etc/mail/sendmail.mc go to the /etc/mail.... touch aliases mailertable virtusertable access make ======================= change /etc/rc.conf to include lines sendmail_msp_queue_enable="NO" sendmail_enable="YES" ========================= reinitialise sendmail with the command: /etc/rc.d/sendmail restart ================DONE==================