still more sendmail trouble
Steel City Phantom
scphantm at yahoo.com
Tue Nov 2 09:31:47 PST 2004
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<TMPF> /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]<scphantm at yahoo.com> 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 at ironcity.showroomtech.com>,
relay=www at 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 at 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 at freebsd.org mailing list
[8]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [9]"freebsd-questions-unsubscribe at 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 at yahoo.com
5. mailto:200411021541.iA2FfagI089186 at ironcity.showroomtech.com
6. mailto:to=sadicutza2000 at yahoo.com
7. mailto:freebsd-questions at freebsd.org
8. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
9. mailto:freebsd-questions-unsubscribe at freebsd.org
More information about the freebsd-questions
mailing list