You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Suzanne Harmon <su...@hharmon.com> on 2002/03/23 01:32:57 UTC

Help with sendmail

We are running a free bsd server with Apache. We are having a major
problem with sendmail. Originally we had the wrong dns lookup on the
server and the reverse dns was pointed to another name causing a general
mail failure.

We fixed the reverse dns which solved the external mail problem but then
the sendmail would not talk to the email server correctly. It looks like
when the original reverse dns was run, the sendmail forwarded properly.
After correcting the reverse dns, sendmail gets a timeout. Example
follows:

........................................................................
.......................................

Action: failed
Status: 5.1.8
Diagnostic-Code: SMTP; 501 5.1.8 <no...@freebsd3.midwestis.net>...
Sender domain must exist
Last-Attempt-Date: Mon, 11 Mar 2002 15:36:21 -0600 (CST)

Mar 22 18:15:59 freebsd3 sendmail[162]: g2I1h1C10782:
to=suzanne@hharmon.com,sales@hharmon.com, ctladdr=nobody (65534/65534),
delay=4+22:32:58, xdelay=00:00:00, mailer=esmtp, pri=24990700,
relay=mail.hharmon.com., dsn=4.0.0, stat=Deferred: Operation timed out
with mail.hharmon.com.

........................................................................
.......................................

Here is the current mc file:

........................................................................
.......................................

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.11 2001/07/14
18:07:27 gshapiro Exp $')
OSTYPE(freebsd4)
DOMAIN(generic)

FEATURE(access_db, `hash -o /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(relay_based_on_MX)
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

dnl Uncomment to activate Realtime Blackhole List
dnl information available at 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 rejection
message for the RBL: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org',
`"550 Mail from " $&{client_addr} " rejected, see
http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}')

dnl Other DNS based black hole lists
dnl --------------------------------
dnl MAPS Relay Spam Stopper (RSS): http://mail-abuse.org/rss/ dnl NOTE:
This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl,
`relays.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected;
see http://mail-abuse.org/cgi-bin/nph-rss?" $&{client_addr}')

dnl MAPS Dial-up User List (DUL): http://maps.vix.com/dul/
dnl NOTE: This is a subscription service as of July 31, 2001 dnl
FEATURE(dnsbl, `dialups.mail-abuse.org', `"550 Mail from dial-up
rejected; see http://mail-abuse.org/dul/enduser.htm"')

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 Uncomment both of the following lines to listen on IPv6 as well as
IPv4 dnl DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl
DAEMON_OPTIONS(`Name=IPv6, Family=inet6')

define(`confMAX_MIME_HEADER_LENGTH', `256/128')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
define(`MAIL_HUB', `mailer:vmail.midwestis.net') dnl MAILER(local)
MAILER(smtp)

........................................................................
.......................................

Any help you can give us will be greatly appreciated.

Regards,
Suzanne Harmon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
suzanne@hharmon.com
Softouch Interactive
http://softouchinteractive.com
http://hharmon.com 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Help with sendmail

Posted by Joshua Slive <jo...@slive.ca>.
Suzanne Harmon wrote:
> We are running a free bsd server with Apache. We are having a major
> problem with sendmail.

As was already told to you, this is off-topic for this list, since it 
has nothing to do with the Apache HTTP Server.  Please take it 
elsewhere.  One place to start is http://www.sendmail.org/

Joshua.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Help with sendmail

Posted by Steve Leach <sl...@askalix.com>.
Suzanne,

Wrong place, but just a few pointers -
Try the Newsgroup comp.mail.sendmail.
Also look at the FAQ at http://www.sendmail.org in particular the .mc file
when using m4 to build.

You need to tell the group what version of Sendmail and what files you have
populated in the /etc/mail or /etc areas - including the relay-domains,
aliases, access, virtusertable, local-names (I think), etc, etc.


Best Regards,

Steve Leach
Network Manager
Mi-Int Limited
Eaglescliffe Logistics Centre
Durham Lane
Egglescliffe
URL: http://www.askalix.com
TEL: 01642 356205
e-mail: sleach@askalix.com

----- Original Message -----
From: "Suzanne Harmon" <su...@hharmon.com>
To: <us...@httpd.apache.org>
Sent: Saturday, March 23, 2002 12:32 AM
Subject: Help with sendmail


>
> We are running a free bsd server with Apache. We are having a major
> problem with sendmail. Originally we had the wrong dns lookup on the
> server and the reverse dns was pointed to another name causing a general
> mail failure.
>
> We fixed the reverse dns which solved the external mail problem but then
> the sendmail would not talk to the email server correctly. It looks like
> when the original reverse dns was run, the sendmail forwarded properly.
> After correcting the reverse dns, sendmail gets a timeout. Example
> follows:
>
> ........................................................................
> .......................................
>
> Action: failed
> Status: 5.1.8
> Diagnostic-Code: SMTP; 501 5.1.8 <no...@freebsd3.midwestis.net>...
> Sender domain must exist
> Last-Attempt-Date: Mon, 11 Mar 2002 15:36:21 -0600 (CST)
>
> Mar 22 18:15:59 freebsd3 sendmail[162]: g2I1h1C10782:
> to=suzanne@hharmon.com,sales@hharmon.com, ctladdr=nobody (65534/65534),
> delay=4+22:32:58, xdelay=00:00:00, mailer=esmtp, pri=24990700,
> relay=mail.hharmon.com., dsn=4.0.0, stat=Deferred: Operation timed out
> with mail.hharmon.com.
>
> ........................................................................
> .......................................
>
> Here is the current mc file:
>
> ........................................................................
> .......................................
>
> divert(0)
> VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.11 2001/07/14
> 18:07:27 gshapiro Exp $')
> OSTYPE(freebsd4)
> DOMAIN(generic)
>
> FEATURE(access_db, `hash -o /etc/mail/access')
> FEATURE(blacklist_recipients)
> FEATURE(local_lmtp)
> FEATURE(mailertable, `hash -o /etc/mail/mailertable')
> FEATURE(relay_based_on_MX)
> FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
>
> dnl Uncomment to activate Realtime Blackhole List
> dnl information available at 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 rejection
> message for the RBL: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org',
> `"550 Mail from " $&{client_addr} " rejected, see
> http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}')
>
> dnl Other DNS based black hole lists
> dnl --------------------------------
> dnl MAPS Relay Spam Stopper (RSS): http://mail-abuse.org/rss/ dnl NOTE:
> This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl,
> `relays.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected;
> see http://mail-abuse.org/cgi-bin/nph-rss?" $&{client_addr}')
>
> dnl MAPS Dial-up User List (DUL): http://maps.vix.com/dul/
> dnl NOTE: This is a subscription service as of July 31, 2001 dnl
> FEATURE(dnsbl, `dialups.mail-abuse.org', `"550 Mail from dial-up
> rejected; see http://mail-abuse.org/dul/enduser.htm"')
>
> 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 Uncomment both of the following lines to listen on IPv6 as well as
> IPv4 dnl DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl
> DAEMON_OPTIONS(`Name=IPv6, Family=inet6')
>
> define(`confMAX_MIME_HEADER_LENGTH', `256/128')
> define(`confNO_RCPT_ACTION', `add-to-undisclosed')
> define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
> define(`MAIL_HUB', `mailer:vmail.midwestis.net') dnl MAILER(local)
> MAILER(smtp)
>
> ........................................................................
> .......................................
>
> Any help you can give us will be greatly appreciated.
>
> Regards,
> Suzanne Harmon
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> suzanne@hharmon.com
> Softouch Interactive
> http://softouchinteractive.com
> http://hharmon.com
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org