Ok, I give.  No mas, no mas.

I have a new mutt build ready to go, but I can no longer test it since I've
gone DSL.  AT&T does [E]SMTP over SSL, and ssmtp (which I had been using)
doesn't (the official Cygwin one anyway).  So I'm trying to set up exim as a
sendmail replacement, and of course getting millimeters away from it
actually working and then being stopped cold by unknowns.

I'm going to try building ssmtp with SSL support, but in the meantime, can
somebody tell me what the secret is to getting exim to work in this
situation:

- This is on XP, NTFS, ntsec on.
- This is send-only, as mutt has POP built in.
- I'm trying to use it in this manner, in the Cyg-specific README's
*nontsec* section:
"6) Mail User Agent programs can use exim to send local and remote 
   mail. If you are using mutt, add the following in .muttrc
   set sendmail="/bin/exim -i" . To use exim from cron, point the 
   symlink /usr/sbin/sendmail to /bin/exim ."
- I'm using mua_wrapper, and not using the daemon at all, so does this
section still apply?
"8) Due to file permission settings (there is no suid in Windows), 
   Mail User Agent programs cannot call exim directly for local 
   deliveries in a secure environment. They should smtp to exim on
   localhost (port 25). 
   This restriction can be lifted (while maintaining some security) 
   by using the -odq option and giving append permissions to the 
   spool, input and msglog directories and the log files, and read 
   permission to the /etc/exim.conf file.
   Deliveries are then made by the daemon on the next queue run.
   This restriction is also lifted if all modes are 0777 or 0666."
I'm getting no failures that look like file permission problems.
- I appear to have TLS/SSL set up correctly, since exim gets to the point
where it receives a 221 and sends an EHLO or HELO.  But then the AT&T server
(apparently) just sits there, and after a few minutes drops the socket.
- I've read everything I can find and FWICT what I have in /etc/exim.conf
should work.  I have of course tried many other permutations of options as
well.  Attached if a kind soul would care to look it over.

The results of an "exim -d [EMAIL PROTECTED]" are also attached.  Late
breaking news: that was done using the same exim.conf which is attached,
with my ATT username and password munged, but I get the same results when I
have my real UN & PW in (what I believe to be) the proper exim.conf
locations.

So is it a Cygwin problem, an exim problem, or a Gary problem?  I'll let you
guys know how the ssmtp+SSL thing goes.

-- 
Gary R. Van Sickle

Attachment: exim.conf
Description: Binary data

Exim version 4.50 uid=1008 gid=513 pid=2664 D=fbb95cfd
Probably GDBM (native mode)
Support for: iconv() PAM OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz dnsdb dsearch 
ldap ldapdn ldapm passwd
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
changed uid/gid: forcing real = effective
  uid=1008 gid=513 pid=2664
  auxiliary group list: <none>
configuration file is /etc/exim.conf
log selectors = 00000ffc 00020800
trusted user
admin user
changed uid/gid: privilege not needed
  uid=1008 gid=513 pid=2664
  auxiliary group list: <none>
user name "U-DFW5RB41\GaryV" extracted from gecos field 
"U-DFW5RB41\GaryV,S-1-5-21-2976165837-3279681201-1695072063-1008"
originator: uid=1008 gid=513 login=GaryV name="U-DFW5RB41\GaryV"
sender address = [EMAIL PROTECTED]
set_process_info:  2664 accepting a local non-SMTP message from <[EMAIL 
PROTECTED]>
Sender: [EMAIL PROTECTED]
Recipients:
  [EMAIL PROTECTED]
search_tidyup called
To: [EMAIL PROTECTED]

>>Headers received:
To: [EMAIL PROTECTED]

rewrite_one_header: type=T:
  To: [EMAIL PROTECTED]
rewrite_one_header: type=F:
  From: "U-DFW5RB41\GaryV" <[EMAIL PROTECTED]>
search_tidyup called
>>Headers after rewriting and local additions:
T To: [EMAIL PROTECTED]
I Message-Id: <[EMAIL PROTECTED]>
F From: "U-DFW5RB41\GaryV" <[EMAIL PROTECTED]>
  Date: Sat, 21 May 2005 22:28:42 -0500

gjgjgjgjgj
Data file written for message IGVGB8-000220-HD
>>Generated Received: header line
P Received: from GaryV by DFW5RB41 with local (Exim 4.50)
        id IGVGB8-000220-HD
        for [EMAIL PROTECTED]; Sat, 21 May 2005 22:28:47 -0500
calling local_scan(); timeout=300
local_scan() returned 0 NULL
Writing spool header file
Size of headers = 284
LOG: MAIN
  <= [EMAIL PROTECTED] U=GaryV P=local S=296
search_tidyup called
set_process_info:  2292 delivering IGVGB8-000220-HD
reading spool file IGVGB8-000220-HD-H
user=GaryV uid=1008 gid=513 [EMAIL PROTECTED]
sender_local=1 ident=GaryV
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=1 message_linecount=7
Delivery address list:
  [EMAIL PROTECTED] 
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
no retry data available
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering: [EMAIL PROTECTED]
unique = [EMAIL PROTECTED]
no domain retry record
no address retry record
[EMAIL PROTECTED]: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing [EMAIL PROTECTED]
--------> send_to_smart_host router <--------
local_part=g.r.vansickle domain=att.net
calling send_to_smart_host router
send_to_smart_host router called for [EMAIL PROTECTED]
  domain = att.net
route_item = !+local_domains imailhost.worldnet.att.net
att.net in "@"? no (end of list)
att.net in "!+local_domains"? yes (end of list)
original list of hosts = "imailhost.worldnet.att.net" options = 
expanded list of hosts = "imailhost.worldnet.att.net" options = 
set transport remote_smtp
finding IP address for imailhost.worldnet.att.net
doing DNS lookup
DNS lookup of imailhost.worldnet.att.net (A) succeeded
fully qualified name = imailhost.worldnet.att.net
imailhost.worldnet.att.net 204.127.134.146 mx=-1 sort=-416 
queued for remote_smtp transport: local_part = g.r.vansickle
domain = att.net
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by send_to_smart_host router
  envelope to: [EMAIL PROTECTED]
  transport: remote_smtp
  host imailhost.worldnet.att.net [204.127.134.146]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
After routing:
  Local deliveries:
  Remote deliveries:
    [EMAIL PROTECTED]
  Failed addresses:
  Deferred addresses:
search_tidyup called
>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>
--------> [EMAIL PROTECTED] <--------
search_tidyup called
set_process_info:  2292 delivering IGVGB8-000220-HD: waiting for a remote 
delivery subprocess to finish
selecting on subprocess pipes
changed uid/gid: remote delivery to [EMAIL PROTECTED] with transport=remote_smtp
  uid=1008 gid=513 pid=1308
  auxiliary group list: <none>
set_process_info:  1308 delivering IGVGB8-000220-HD using remote_smtp
remote_smtp transport entered
  [EMAIL PROTECTED]
att.net in queue_smtp_domains? no (option unset)
checking status of imailhost.worldnet.att.net
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
no retry data available
imailhost.worldnet.att.net [204.127.134.146]:465 status = usable
204.127.134.146 in serialize_hosts? no (option unset)
delivering IGVGB8-000220-HD to imailhost.worldnet.att.net [204.127.134.146] 
([EMAIL PROTECTED])
set_process_info:  1308 delivering IGVGB8-000220-HD to 
imailhost.worldnet.att.net [204.127.134.146] ([EMAIL PROTECTED])
Connecting to imailhost.worldnet.att.net [204.127.134.146]:465 ... connected
waiting for data on socket
selecting on subprocess pipes
selecting on subprocess pipes
read response data: size=22
  SMTP<< 221 worldnet.att.net
gethostbyname looked up these IP addresses:
  name=imailhost.worldnet.att.net address=204.127.134.146
204.127.134.146 in hosts_avoid_esmtp? yes (matched "imailhost.worldnet.att.net")
not sending EHLO (host matches hosts_avoid_esmtp)
  SMTP>> HELO DFW5RB41
waiting for data on socket
ok=0 send_quit=0 send_rset=1 continue_more=0 yield=1 first_address is not NULL
LOG: MAIN
  Remote host imailhost.worldnet.att.net [204.127.134.146] closed connection in 
response to HELO DFW5RB41
set_process_info:  1308 delivering IGVGB8-000220-HD: just tried 
imailhost.worldnet.att.net [204.127.134.146] for [EMAIL PROTECTED]: result DEFER
added retry item for T:imailhost.worldnet.att.net:204.127.134.146:465: 
errno=-18 more_errno=0,A flags=2
all IP addresses skipped or deferred at least one address
Leaving remote_smtp transport
set_process_info:  1308 delivering IGVGB8-000220-HD (just run remote_smtp for 
[EMAIL PROTECTED] in subprocess)
search_tidyup called
reading pipe for subprocess 1308 (not ended)
read() yielded 308
reading retry information for T:imailhost.worldnet.att.net:204.127.134.146:465 
from subprocess
  added retry item
Z0 item read
remote delivery process 1308 ended
set_process_info:  2292 delivering IGVGB8-000220-HD
post-process [EMAIL PROTECTED] (2)
LOG: MAIN
  ** [EMAIL PROTECTED] R=send_to_smart_host T=remote_smtp: Remote host 
imailhost.worldnet.att.net [204.127.134.146] closed connection in response to 
HELO DFW5RB41
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
changed uid/gid: post-delivery tidying
  uid=1008 gid=513 pid=2292
  auxiliary group list: <none>
set_process_info:  2292 tidying up after delivering IGVGB8-000220-HD
Delivery failed: Remote host imailhost.worldnet.att.net [204.127.134.146] 
closed connection in response to HELO DFW5RB41
LOG: MAIN
  Completed
end delivery of IGVGB8-000220-HD
search_tidyup called
search_tidyup called
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=2664 terminating with rc=1 >>>>>>>>>>>>>>>>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to