From owner-freebsd-questions@FreeBSD.ORG Tue Nov 2 17:31:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D213216A4CE for ; Tue, 2 Nov 2004 17:31:47 +0000 (GMT) Received: from ms-smtp-02.tampabay.rr.com (ms-smtp-02-smtplb.tampabay.rr.com [65.32.5.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7333643D48 for ; Tue, 2 Nov 2004 17:31:47 +0000 (GMT) (envelope-from scphantm@yahoo.com) Received: from [192.168.0.2] (24286hfc39.tampabay.rr.com [24.28.6.39]) iA2HVVZn016537; Tue, 2 Nov 2004 12:31:33 -0500 (EST) Message-ID: <4187C4A1.5040106@yahoo.com> Date: Tue, 02 Nov 2004 12:32:17 -0500 From: Steel City Phantom User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en To: Giorgos Keramidas References: <4187B29E.3000704@yahoo.com> <20041102171100.GB40891@orion.daedalusnetworks.priv> In-Reply-To: <20041102171100.GB40891@orion.daedalusnetworks.priv> Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: still more sendmail trouble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 17:31:47 -0000 all of those are set as you suggested, here are my config files to see if you see something i don't. freebsd.mc ------------------------------------- divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.19 2003/12/31 17:42:16 gshapiro Exp $') OSTYPE(freebsd4) 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') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl -------------------------------- dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl [1]http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Black lists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at [2]http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see [3]http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) freebsd.submit.mc ----------------------------------------------- divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.2.1 2003/10/30 22:38:33 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl dnl dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] FEATURE(`msp', `[127.0.0.1]')dnl Giorgos Keramidas wrote: On 2004-11-02 11:15, Steel City Phantom [4] wrote: i still can't get the mail function in PHP to work. my sendmail log shows this Nov 2 10:41:36 ironcity sendmail[89186]: iA2FfagI089186: from=www, size=473, class=0, nrcpts=0, msgid=[5]<200411021541.iA2FfagI089186@ironcity.showroomtech.com>, relay=www@localhost This means that the `submit' sendmail daemon is running properly on 127.0.0.1:25 and it did receive your message. which is a step up because before i made the changes to the rc.conf, i would get this Nov 2 00:14:22 ironcity sm-msp-queue[86045]: iA1HGR7Q085413: [6]to=sadicutza2000@yahoo.com, ctladdr=www (80/80), delay=11:57:55, xdelay=00:00:00, mailer=relay, pri=2190203, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] No submit sendmail process here. here is what i put in my rc.conf sendmail_enable="NO" sendmail_submit_enable="YES" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="YES" any ideas? Do you have a properly configured HOST.mc and HOST.submit.mc in your /etc/mail directory[1]? Have you generated the sendmail.cf and submit.cf configuration files in /etc/mail and restarted sendmail after you edited rc.conf[2]? [1] The `HOST' part should be the hostname of the machine. [2] This should be as easy as: # cd /etc/mail # make && make install && make restart _______________________________________________ [7]freebsd-questions@freebsd.org mailing list [8]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [9]"freebsd-questions-unsubscribe@freebsd.org" References 1. http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ 2. http://www.mail-abuse.com/ 3. http://mail-abuse.org/cgi-bin/lookup 4. mailto:scphantm@yahoo.com 5. mailto:200411021541.iA2FfagI089186@ironcity.showroomtech.com 6. mailto:to=sadicutza2000@yahoo.com 7. mailto:freebsd-questions@freebsd.org 8. http://lists.freebsd.org/mailman/listinfo/freebsd-questions 9. mailto:freebsd-questions-unsubscribe@freebsd.org