Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Mutt and domain lookup when sending mail - help!
- To: TLUG mailing list <tlug@example.com>
- Subject: tlug: Mutt and domain lookup when sending mail - help!
- From: Jonathan Q <jq@example.com>
- Date: Sat, 4 Sep 1999 01:10:49 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
OK, y'all, here's one of my biggest Mutt challenges yet. When I compose mail in Pine, I send it through our SMTP frontend (mail.gol.com, smart hosts) with no problems (the mail is spooled first by my localhost sendmail, which accepts it for deferred delivery). When I compose with Mutt, our SMTPs reject it with this: 450 <jq@example.com>: Sender address rejected: Domain not found Samples of the headers being stuck onto Mutt-produce mail and Pine-produced mail follow, and they are certainly different. My challenge is to find out what's different about the mail is being sent by Mutt that causes the SMTP relay to attempt to do a lookup on the host-name of this machine (which doesn't really exist), whereas the Pine mail is accepted for relay and passed along. I'll throw in my .muttrc as well, for the reference of those well-steeped in this arcana. TIA, Jonathan Pine headers (when the mail is in my local mqueue) ================================================== V2 T936371863 K0 N0 P30315 I3/8/10047 Fb $rESMTP $slocalhost $_IDENT:jq@example.com [127.0.0.1] S<jq@example.com> RPFD:<jq@example.com> H?P?Return-Path: <jq@example.com> HReceived: from localhost (IDENT:jq@example.com [127.0.0.1]) by iwana-kws.gol.ne.jp (8.9.3/8.9.3) with ESMTP id AAA03819 for <jq@example.com>; Sat, 4 Sep 1999 00:17:43 +0900 H?x?Full-Name: Jonathan Q HDate: Sat, 4 Sep 1999 00:17:43 +0900 (JST) HFrom: Jonathan Q <jq@example.com> HX-Sender: jq@example.com HTo: Jonathan Q <jq@example.com> HSubject: test 10 pine HMessage-ID: <Pine.LNX.4.10.9909040017310.3816-100000@example.com> HMIME-Version: 1.0 HContent-Type: TEXT/PLAIN; charset=US-ASCII Mutt headers (when the mail is in my local mqueue) ================================================== V2 T936371848 K0 N0 P30298 I3/8/10045 Fb $_jq@example.com Sjq RPFD:jq@example.com H?P?Return-Path: <jq> HReceived: (from jq@example.com) by iwana-kws.gol.ne.jp (8.9.3/8.9.3) id AAA03815 for jq@example.com; Sat, 4 Sep 1999 00:17:28 +0900 H?x?Full-Name: Jonathan Q HDate: Sat, 4 Sep 1999 00:17:28 +0900 HFrom: Jonathan Q <jq@example.com> HTo: jq@example.com HSubject: test 9 - mutt HMessage-ID: <19990904001728.A3809@example.com> HMime-Version: 1.0 HContent-Type: text/plain; charset=iso-2022-jp HContent-Transfer-Encoding: 7bit HX-Mailer: Mutt 0.95.4i-jp2 My .muttrc ========== # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # The format of this file is one command per line. Everything after a pound # sign (#) is a comment, unless a backward slash (\) precedes it # #set numbered_ml #set jmsg set nosmart_wrap # Note: $folder should be set _before_ any other path vars where `+' or `=' # is used because paths are expanded when parsed # set folder=~/mail # where i keep my mailboxes set abort_unmodified=yes # automatically abort replies if I don't # change the message set alias_file=~/.mail_aliases # where I keep my aliases set allow_8bit # never do Q-P encoding on legal 8-bit chars #set arrow_cursor # use -> instead of hiliting the whole line set ascii_chars # use ASCII instead of ACS chars for threads #set askbcc #set askcc #set attribution="On %d, %n wrote:" # how to attribute replies #set attribution="On %M %N, %f wrote:\n" set attribution="%n (%a) wrote:\n" set autoedit # go to the editor right away when composing #set auto_tag # always operate on tagged messages #set charset="iso-8859-1" # character set for your terminal set charset="iso-2022-jp" set noconfirmappend # don't ask me if i want to append to mailboxes set noconfirmcreate # prompt when creating new files set copy=yes # always save a copy of outgoing messages set delete=yes # purge deleted messages without asking set edit_hdrs # let me edit the message header when composing #set editor="emacs -nw" # editor to use when composing messages #set fast_reply # skip initial prompts when replying set fcc_attach # keep attachments in copies of sent messages? #set force_name # fcc by recipient, create if mailbox doesn't exist set noforward_decode # weed and MIME decode forwaded messages set forward_format="[%a: %s]" # subject to use when forwarding messages set forward_quote # quote the header and body of forward msgs #set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index #set hdr_format="%4C %Z %{%b/%d} %-15.15L (%4l) %-40.40s" # format of the index set hdr_format="%4C %Z %{%b/%d/%R} %-14.14L (%4l) %-35.35s" # format of the index #set hdrs # include `my_hdr' lines in outgoing messages set header # include message header when replying set help # show the help lines set history=20 # number of lines of history to remember set hostname= # my DNS domain - was "gol.com" set include # always include messages when replying #set indent_str="> " # how to quote replied text #set locale="C" # locale to use for printing time #set mailcap_path="~/.mailcap:/usr/local/share/mailcap" #set nomark_old # i don't care about whether a message is old set mail_check=1 # how often to poll for new mail #set mbox=+mbox # where to store read messages #set menu_scroll # no implicit next-page/prev-page set metoo # remove my address when replying #set mime_forward # use message/rfc822 type to forward messages set move=no # don't ask about moving messages, just do it #set pager=less # some people prefer an external pager #set pager_context=3 # no. of lines of context to give when scrolling #set pager_format="-%S- %-20.20f %s" # format of the pager status bar set pager_format="%S %C/%T: %-20.20n %-38.38s" set pager_index_lines=5 # how many index lines to show in the pager #set pager_stop # don't move to the next message on next-page #set pgp_strict_enc # use Q-P encoding when needed for PGP set postpone=ask-no # postpone message? set postponed=+postponed # mailbox to store postponed messages in set print=ask-yes # ask me if I really want to print messages set print_cmd=/bin/lp # how to print things (I like to save trees) set noprompt_after # ask me for a command after the external pager exits #set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text set quote_regexp="^ *[a-zA-Z]*[]>|}()%:=-][]>|}():=-]*" # YESS!! set read_inc=10 # show progress when reading a mailbox set recall=ask-no # prompt to recall postponed messages set record=+sent-mail # default location to save outgoing mail #set references=5 # trim references list. set reply_to=ask-yes # always use reply-to if present set reply_regexp="^(re:[ \t]*)+"# how to identify replies in the subject: set resolve # move to the next message when an action is performed set reverse_alias # attempt to look up my names for people set reverse_name # reply as the user to whome the mail was sent set nosave_empty # remove files when no messages are left #set save_name # save outgoing messages by recipient, if the set sendmail="/usr/sbin/sendmail" # Removed the switches seen below #set sendmail="/usr/sbin/sendmail -oi -oem " # original sendmail call #set sendmail_bounce="/usr/lib/sendmail -oi -oem" # how to bounce mail #set shell="/bin/zsh" # program to use for shell escapes set sig_dashes # standar "-- " #set signature="~/.signature" # file which contains my signature # I subscribe to a lot of mailing lists, so this is _very_ useful. This # groups messages on the same subject to make it easier to follow a # discussion. Mutt will draw a nice tree showing how the discussion flows. set sort=threads # primary sorting method #set sort_aux=reverse-date-received # how to sort subthreads set sort_aux=date-received # how to sort subthreads #set sort_aux=last-date # date of the last message in thread set sort_browser=reverse-date # how to sort files in the dir browser set spoolfile='~/.mail' # where my new mail is located set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %l]---(%s)%|-" #set status_on_top # some people prefer the status bar on top set strict_threads # don't thread by subject set tilde # virtual lines to pad blank lines in the pager set timeout=30 # timeout for prompt in the index menu set tmpdir=~/tmp # where to store temp files #set to_chars=" +TCF" set use_8bitmime # enable the -B8BITMIME sendmail flag #set nouse_domain # don't qualify local addresses with $domain set use_from # always generate the `From:' header field #set use_mailcap=yes # always use a mailcap entry when found #set verify_sig=no # don't automatically verify message signatures #set visual=vim # editor invoked by ~v in the builtin editor #set nowait_key # prompt when a pipe returns normal status set write_inc=10 # show progress while writing mailboxes # only enable the following IFF you have sendmail 8.8.x or you will not # be able to send mail!!! #set dsn_notify='success,failure,delay' # when to return an error message #set dsn_return=hdrs # what to return in the error message # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Header fields I don't normally want to see # ignore * # this means "ignore all lines by default" # I do want to see these fields, though! unignore from: subject to cc mail-followup-to \ date x-mailer x-url # this shows how nicely wrap long lines # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Color definitions # color normal white black color hdrdefault red black color quoted brightyellow black color signature red black color indicator brightwhite blue color error brightred yellow color status green black color tree magenta black # the thread tree in the index menu color tilde magenta black color message brightcyan black color markers brightcyan black color attachment brightgreen black color search white green # how to hilite search patterns in the pager color header brightred black ^(From|Subject|To): color body magenta black "(ftp|http)://[^ ]+" # point out URLs color body magenta black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses color underline brightgreen default # attributes when using a mono terminal #mono header underline ^(From|Subject): mono quoted bold # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # pgp stuff # #set pgp_default_version=pgp5 #set pgp_language="mutt" #set pgp_sign_micalg=pgp-sha1 #set pgp_strict_enc # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Key bindings # # maps: # alias alias menu # attach attachment menu # browser directory browser # compose compose menu # index message index # pgp pgp menu # postpone postponed message recall menu # generic generic keymap for all of the above # editor line editor # pager text viewer # bind generic "\e<" first-entry # emacs-like bindings for moving to top/bottom bind generic \e> last-entry bind generic { top-page bind generic } bottom-page bind generic \177 last-entry #macro index \cb |urlview\n # simulate the old browse-url function macro index S s+spam\n macro pager S s+spam\n #macro index \# /bug^M # search for bugs #macro index "\"" ":set realname=\"real hairy macro\"^M:set ?realname^M" # and a comment to boot! #macro index f1 :woohoo! bind pager G bottom # just like vi and less #macro pager \Ck "|pgp -kaf^M" # a comment is valid here #macro pager X "|morepgp^M" # pipe PGP message to a script #bind editor \cy eol # make ^Y jump to the end of the line # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # User Defined Headers # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Specify default filename when saving messages # # save-hook [!]<pattern> <mailbox> # # <mailbox> is provided as default when saving messages from <pattern> save-hook mutt- =mutt-mail # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Multiple spool mailboxes # # mbox-hook [!]<pattern> <mbox-mailbox> # # Read mail in <pattern> is moved to <mbox-mailbox> when <pattern> is # closed. #mbox-hook =mutt-users.in =mutt-users #mbox-hook +TEST +inbox # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Change settings based upon message recipient # # send-hook [!]<pattern> <command> # # <command> is executed when sending mail to an address matching <pattern> #send-hook mutt- 'my_hdr From: Michael Elkins <me@example.com>' #send-hook mutt- 'set signature=~/.sigmutt' # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Specify where to save composed messages # # fcc-hook [!]<pattern> <mailbox> # # <pattern> is recipient(s), <mailbox> is where to save a copy #fcc-hook joe +joe #fcc-hook bob +bob # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Change settings based on mailbox # # folder-hook [!]<pattern> <command> # # <command> is executed when opening a mailbox matching <pattern> #folder-hook . 'set sort=date-sent' #folder-hook mutt 'set hdr_format="%4C %Z %02m/%02N %-20.20F (%4l) %s"' #folder-hook =mutt my_hdr Revolution: \#9 # real comment #folder-hook apnic my_hdr From: DNS Role Account <dnsadmin@example.com> folder-hook abuse my_hdr From: Abuse Dept <abuse@example.com> folder-hook webmaster my_hdr From: WWW Role Account <webmaster@example.com> folder-hook postmaster my_hdr From: Postmaster <postmaster@example.com> folder-hook cocacola my_hdr From: Postmaster in Absentia. <postmaster@example.com> folder-hook dnsadmin my_hdr From: DNS Role Account <dnsadmin@example.com> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Aliases # # alias <name> <address> [ , <address> ... ] #alias exam "\# to annoy michael" <user@example.com> #alias me Michael Elkins <michael> # me! # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Mailboxes to watch for new mail # # mailboxes <path1> [ <path2> ... ] # #mailboxes +mutt-dev +mutt-users +open-pgp +wmaker #mailboxes `echo ~/Mail/Lists/*` mailboxes `echo $HOME/mbox` # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Specify the order of the headers to appear when displaying a message # # hdr_order <hdr1> [ <hdr2> ... ] # hdr_order date from subject to cc # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Identify mailing lists I subscribe to # # lists <list-name> [ <list-name> ... ] #lists mutt-dev mutt-users wmaker redhat-list open-pgp vim lists procmail janog usr-tc radius portmaster ssh flexfax IAP lists kevin-ml # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Automatically use entries from ~/.mailcap to view these MIME types # # auto_view <type> [ <type> ... ] auto_view application/x-gunzip auto_view application/x-gzip # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Scoring # # score <pattern> <value> # # 9999 and -9999 are special values which cause processing of hooks to stop # at that entry. If you prefix the score with an equal sign (=), the score # is assigned to the message and processing stops. #score '~f ^me@example.com$' 1000 #score '~t mutt | ~c mutt' =500 #score '~f aol\.com$' -9999 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # I use Mutt on several different machines, so I put local config commands # in a separate file so I can have the rest of the settings the same on all # machines. # #source ~/.muttrc-local # config commands local to this site #source ~/.mail_aliases # EOF ------------------------------------------------------------------- Next Nomikai: September 17 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Technical Meeting: October 9 (Sat), 13:00 place: Temple Univ. ------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- Follow-Ups:
- tlug: Mutt and domain lookup when sending mail - help!
- From: "Stephen J. Turnbull" <turnbull@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Netscape/Java
- Next by Date: tlug: Mutt and domain lookup when sending mail - help!
- Prev by thread: tlug: pop-3/tcp server failing HELP
- Next by thread: tlug: Mutt and domain lookup when sending mail - help!
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links