All,
Tried to solve this a year or so back, gave up but now trying again.
running Debian wheezie
Below is my .muttrc file for my fastmail account with passwords removed.
Mutt receives fine, but when sending says:
"connecting to fastmail.fm
connection refused could not connect to fastmail.fm

Now we all know that it must be 
messagingengine.com
and that appears! to be what the .muttrc file says!
There is no systemwide .muttrc file. Where the H----- else can mutt be
getting the wrong server name?

There is no issue with network ports, needed libraries or the like I can
find.
I think it's a poltergheist or an evil "daemon"
#
I've also tried msmtp, esmtp etc. all have various problems.

Hope somebody can spot the problem, getting tired of using the fastmail
web
interface for sending! 
Thanks
Tom

# mutt configuration specific to fastmail using IMAP
set from="Tom Fowle <wa6iv...@fastmail.fm>"
#set menu_scroll = no
#set meta_key = no
set help = yes
#set history = 10
#set read_only = no
#set date_format = "!%a, %b %d, %Y at %I:%M:%S%p %Z"
set delete = ask-yes
#set dotlock_program = "/usr/local/bin//mutt_dotlock"
set beep_new = no
set charset = "iso-8859-1"
set check_new = yes

# OS Specifiques options
##################################################
#set tmpdir = ""
#set print = ask-no
#set print_command = "lpr"
#set print_decode = yes
#set ispell = "ispell"
#set locale = "C"
set shell = "bash"

#set forward_format = "[%a: %s]"
#set forward_quote = no
 set fcc_clear = no
#set forward_quote = no

# Folder and Mailbox
######################################################
#set write_inc = 10
#set sort_browser = alpha
#set record = ""
#set pipe_split = no
#set pipe_decode = no
#set pipe_sep = "\n"
#set move = ask-no
#set mask = "!^\\.[^.]"
set mbox = "~/mbox"
#set mbox_type = mbox
#set mh_purge = no
#set confirmappend = yes
set confirmcreate = yes
#set copy = yes
#set default_hook = "~f %s !~P | (~P ~C %s)"
set fcc_attach = yes
set fcc_clear = no

#set reply_self = no
#set indent_string = "> "
#set in_reply_to = "%i; from %a on %{!%a, %b %d, %Y at %I:%M:%S%p %Z}"
#set honor_followup_to = yes
#set ignore_list_reply_to = no
#set include = ask-yes
#set attribution = "On %d, %n wrote:"
set bounce_delivered = yes

# Forwarding
##############################################################
#set forward_decrypt = yes
set forward_decode = yes
#set forward_format = "[%a: %s]"
#set forward_quote = no


# Headers
# ##################################################################set
set header = no
#set edit_headers = no
#set autoedit = no
ignore *
unignore from to subject time date  cc

# Sending
#################################################################
set write_bcc = yes
set use_from = yes
set save_address = yes
#set save_empty = yes
#set save_name = no
#set send_charset = ""
#set mix_entry_format = "%4n %c %-16s %a"
#set mixmaster = "mixmaster"
#set metoo = no
#set encode_from = no
set envelope_from = yes
set editor =joe

# Alias
###################################################################
#set sort_alias = alias
#set reverse_alias = no
set alias_file = "~/.muttaliases"
#set alias_format = "%4n %t %-10a   %r"
source ~/.muttaliases


# Attached documents
######################################################
#set attach_format = "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?,
%s]
# "
#set attach_sep = "\n"
#set attach_split = yes



###########################################
# Mail/SMTP/IMAP Settings
#

set my_server=mail.messagingengine.com
set my_smtp_server=mail.messagingengine.com
set my_user=wa6iv...@fastmail.fm
set my_pass = "xxxxxxxxxxx"

#set header_cache=~/.mutt/hcache/fastmail

set imap_user=$my_user
set imap_pass = $my_pass
#
# SMTP server to relay to
# NOTE: to get this to work, I had to install the libsasl2-modules
package
set smtp_url =smtps://$my_user:$my_pass@$my_smtp_server:465
#set sendmail = /usr/sbin/sendmail
#set sendmail = "/usr/local/bin/esmtp
#set sendmail_wait = 0
#set dsn_notify = ""
#set dsn_return = ""
 

#
# Slow down over imap
#
set mail_check=300               # How often to check in seconds


###########################################
# Folder Settings
#

#
# Default location of mailboxes
#
#set folder=imaps://$my_user:my_pass@my_server:993/INBOX
set folder = imaps://wa6iv...@messagingengine.com:993/INBOX

#
# Default inbox
#
set spoolfile="imaps://mail.messagingengine.com"/

#set record= "~sent"
set postponed="postponed"


###########################################


###########################################
# Mailboxes to monitor
#

#mailboxes !

#mailboxes =another


###########################################
# Macros
#
macro index,pager ,a <save-message>=Archive\n





  Tom Fowle
  wa6iv...@fastmail.fm

Reply via email to