You are not logged in.
i have setup a mailserver as follows:
getmail - to receive mail from my isp (2 accounts received into seperate maildir directories)
dovecot - to serve the two maildir's over imaps
postfix - to relay my emails to my ISP smtp
On my laptop & desktop I am running Claws-Mail, and everything is working fine (receiving, serving, and sending). However, I decided to setup mutt on the server for checking email quickly via SSH. I have been able to setup mutt to check my mail via imap, but have been unable to get it to send mail. While trying to send an email I have had tail running on the mail.log and found that postfix is not even registering that mutt is trying to send.
How do I go about setting up mutt to send mail using postfix?
I have spent the last week reading different how to's and forum threads, and can't get it to work.
Last edited by carrot (2009-04-02 22:01:36)
Desktop Core2Quad, 6GB RAM, GF9600GT, Arch x86_64 w/ SpectrWM & Win7
Media Center AMDXP2600+, 1.8GB RAM, GF6600GT, LC17 Case, DTV2000H, AW870LP, Arch w/ MythTV & SpectrWM
Laptop Aspire One D250, 2GB RAM, SSD, Arch w/ SpectrWM | Dell D620, 3GB RAM, Ubuntu 12.04
Server EEE PC 701, Arch Torrent, Mail & File Server
Offline
Did you check this page ?
http://mutt.blackfish.org.uk/sending/
Offline
I have 2 .muttrc files for my two email accounts, which I then specify when opening mutt. Both are setup the same, other than the account details. Here is my smtp related lines from one of my .muttrc files:
set record = "+SENT"
set postponed = "+.Drafts"
set smtp_url = "smtp://localhost:25"
set sendmail = "/usr/sbin/sendmail -oem -oi"
set reply_to = yes
Desktop Core2Quad, 6GB RAM, GF9600GT, Arch x86_64 w/ SpectrWM & Win7
Media Center AMDXP2600+, 1.8GB RAM, GF6600GT, LC17 Case, DTV2000H, AW870LP, Arch w/ MythTV & SpectrWM
Laptop Aspire One D250, 2GB RAM, SSD, Arch w/ SpectrWM | Dell D620, 3GB RAM, Ubuntu 12.04
Server EEE PC 701, Arch Torrent, Mail & File Server
Offline
If postfix works fine, then just use mutt's default configuration for sendmail (ie, don't set any options in your config). It should work then.
Offline
commenting out both smtp_url and sendmail lines has worked. Thanks for the help.
Desktop Core2Quad, 6GB RAM, GF9600GT, Arch x86_64 w/ SpectrWM & Win7
Media Center AMDXP2600+, 1.8GB RAM, GF6600GT, LC17 Case, DTV2000H, AW870LP, Arch w/ MythTV & SpectrWM
Laptop Aspire One D250, 2GB RAM, SSD, Arch w/ SpectrWM | Dell D620, 3GB RAM, Ubuntu 12.04
Server EEE PC 701, Arch Torrent, Mail & File Server
Offline