<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=0x2a</id>
	<title>Request Tracker Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=0x2a"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/wiki/Special:Contributions/0x2a"/>
	<updated>2026-08-22T21:10:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Msmtp&amp;diff=26479</id>
		<title>Msmtp</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Msmtp&amp;diff=26479"/>
		<updated>2017-01-12T19:50:52Z</updated>

		<summary type="html">&lt;p&gt;0x2a: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have configured RT to send mail by using the command line program msmtp.&lt;br /&gt;
&lt;br /&gt;
== Install msmtp ==&lt;br /&gt;
&lt;br /&gt;
This will vary by your distribution. In Debian, you can just&lt;br /&gt;
&lt;br /&gt;
 apt-get install msmtp&lt;br /&gt;
&lt;br /&gt;
== The configuration file ==&lt;br /&gt;
&lt;br /&gt;
* chown this file to the user which runs RT (www-data in our case)&lt;br /&gt;
* chmod 600 this file&lt;br /&gt;
* Replace the asterisks with your real SMTP password.&lt;br /&gt;
* Place this file in your RT etc directory, such as /opt/rt3/etc/msmtp_wrapper.conf (for RT4 use  /etc/request-tracker4/msmtp_wrapper.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 defaults&lt;br /&gt;
 logfile /var/log/msmtp.log&lt;br /&gt;
 account default&lt;br /&gt;
 host mail.education.ucsb.edu&lt;br /&gt;
 port 587&lt;br /&gt;
 tls on&lt;br /&gt;
 auth on&lt;br /&gt;
 user help&lt;br /&gt;
 password ****************&lt;br /&gt;
 auto_from on&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The executable file ==&lt;br /&gt;
&lt;br /&gt;
* chmod +x this file&lt;br /&gt;
* chown this file to the user which runs RT (www-data in our case)&lt;br /&gt;
* Place this file in your RT etc directory, such as /opt/rt3/etc/msmtp_wrapper (for RT4 use  /etc/request-tracker4/msmtp_wrapper , also change the config path below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
/usr/bin/msmtp -t -C /opt/rt3/etc/msmtp_wrapper.conf&lt;br /&gt;
/usr/bin/logger -t RTmailer -p syslog.info -- CALL /usr/bin/msmtp -nt &amp;quot;$@&amp;quot; RETURNED $?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Make RT use it ==&lt;br /&gt;
&lt;br /&gt;
Edit this line in your [[RT SiteConfig|RT_SiteConfig]].pm:&lt;br /&gt;
&lt;br /&gt;
 Set($SendmailPath , &amp;quot;/opt/rt3/etc/msmtp_wrapper&amp;quot;);&lt;/div&gt;</summary>
		<author><name>0x2a</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Msmtp&amp;diff=26478</id>
		<title>Msmtp</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Msmtp&amp;diff=26478"/>
		<updated>2017-01-12T19:50:00Z</updated>

		<summary type="html">&lt;p&gt;0x2a: changed &amp;lt;code&amp;gt; tags to &amp;lt;pre&amp;gt; tags to make file display correctly.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have configured RT to send mail by using the command line program msmtp.&lt;br /&gt;
&lt;br /&gt;
== Install msmtp ==&lt;br /&gt;
&lt;br /&gt;
This will vary by your distribution. In Debian, you can just&lt;br /&gt;
&lt;br /&gt;
 apt-get install msmtp&lt;br /&gt;
&lt;br /&gt;
== The configuration file ==&lt;br /&gt;
&lt;br /&gt;
* chown this file to the user which runs RT (www-data in our case)&lt;br /&gt;
* chmod 600 this file&lt;br /&gt;
* Replace the asterisks with your real SMTP password.&lt;br /&gt;
* Place this file in your RT etc directory, such as /opt/rt3/etc/msmtp_wrapper.conf (for RT4 use  /etc/request-tracker4/msmtp_wrapper.conf&lt;br /&gt;
&lt;br /&gt;
 defaults&lt;br /&gt;
 logfile /var/log/msmtp.log&lt;br /&gt;
 account default&lt;br /&gt;
 host mail.education.ucsb.edu&lt;br /&gt;
 port 587&lt;br /&gt;
 tls on&lt;br /&gt;
 auth on&lt;br /&gt;
 user help&lt;br /&gt;
 password ****************&lt;br /&gt;
 auto_from on&lt;br /&gt;
&lt;br /&gt;
== The executable file ==&lt;br /&gt;
&lt;br /&gt;
* chmod +x this file&lt;br /&gt;
* chown this file to the user which runs RT (www-data in our case)&lt;br /&gt;
* Place this file in your RT etc directory, such as /opt/rt3/etc/msmtp_wrapper (for RT4 use  /etc/request-tracker4/msmtp_wrapper , also change the config path below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
/usr/bin/msmtp -t -C /opt/rt3/etc/msmtp_wrapper.conf&lt;br /&gt;
/usr/bin/logger -t RTmailer -p syslog.info -- CALL /usr/bin/msmtp -nt &amp;quot;$@&amp;quot; RETURNED $?&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Make RT use it ==&lt;br /&gt;
&lt;br /&gt;
Edit this line in your [[RT SiteConfig|RT_SiteConfig]].pm:&lt;br /&gt;
&lt;br /&gt;
 Set($SendmailPath , &amp;quot;/opt/rt3/etc/msmtp_wrapper&amp;quot;);&lt;/div&gt;</summary>
		<author><name>0x2a</name></author>
	</entry>
</feed>