<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Vpopmail_-_roaming_users_configuration</id>
	<title>Vpopmail - roaming users configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Vpopmail_-_roaming_users_configuration"/>
	<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Vpopmail_-_roaming_users_configuration&amp;action=history"/>
	<updated>2026-05-21T02:15:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.qmailtoaster.org:80/index.php?title=Vpopmail_-_roaming_users_configuration&amp;diff=137&amp;oldid=prev</id>
		<title>Ebroch: Created page with &quot;===Vpopmail - roaming users configuration===  If you want to use the vpopmail roaming users configuration option here area  few steps to follow :  1. rpm -Uvh vpopmail-toaster*.src.rpm    go to (if you didnt set your own .rpmmacros config) /usr/src/redhat/SPECS    and edit the file vpopmail-toaster.spec    look for the configure options ..    (./configure --prefix ....) line and change --disable-roaming-users    into --enable-roaming-users ..    If you want to add/re...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Vpopmail_-_roaming_users_configuration&amp;diff=137&amp;oldid=prev"/>
		<updated>2024-03-16T16:30:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===&lt;a href=&quot;/index.php?title=Vpopmail_-_roaming_users_configuration&quot; title=&quot;Vpopmail - roaming users configuration&quot;&gt;Vpopmail - roaming users configuration&lt;/a&gt;===  If you want to use the vpopmail roaming users configuration option here area  few steps to follow :  1. rpm -Uvh vpopmail-toaster*.src.rpm    go to (if you didnt set your own .rpmmacros config) /usr/src/redhat/SPECS    and edit the file vpopmail-toaster.spec    look for the configure options ..    (./configure --prefix ....) line and change --disable-roaming-users    into --enable-roaming-users ..    If you want to add/re...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===[[Vpopmail - roaming users configuration]]===&lt;br /&gt;
&lt;br /&gt;
If you want to use the vpopmail roaming users configuration option&lt;br /&gt;
here area  few steps to follow :&lt;br /&gt;
&lt;br /&gt;
1. rpm -Uvh vpopmail-toaster*.src.rpm&lt;br /&gt;
   go to (if you didnt set your own .rpmmacros config) /usr/src/redhat/SPECS&lt;br /&gt;
   and edit the file vpopmail-toaster.spec&lt;br /&gt;
   look for the configure options ..&lt;br /&gt;
   (./configure --prefix ....) line and change --disable-roaming-users&lt;br /&gt;
   into --enable-roaming-users ..&lt;br /&gt;
   If you want to add/remove other options do it now..&lt;br /&gt;
&lt;br /&gt;
2. rpmbuild -bb --with [your_distro] vpopmail-toaster.spec&lt;br /&gt;
   just wait after issuing that command&lt;br /&gt;
   cd ../RPMS/i386&lt;br /&gt;
   STOP qmail : /etc/init.d/qmail stop   or qmailctl stop&lt;br /&gt;
   rpm -Uvh --replacefiles --replacepkgs vpopmail-toaster*.rpm &lt;br /&gt;
   IF you keep RPMS make sure you point to the one you just rebuilt not&lt;br /&gt;
   and old one ...&lt;br /&gt;
   START qmail : /etc/init.d/qmail start   or qmailctl start&lt;br /&gt;
&lt;br /&gt;
3. The roaming system authorize a user who authentificated (pop3 before smtp)&lt;br /&gt;
   the right to relay, it adds your ip to the cdb file&lt;br /&gt;
   /etc/tcprules.d/tcp.smtp.cdb .. This file must be owned by vpopmail.vchkpw&lt;br /&gt;
   do this now :&lt;br /&gt;
   chown vpopmail.vchkpw /etc/tcprules.d/tcp.smtp.cdb&lt;br /&gt;
&lt;br /&gt;
   Then edit /etc/init.d/qmail&lt;br /&gt;
   look for the section cdb) :&lt;br /&gt;
    cdb)&lt;br /&gt;
    tcprules /etc/tcprules.d/tcp.smtp.cdb /etc/tcprules.d/tcp.smtp.tmp &amp;lt; /etc/tcprules.d/tcp.smtp&lt;br /&gt;
    chmod 644 /etc/tcprules.d/tcp.smtp*&lt;br /&gt;
add here -&amp;gt;  &amp;#039;&amp;#039;&amp;#039;chown vpopmail.vchkpw /etc/tcprules.d/tcp.smtp.cdb&amp;#039;&amp;#039;&amp;#039;  &amp;lt;-&lt;br /&gt;
    echo &amp;quot;Reloaded /etc/tcprules.d/tcp.smtp&amp;quot;   &lt;br /&gt;
&lt;br /&gt;
The purpose of this, whenever you reload your cdb files&lt;br /&gt;
it will give you the proper rights and ownership on the file&lt;br /&gt;
&lt;br /&gt;
4. By default it is 3 hours (180mins) authorization after pop authentification&lt;br /&gt;
   for roaming users&lt;br /&gt;
   I d suggest to set a crontab to check the ips allowed to relay&lt;br /&gt;
   I chose every 30mins&lt;br /&gt;
   0,30 * * * * /home/vpopmail/bin/clearopensmtp&lt;br /&gt;
&lt;br /&gt;
   NB: you could change the default time by adding this configure option :&lt;br /&gt;
       --enable-relay-clear-minutes=#  to the spec file&lt;br /&gt;
&lt;br /&gt;
Also note that roaming access is only available to users checking mail via POP3. If you have users who connect via POP3-SSL, IMAP, or IMAP-SSL they are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; added to the list of authenticated users. See this thread for more info: http://www.mail-archive.com/vchkpw@inter7.com/msg24375.html&lt;/div&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
</feed>