Jeff Abrahamson on 26 Jul 2005 22:13:59 -0000 |
I can add a bit to the problem statement. I'm still very confused. Basically, mutt writes mail messages to a program (sendmail, linked to exim4). If I do what mutt says is its default, exim4 barfs and says no way, that's not how to call exim4. So I'm not sure how mutt normally hands mail off to exim4, since it works normally. And I'm not sure what to try to debug. What is causing the HELO line to be wrong? Details: Mutt writes to a program specified by the "sendmail" variable. If I change that to a short shell script that just records its input: jeff@astra:~ $ cat mutt-test #!/bin/sh cat > mutt-test.out jeff@astra:~ $ I see perfectly formed mail messages: jeff@astra:~ $ cat mutt-test.out Date: Tue, 26 Jul 2005 17:58:08 -0400 From: Jeff Abrahamson <jeff@purple.com> To: Jeff Abrahamson <jeff@purple.com> Subject: test Message-ID: <20050726215808.GA10819@purple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.5.9i -- Jeff Jeff Abrahamson <http://www.purple.com/jeff/> +1 215/837-2287 GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B jeff@astra:~ $ But if I invoke exim4 as mutt claims is its default, no mail is delivered, for exim4 says that this is not the way to invoke exim4. Note that I invoke exim4 as root in order to see some debug info. Invoked as me I get only the last three lines telling me that an MUA should invoke it. astra:/etc/exim4# /usr/sbin/exim4 -oi -oem -d -v < ~jeff/mutt-test.out Exim version 4.50 uid=0 gid=0 pid=10914 D=fbb95cfd Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) Support for: iconv() IPv6 GnuTLS Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd Authenticators: cram_md5 plaintext Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp Fixed never_users: 0 changed uid/gid: forcing real = effective uid=0 gid=0 pid=10914 auxiliary group list: <none> configuration file is /var/lib/exim4/config.autogenerated log selectors = 00000ffc 00020800 trusted user admin user changed uid/gid: privilege not needed uid=102 gid=102 pid=10914 auxiliary group list: <none> user name "root" extracted from gecos field "root" originator: uid=0 gid=0 login=root name=root sender address = root@purple.com Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation. astra:/etc/exim4# /usr/sbin/exim4 -oi -oem < ~jeff/mutt-test.out Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation. astra:/etc/exim4# -Jeff On Tue, Jul 26, 2005 at 05:06:46PM -0400, Jeff Abrahamson wrote: > [32 lines, 187 words, 1450 characters] Top characters: etoi0rns > > I think my mail headers look right, but craigslist doesn't like my > smtp conversations (see transcript below). > > I tried running exim4 in debug mode, but mutt doesn't go through port > 25 to send mail (reasonable enough). > > I tried setting (in .muttrc) > > set sendmail="/usr/lib/sendmail -oi -oem -d -v" > > but then mail isn't delivered at all, but I see no error message. The > mail isn't delivered, the log shows nothing, not even an attempt. > > I can't find in the man page how to debug the conversation to find out > what exim is saying. > > Anyone know how to do this? > > Here's the exim4 log of the attempt to send to craigslist.org: > > 2005-07-26 16:57:22 1DxWUM-0002UX-UF <= jeff@purple.com U=jeff P=local S=883 id=20050726205722.GE26089@purple.com > 2005-07-26 16:57:23 1DxWUM-0002UX-UF ** xxx@craigslist.org R=dnslookup T=remote_smtp: SMTP error from remote mailer after RCPT TO:<xxx@craigslist.org>: host mx3.craigslist.org [130.94.251.51]: 504 <localhost>: Helo command rejected: need fully-qualified hostname > 2005-07-26 16:57:23 1DxWUN-0002Ua-F4 <= <> R=1DxWUM-0002UX-UF U=Debian-exim P=local S=1861 > 2005-07-26 16:57:23 1DxWUM-0002UX-UF Completed > 2005-07-26 16:57:23 1DxWUN-0002Ua-F4 => jeff <jeff@purple.com> R=procmail T=procmail_pipe > 2005-07-26 16:57:23 1DxWUN-0002Ua-F4 Completed > > -- > Jeff > > Jeff Abrahamson <http://www.purple.com/jeff/> +1 215/837-2287 > GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B Attachment:
signature.asc ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|