Subject: sendmail -- one of two problems solved
To: None <netbsd-help@netbsd.org>
From: Gan Uesli Starling <oinkfreebiker@att.net>
List: netbsd-help
Date: 09/23/2001 11:59:03
Dear NetBSD-Help Gurus, and FA Briana of AT&T,
My problems are now half-solved. This is the progress as of now: by putting...
mtu 1500
mru 1500
...in my /etc/ppp/options file, two things that used to fail now would seem
to work. Both were upload issues, as download had never failed. This much at
least now seems to work...
1. An "ftp put" of large file no longer stalls at 9%, but completes
successfully.
2. I assume an email of more than 2K-chars-long body text will likewise now
be accomplished successfully. This present email is the test. If you read
this post, then that too went okay.
...But still one issue seems to remain. If I select "sendmail" versus "SMTP"
for KMail, or if I send mail with mutt, then the mail does not get sent. Just
to be sure, I rebuilt the sendmail stuff from instructions out of the NetBSD
Guide, Chapter 11. Then I tried again, as follows...
gus#
gus# pwd
/usr/share/sendmail/m4
gus# /usr/sbin/sendmail -bi -oA/etc/genericstable
/etc/genericstable: 3 aliases, longest 21 bytes, 78 bytes total
gus# newaliases
/etc/mail/aliases: 20 aliases, longest 10 bytes, 220 bytes total
gus# m4 mycf.mc > /etc/sendmail.cf
gus# sendmail -q -v
Running /var/spool/mqueue/f8NEWRs00555 (sequence 1 of 1)
oinkfreebiker@att.net... Connecting to gateway6.att.net. via esmtp...
oinkfreebiker@att.net... Connecting to gateway5.att.net. via esmtp...
oinkfreebiker@att.net... Connecting to gateway1.att.net. via esmtp...
oinkfreebiker@att.net... Connecting to gateway3.att.net. via esmtp...
oinkfreebiker@att.net... Connecting to gateway4.att.net. via esmtp...
oinkfreebiker@att.net... Connecting to gateway8.att.net. via esmtp...
oinkfreebiker@att.net... Connecting to gateway2.att.net. via esmtp...
oinkfreebiker@att.net... Deferred: Connection timed out with gateway2.att.net.
gus#
...Below are the two files which remain in /var/spool/mqueue after trying to
send (and failing) with sendmail...
...Here is var/spool/mqueue/qff8NEWRs0555 ...
V4
T1001255547
K1001258528
N2
P120342
I0/0/125011
MDeferred: Connection timed out with gateway2.att.net.
Fb
$_localhost [[UNIX: localhost]]
$slocalhost
Saplonis
Aaplonis@gus.starling.ws
RPFD:oinkfreebiker@att.net
H?P?Return-Path: <g>
H??Received: from localhost (localhost [[UNIX: localhost]])
by gus.starling.ws (8.11.3/8.11.3) id f8NEWRs00555
for oinkfreebiker@att.net; Sun, 23 Sep 2001 10:32:27 -0400 (EDT)
H?x?Full-Name: Gan Uesli Starlnig
H??Content-Type: text/plain;
charset="iso-8859-1"
H??From: Gan Uesli Starling <oinkfreebiker@att.net>
H??To: oinkfreebiker@att.net
H??Subject: KMail via Sendmail
H??Date: Sun, 23 Sep 2001 10:32:27 -0400
H??X-Mailer: KMail [version 1.2]
H??MIME-Version: 1.0
H??Message-Id: <01092310322703.00521@gus.starling.ws>
H??Content-Transfer-Encoding: 8bit
.
...Here is /var/spool/mqueue/dff8NEWRs0555 ...
this is via sendmail
...Here is my /etc/genericstable...
# /etc/genericstable
# From the NetBSD Guide, Chap 11.1.1,
# Configuration with genericstable (for sendmail)
aplonis: oinkfreebiker@att.net
root: oinkfreebiker@att.net
news: oinkfreebiker@att.net
# EOF
...Here is my /usr/share/sendmailm4/mycf.mc ...
# /usr/share/sendmail/m4/mycf.mc
# From the NetBSD Guide, Chap. 11.1.1,
# Configuration with genericstable
divert(-1)
include(`../m4/cf.m4')dnl
VERSIONID(`mycf.mc (data) created by aplonis@gus.starling.ws')dnl
OSTYPE(bsd4.4)dnl
GENERICS_DOMAIN(gus.starling.ws)dnl
FEATURE(genericstable)dnl
FEATURE(masquerade_envelope)dnl
define(`SMART_HOST', `mailhost.worldnet.att.net')dnl
FEATURE(redirect)dnl
FEATURE(nocanonify)dnl
define(`SMTP_MAILER_FLAGS', `e9')dnl
define(`confCON_EXPENSIVE', `True')dnl
# `for european users'
define(`confDEF_CHAR_SET', `ISO-8859-1')dnl
MAILER(local)dnl
MAILER(smtp)dnl
# EOF