On Wed, Oct 31, 2007 at 11:03:02AM -0500, Les Mikesell wrote: > Dario Lesca wrote: >> I'm looking for a line command utility (MTA) which send an email direct >> to a SMTP external server. >> if I use: "echo bye|mutt -s bye user@xxxxxx" >> the message is send to local sendmail, then sendmail send it to mx >> record dom.it, but dom.it refuse me for security and anti-spam reason. >> I'm looking for a command which send my message direct to my provider, >> like evolution or Thunderbird do. Well, Dario, use mutt. mailboxes pops://USER@xxxxxxxxxxxxxxxxxxxxxx/ set pop_pass= "SOMETHINGLONGISHNOTINADICT" set smtp_pass="SOMETHINGLONGISHNOTINADICT,POSSIBLYDIFFERENTFROMPOP" set smtp_url ="smtp://USER@xxxxxxxxxxxxxxxxxxxxxxx" # if you've multiple email providers, you need to outsource # e.g. when switching to a provider's inbox. # don't forget to reset it to your defaults when you leave # that inbox. account-hook USER@xxxxxxxxxxxxxxxxxxxxxx 'set pop_pass="SOMETHINGLONGISHNOTINADICT";' folder-hook USER@xxxxxxxxxxxxxxxxxxxxxx 'source ~/.mutt/profile.PROVIDER' # and place the above set smtp* lines in .mutt/profile.PROVIDER. # the mailboxes statements can remain global for use with -y, # and the pop_pass line can be removed, as the hook statements # provides this on entering the USER@xxxxxxxxxxxxxxxxxxxxxx # box and folder (account-hook is called quite often, also # automatically). -- cu Peter l Jakobi lists@xxxxxxxxxxxxxxxxxx