<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — scripting email address additions and deletions]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4108.xml" />
	<updated>2012-10-31T06:04:58Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4108-scripting-email-address-additions-and-deletions.html</id>
		<entry>
			<title type="html"><![CDATA[Re: scripting email address additions and deletions]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18909.html#p18909" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-31T06:04:58Z</updated>
			<id>http://www.iredmail.org/forum/post18909.html#p18909</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[scripting email address additions and deletions]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18901.html#p18901" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[dwbotsch]]></name>
				<uri>http://www.iredmail.org/forum/user31554.html</uri>
			</author>
			<updated>2012-10-30T18:42:13Z</updated>
			<id>http://www.iredmail.org/forum/post18901.html#p18901</id>
		</entry>
</feed>
