SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-HELP Mailing List Archives

Return to [ 02 | February | 2008 ]

<< Previous Message << >> Next Message >>


Date: Sat, 2 Feb 2008 12:10:46 -0800
From: Sheridan George <s-geo@usa.net >
Reply-To: scoug-help@scoug.com
To: scoug-help@scoug.com
Subject: SCOUG-Help: Sendmail


1
This is a multi-part message in MIME format.

Content Type: text/plain

Content-Transfer-Encoding: 7bit

Here's my .cf file. There is no .cmd. At the top of each sendmail-?...?.txt file is a copy of the
command line I typed in at the command prompt. The result of that command line is that
sendmail-?...?.txt and its respective MQueue-?.err file

Sheridan

PS I don't see that my setup makes a difference because SeaMonkey doesn't have a problem but for
complete disclosure, the connection from the web to my computer is through: Time Warner --> cable
modem --> vonage voice over IP modem --> D-link wireless router/switch --> hard wire to FastEagle.
It has to be something I'm missing (in the .cf setup ?) causing the DNS failure.

Steven Levine wrote:
> In <47A364C6.2070409@usa.net>, on 02/01/08
> at 10:27 AM, Sheridan George said:
>
> Hi,
>
>>> Look in %ETC and find the logs that sendmail has strewn about without
>>> telling you.
>
>> The attachment is the only file with .log or .err in the whole folder.
>
> Well, I can't possibly say what you are doing wrong unless you send along
> the sendmail.cf and .cmd script that caused the log to be written. With
> all the edits you are making, we have a moving target.
>
>>> Try the sendmail again changing the -d to -d -d1-99.40. This will get you
>
>> Are there too many -d here? Or do we need both -d and -d1-99.40?
>
> Nope. They are different. If you have neglected to grab a copy of
>
> http://www.sendmail.org/doc/sendmail-current/doc/op/op.pdf
>
> you really should. It's for v8, but it's pretty easy to figure out what
> will work in v2.
>
> The attached will help you figure out which -d options may be helpful.
>
>> I notified you of the receipt of the messages and included one copy of
>> the ones that produced an error.
>
> Since they got to you, it shows that the command lines and sendmail.cf I
> used are acceptable to some level.
>
> Steven
>


Content Type: text/plain

name="sendmail.cf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="sendmail.cf"

#########################################################################
# #
# Sendmail #
# Copyright (c) 1983 Eric P. Allman #
# Berkeley, California #
# #
# Copyright (c) 1983 Regents of the University of California. #
# All rights reserved. The Berkeley software License Agreement #
# specifies the terms and conditions for redistribution. #
# #
# This configuration file was created specifically for sendmail on the #
# IBM OS/2 Operating System. Please avoid making changes to this file #
# because any changes will change the operation of sendmail. #
# #
# Created by: William Chung for IBM Ultimedia Mail/2 "Lite" #
# and IBM NR/2 #
# IBM T.J. Watson Research Center, Hawthorne, NY #
# #
# March 21, 1995 #
# #
# Change activity: #
# 2/96 TAB Added F=F to mLocal, changed version number #
# 3/96 TAB Added Prog definition. #
#########################################################################

#
# This configuration file routes outgoing mail as follows:
#
# 1. If mail is destined for a directly connected domain and
# an internal gateway is defined, then deliver to the gateway.
#
# 2. If mail is destined for a directly connected domain and
# no internal gateway is defined, then deliver directly.
#
# 3. If mail is destined for a domain which is not directly
# connected, then deliver to an external gateway.
#
# 4. If mail is destined for a domain which is not directly
# connected and an external gateway is not defined,
# then deliver directly.
#
# 5. In all cases, rewrite the sender address to look like
# it came from a mail hub if a mail hub is defined.
#
# 6. In all cases, deliver addresses destined for the local host
# directly with no routing through gateways.
#

#
# Macro Definitions
#
# Note: The values of the V and H macros are merely placeholders.
# Actual values will get substituted later at send time when
# sendmail is invoked with the -oM command line flag to override
# these configuration file values.
#
# The V and H macros should normally not be changed here.
#

# The fully qualified (with domain) name of the internal gateway
#
# All mail destined for the domains defined in macros D through G
# will be sent to this gateway machine
#
# If this macro is not defined, then all mail destined for the domains
# defined in macros D through G will be delivered directly
# DRYour.Internal.Gateway

# The fully qualified (with domain) name of the external gateway
#
# All mail destined for domains _not_ defined in macros D through G
# will be sent to this gateway machine
#
# If this macro is not defined, then all mail destined for domains
# _not_ defined in macros D through G will be delivered directly
# DVYour.External.Gateway
DVsmtp.roadrunner.com

# The fully qualified (with domain) name of the external mail hub
#
# All sender addresses for external destination addresses will be
# rewritten to look like they came from this mail hub
# DHYour.External.Mail.Hub

# The fully qualified (with domain) name of the internal mail hub
#
# All sender addresses for internal destination addresses will be
# rewritten to look like they came from this mail hub
# DIYour.Internal.Mail.Hub

# External user id
#
# The user id used for sending mail through the external gateway
#
# All sender addresses for external destination addresses will be
# rewritten to look like they came from this user id
# DPYourExternalUserID
DPlistsns

# The local domain
#
# The domains defined in macros D through G are considered internal and
# directly connected. Mail destined for these domains will be delivered
# to an internal gateway defined in macro R
#
# If macro R is undefined, then mail for internal destinations will be
# delivered directly
# DDYour.Domain

# Internal, directly connected domains
#
# The domains defined in macros D through G are considered internal and
# directly connected. Mail destined for these domains will be delivered
# to an internal gateway defined in macro R
#
# If macro R is undefined, then mail for internal destinations will be
# delivered directly
DE
DF
DG

# Version # of this file TAB
DZ2.0

# Official canonical hostname.
#
# Do not bother setting macro $w (hostname) since sendmail will set
# it for us
#
# Note: We assume $w contains the fully qualified name of the local host
Dj$w

#
# Standard macros
#

# SMTP initial login message
De$j Sendmail $v/$Z ready at $b
# Name used for error messages
DnMailer-Daemon
# UNIX header format
DlFrom $g $d
# Delimiter (operator) characters
Do.:%@!^=/[]
# Format of a total name
Dq$?x$x <$g>$|$g$.

#
# Options
#

# Process messages in the background.
Odbackground
# Accept oldstyle addresses
Oo
# SMTP read timeout
Or15m
# Queue directory - this must be changed if TCP/IP is moved!
OQE:\MPTN\ETC\MQUEUE
# Always queue for safety
Os
# Time to live in the queue
OT5d

#
# Message precedences
# Note: use equal weight so we can let relay decide what to do
#
Pfirst-class=0
Pspecial-delivery=0
Pjunk=0

#
# Required headers
#
#HReceived: $?sfrom $s $.by $j ($v/$Z) id $i; $b
H?D?Date: $a
H?F?From: $q
H?M?Message-Id: <$t.$i@$j>
H?D?Resent-Date: $a
H?F?Resent-From: $q
H?M?Resent-Message-Id: <$t.$i@$j>
H?x?Full-Name: $x

#
# Rewriting Rules
#

#
# Ruleset 3 -- Name Canonicalization
#

S3

# handle null input (translate to <@> special case)
R$@ $@ <@>

# basic textual canonicalization -- note RFC733 heuristic here
R$*<$*>$*<$*>$* $2$3<$4>$5 strip multiple <> <>
R$*<$*<$+>$*>$* <$3>$5 2-level <> nesting
R$*<>$* $@ <@> MAIL FROM:<> case
R$*<$+>$* $2 basic RFC821/822 parsing

# handle list:; syntax as special case
R$*:;$* $@ $1 :; <@>

# make sure <@a,@b,@c:user@d> syntax is easy to parse -- undone later
R@ $+ , $+ @ $1 : $2 change all "," to ":"

# localize and dispose of route-based addresses
R@ $+ : $+ $@ $>96 < @$1 > : $2 handle

# find focus for list syntax
R $+ : $* ; @ $+ $@ $>96 $1 : $2 ; < @ $3 > list syntax
R $+ : $* ; $@ $1 : $2; list syntax

# find focus for @ syntax addresses
R$+ @ $+ $: $1 < @ $2 > focus on domain
R$+ < $+ @ $+ > $1 $2 < @ $3 > move gaze right
R$+ < @ $+ > $@ $>96 $1 < @ $2 > already canonical

# do some sanity checking
R$* < @ $* : $* > $* $1 < @ $2 $3 > $4 nix colons in addrs

# if we have % signs, take the rightmost one
R$* % $* $1 @ $2 First make them all @s.
R$* @ $* @ $* $1 % $2 @ $3 Undo all but the last.
R$* @ $* $@ $>96 $1 < @ $2 > Insert < > and finish

# else we must be a local name

#
# Ruleset 96 -- bottom half of ruleset 3
#

# At this point, everything should be in a "local_part<@domain>extra" format.
S96

# handle special cases for local names
R$* < @ localhost > $* $: $1 < @ $j . > $2 no domain at all
R$* < @ localhost . $m > $* $: $1 < @ $j . > $2 local domain
R$* < @ [ $+ ] > $* $: $1 < @@ [ $2 ] > $3 mark [a.b.c.d]
R$* < @@ $=w > $* $: $1 < @ $j . > $3 self-literal
R$* < @@ $+ > $* $@ $1 < @ $2 > $3 canon IP addr

# pass to name server to make hostname canonical
R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4

# local host aliases and pseudo-domains are always canonical
R$* < @ $=w > $* $: $1 < @ $2 . > $3
R$* < @ $* $=P > $* $: $1 < @ $2 $3 . > $4
R$* < @ $* . . > $* $1 < @ $2 . > $3

# if this is the local hostname, make sure we treat is as canonical
R$* < @ $j > $* $: $1 < @ $j . > $2

#
# Ruleset 4 -- Final Output Post-rewriting
#

S4

R$*<@> $@ $1 handle <> and list:;

# strip trailing dot off possibly canonical name
R$* < @ $+ . > $* $1 < @ $2 > $3

# externalize local domain info
R$* < $+ > $* $1 $2 $3 defocus
R@ $+ : @ $+ : $+ @ $1 , @ $2 : $3 canonical
R@ $* $@ @ $1 ... and exit

# delete duplicate local names
R$+ % $=w @ $=w $1 @ $j u%host@host => u@host

#
# Ruleset 97 -- recanonicalize and call ruleset zero
# (used for recursive calls)
#

S97
R$* $: $>3 $1
R$* $@ $>0 $1

#
# Ruleset 0 -- Parse Address
#

S0

R<@> $#local $: <> special case error msgs
R$* : $* ; $#error $@ USAGE $: "list:; syntax illegal for recipient addresses"
R<@ $+> $#error $@ USAGE $: "user address required"
R<$* : $* > $#error $@ USAGE $: "colon illegal in host name part"

# handle numeric address spec
R$* < @ [ $+ ] > $* $#smtp $@ [$2] $: $1 < @ [$2] > $3 numeric internet spec: send

# now delete the local info -- note $=O to find characters that cause forwarding
R$* < @ > $* $@ $>97 $1 user@ => user
R< @ $=w . > : $* $@ $>97 $2 @here:... -> ...
R$* $=O $* < @ $=w . > $@ $>97 $1 $2 $3 ...@here -> ...

# short circuit local delivery so email to ourself will work
R$+ < @ $w $* > $#local $: $1 deliver local address directly
R$+ < @ $=w $* > $#local $: $1 deliver local address directly

# figure out what can be delivered through our local network
R$* $: < $D > $1
R< $+ > $* < @ $* $D > $* $@ $>5 $2 < @ $3 $D > $4
R< $* > $* $2

R$* $: < $E > $1
R< $+ > $* < @ $* $E > $* $@ $>5 $2 < @ $3 $E > $4
R< $* > $* $2

R$* $: < $F > $1
R< $+ > $* < @ $* $F > $* $@ $>5 $2 < @ $3 $F > $4
R< $* > $* $2

R$* $: < $G > $1
R< $+ > $* < @ $* $G > $* $@ $>5 $2 < @ $3 $G > $4
R< $* > $* $2

# pass names that still have a host to an external gateway if defined
R$* < @ $* > $* $@ $>98 < $V > $1 < @ $2 > glue on gateway

# deal with other remote names
R$* < @$* > $* $#smtp $@ $2 $: $1 < @ $2 > $3 user@host.domain

# if this is quoted, strip the quotes and try again
R$+ $: $1 strip quotes
R$+ $=O $+ $@ $>97 $1 $2 $3 try again

# handle locally delivered names
R$=L $#local $: @ $1 special local names
R$+ $#local $: $1 regular local names

#
# Ruleset 5 -- handle rewriting for internal gateway
#

S5

# see if we have a gateway
R$+ $: < $R > $1 try relay
R< > $+ < @ $+ $* > $#smtp $@ $2 $3 $: $1 < @ $2 $3 > try directly
R< $- : $+ > $+ $: $>95 < $1 : $2 > $3 < @ $2 >
R< $+ > $+ $@ $>95 < $1 > $2 < @ $1 >

#
# Ruleset 95 -- determine mailer for internal gateway
#

S95
R< > $+ < @ $+ > $#smtp $@ $2 $: $1 < @ $2 > try directly
R< $- : $+ > $* $# $1 $@ $2 $: $3 try qualified mailer
R< $=w > $* $@ $2 delete local host
R< $+ > $+ < @ $+ > < @ $* > < $1 > $2 @ < $3 > strip off extra gateway
R< $+ > $* $#internal $@ $1 $: $2 try gateway

#
# Ruleset 98 -- determine mailer for external gateway
#

S98
R< > $+ < @ $+ > $#smtp $@ $2 $: $1 < @ $2 > try directly
R< $=w > $* $@ $2 delete local host
R< $+ > $* $#external $@ $1 $: $2 try external gateway

#
# Mailer Definitions
#

#
# SMTP, Local and Program Mailer specifications
# Added F=F to Mlocal TAB

Msmtp, P=[IPC], F=mDFMuX, S=10, R=0, A=IPC $h
Mlocal, P=C:\TCPIP\UMAIL\umailer.exe , F=Flsm, S=10, R=0, A=-dest C:\TCPIP\UMAIL\SERVER\INBOX -to $u
Mprog, P=c:\os2\cmd.exe, F=lsDFM, A= /C $u

S10
R<@> $n errors to mailer-daemon
R$+ $: $>11 $1 perform internal rewrite
R$+ $: $>12 $1 perform external rewrite

#
# Relay Mailer specifications
#

Minternal, P=[IPC], F=mDFMuX, S=11, R=0, A=IPC $h
Mexternal, P=[IPC], F=mDFMuX, S=12, R=0, A=IPC $h

S11
R<@> $n errors to mailer-daemon
R$+ $: $>40 < $I > $1

S12
R<@> $n errors to mailer-daemon
R$+ $: $>40 < $H > $1
R$+ $: $>41 $1

# Rewrite addresses so they look like they are from a hub
S40
R< > $- $@ $1 < @ $w > no hub defined, user => user@thishost
R< > $+ $@ $1 no hub defined
R< $+ > $- $@ $2 < @ $1 > user => user@hub
R< $+ > $+ < @ $w $* > $@ $2 < @ $1 > user@thishost => user@hub
R< $+ > $+ < @ $=w $* > $@ $2 < @ $1 > user@othernames => user@hub
R< $+ > $+ < @ $=w.$D > $@ $2 < @ $1 > user@thishostonly => user@hub
R< $+ > $+ $@ $2 hub defined but no rewrite

# Rewrite addresses so they look like they are from a specific user id
S41
R$* $: < $P > $1 expand with user id macro
R< > $+ $@ $1 no user id macro defined
R< $+ > $+ < @ $H > $@ $P < @ $H > user@host => newuser@host
R< $+ > $+ $@ $2 user id macro defined but no rewrite

# Sendmail configuration file *must* end with a newline - do not remove below newline


Content Type: text/plain

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".

For problems, contact the list owner at
"postmaster@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 02 | February | 2008 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.