Re: Sending mail
On Wed, Mar 14, 2007 at 04:35:57PM +0100, Umut Tabak wrote:
> Ken Brush wrote:
> >On 3/14/07, Umut Tabak <umut.tabak@xxxxxxxxxxxxxxxx> wrote:
> >>Patrick Shanahan wrote:
> >>> * Umut Tabak <umut.tabak@xxxxxxxxxxxxxxxx> [03-14-07 03:19]:
> >>>
> >>>> As a newbie, I tried to configure mutt. Partially successful if you
> >>>> don't consider that I can not send mails :) . I can get mail but can
> >>>> not send. My incoming mail server is an IMAP and outgoing server
> >>is an
> >>>> SMTP. I guess there is a problem with my .muttrc. I pasted that
> >>>> (relatively short for a beginner :) )
> >>>>
> >>>> #mailboxes imap://mail.mech.kuleuven.be
> >>>> set imap_user="username" #your IMAP user name or login
> >>>> set imap_pass="password" #your IMAP password
> >>>> set spoolfile="imap://mail.mech.kuleuven.be"
> >>>> set folder="imap://mail.mech.kuleuven.be/INBOX"
> >>>> set folder="/home/utab/Mail"
> >>>> set sendmail="/usr/sbin/ssmtp -auduser@xxxxxxxxxxxxxxxx -appassword"
> >>>> #set sendmail=/usr/sbin/sendmail
> >>>> set editor="vim"
> >>>>
> >>>
> >>> account-hook imap://<username>@mech.huleuven.be
> >>>
> >>>
> >>Thanks for the reply but this command is not recognized by bash.
> >>
> >>bash: account-hook: command not found
> >>
> >>My mutt version is
> >>
> >>Mutt 1.5.13 (2006-08-11) (dont know if it is necessary)
> >>
> >>Best regards,
> >>
> >
> >I think he wanted you to add that line to your .muttrc file.
> Thanks,
>
> Yes that is the case when I try to source .muttrc by typing
>
> . .muttrc
>
> I got this error.
>
You source your .muttrc from within mutt, it reads it automatically at
startup so you only need to explicitly source it if you have changed
it and don't want to exit/restart mutt.
To source the .muttrc from within mutt you use the 'source' command,
see the documentation/help.
--
Chris Green