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 [ 26 | January | 2008 ]

<< Previous Message <<


Date: Sat, 26 Jan 2008 22:26:07 -0800
From: "Robert Blair" <SCOUG-HELP-2lvvuss@listemail.net >
Reply-To: scoug-help@scoug.com
To: scoug-help@scoug.com
Subject: SCOUG-Help: Sendmail

** Reply to message from Sheridan George on Sat, 26 Jan 2008
17:51:51 -0800

> 1) Made sure Send mail was on my path:
>
> [D:\]sendmail
> IBM OS/2 SENDMAIL VERSION 2.04
> Using Sendmail Configuration File E:\MPTN\ETC\sendmail.cf
> os2user... Recipient names must be specified
>
> The external process was cancelled by a Ctrl+Break or another process.
>
> [D:\]

The program was probably reading stdin waiting for you to enter the required
parameters. You need to supply parameters for sendmail.

> It is and gives an appropriate error message but it doesn't complete back to the DOS prompt until I
> press ctrl-C
>
> 2) Created an MQUEUE directory in mptn\etc:
>
> [E:\mptn\etc]dir *.
>
> The volume label in drive E is ECS 1_1 MAI.
> The Volume Serial Number is 29B4:2C14.
> Directory of E:\mptn\etc
>
> 3-25-07 11:45a

0 ---- .
> 3-25-07 11:45a 0 ---- ..
> 4-03-04 11:53a 0 ---- DAT
> 1-21-08 3:17p 1,038 ---- MQUEUE
>
>
> 3) created a dummy e-mail post and put it in MQUEUE

This directory is not for your use it is for sendmail.

> [E:\mptn\etc\mqueue]dir *.txt
>
> The volume label in drive E is ECS 1_1 MAI.
> The Volume Serial Number is 29B4:2C14.
> Directory of E:\mptn\etc\mqueue
>
> 1-21-08 3:36p 153 35 a--- SendMailTest.txt

Sendmail will not read this file because it does not have a sendmail file name
also it is in the wrong format. When sendmail puts the message in the mqueue
directory it breaks the message into two parts one is the message body and the
other is the message headers with sendmail status information.

> SendMailTest.txt contains:
>
> To: listsns@roadrunner.com
> From: s-geo@usa.net
> Subject: Testing Sendmail
>
> This is test one.
>
> Saved as file SendMailTest.txt in: E:\MPTN\ETC\MQUEUE

This is a good message to pass to sendmail but don't put it in the mqueue
directory.

> 4) Modified E:\MPTN\ETC\sendmail.cf thusly:
>
>
> # 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
>
> DVlocalhost/listsns/smtp.roadrunner.com

try

DVsmtp.roadrunner.com

> # The fully qualified (with domain) name of the external mail hub
>
> # DPYourExternalUserID
>
> DPlistsns

Start with this commented out.

If you are sending this from your roadrunner connection you probably don't need
this unless they require it for everything. Most ISPs do not need it if you
are using your direct connection to your ISP.

> # The local domain
>
>
> And sent it by the command:
>
> sendmail -a SendMailTest.txt -t
>
> which hung until I pressed ctrl-C
>
> [E:\mptn\etc\mqueue]sendmail -a SendMailTest.txt -t
> IBM OS/2 SENDMAIL VERSION 2.04
> Using Sendmail Configuration File E:\MPTN\ETC\sendmail.cf
>
> The external process was cancelled by a Ctrl+Break or another process.
>
> Note: For the DV variable I used the localhost part because I'm using JunkSpy and local host was
> part of the required setup.

Try it without JunkSpy.

If it works without JunkSpy then try it with JunkSpy running but bypass JunkSpy
if possible.

> Since that didn't work I tried several settings for DV:
>
> DVlistsns/smtp.roadrunner.com
> DVlistsns - smtp.roadrunner.com
> DVsmtp.roadrunner.com
> DVlocalhost
>
> Note: the DVlistsns/smtp.roadrunner.com and DVlistsns - smtp.roadrunner.com versions were tried
> because I found both versions in SeaMonkey's preferences.
>
> Note2: Sendmail seems to create three other files one of which holds the body the the e-mail and the
> other two are blank:
>
> 1-26-08 5:45p 77 0 a--- dfRAA000.78
> 1-26-08 5:45p 0 0 a--- qfRAA000.78
> 1-21-08 3:36p 153 35 a--- SendMailTest.txt
> 1-26-08 5:45p 0 0 a--- xfRAA000.78

Those strange named files are your original message broken apart and stored for
retrying at a later time.

Erase all files from the mqueue directory before retrying again as we don't
want to send any queued messages until we get sendmail sending email properly.
It is probably a good idea to erase everything in the mqueue directory after
every test so there is nothing to add to the confusion.

> I for sure don't know what I'm doing and have yet to stumble on the correct settings.
>
> What about a password variable. I couldn't find one in the .cf file. I need one when I log in to
> Time Warner to get my mail.

I don't know if you need one or not. Most ISPs do not require a user name and
password if you are using your direct connection to the ISP. In any case you
are not retrieving email you are sending it.

Start without running the server part as it is not needed unless an error
occurs on the initial send.

just use your command

sendmail -a SendMailTest.txt -t

but you may need to give a full path for the file name.

--
Robert Blair

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

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 <<

Return to [ 26 | January | 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.