<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — scripting email address additions and deletions]]></title>
		<link>http://www.iredmail.org/forum/topic4108-scripting-email-address-additions-and-deletions.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic4108.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in scripting email address additions and deletions.]]></description>
		<lastBuildDate>Wed, 31 Oct 2012 06:04:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: scripting email address additions and deletions]]></title>
			<link>http://www.iredmail.org/forum/post18909.html#p18909</link>
			<description><![CDATA[<div class="quotebox"><cite>dwbotsch wrote:</cite><blockquote><p>Presumably, all of this is stored in the database backend.</p></blockquote></div><p>You&#039;re right.<br /></p><div class="quotebox"><cite>dwbotsch wrote:</cite><blockquote><p>But do I also need to touch something in the file system w. dovecot since the email addresses are forward only (then somehow remove something when deleting)?</p></blockquote></div><p>No. Insert proper forwarding address in table &quot;vmail.alias&quot;, column &#039;goto&#039; should be fine. For example:<br /></p><div class="codebox"><pre><code>sql&gt; INSERT INTO alias (address, goto, domain) VALUES (&#039;original@domain.ltd&#039;, &#039;forward@example.com&#039;, &#039;domain.ltd&#039;);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 31 Oct 2012 06:04:58 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18909.html#p18909</guid>
		</item>
		<item>
			<title><![CDATA[scripting email address additions and deletions]]></title>
			<link>http://www.iredmail.org/forum/post18901.html#p18901</link>
			<description><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.1 <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL):&nbsp; PGSQL<br />- Linux/BSD distribution name and version: RHEL6/64-bit</p><p>==== </p><p>I am looking at setting up a second domain in my iRedMail install (this would NOT be an alias domain to the primary domain) as a forward only domain (each email address will forward to whatever the user&#039;s real email address is in whatever domain). I&#039;d like to script adding and deleting users and to where there email addresses forward. Presumably, all of this is stored in the database backend. But do I also need to touch something in the file system w. dovecot since the email addresses are forward only (then somehow remove something when deleting)?</p><p>thanks.</p>]]></description>
			<author><![CDATA[null@example.com (dwbotsch)]]></author>
			<pubDate>Tue, 30 Oct 2012 18:42:13 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18901.html#p18901</guid>
		</item>
	</channel>
</rss>
