Msmtp setup, no logfile?

Hey everyone,

So with a lot of generous support from this community, I have bumbled my
way through into setting up rt-4.0.5. I have it running on Ubuntu 11.04
with fetchmail successfully pulling mail down and piping it into RT. My
last step is to setup msmtp. I followed this helpful guide to the letter
for setting up msmtp:

I’ve confirmed that www-data owns both files (msmtp_wrapper.conf and
msmtp_wrapper) and the appropriate permissions are set (per the

Yet, when I send a test mail, it shows up in RT but I don’t get anything.
When I look in the /var/log directory, I don’t even see msmtp.log. I have a
feeling I’m doing something wrong. Any insight?


My msmtp_wrapper.conf looks like this:
logfile /var/log/msmtp.log
account default
port 587
tls on
auth on
password suparsekrat
auto_from on
My msmtp_wrapper executable looks like this:


  • /usr/bin/msmtp -t -C /opt/rt4/etc/msmtp_wrapper.conf*
  • /usr/bin/logger -t RTmailer -p – CALL /usr/bin/msmtp -nt
    “$@” RETURNED $?*