<?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=CHKUSR_-_Enable_characters_for_Blackberry_devices</id>
	<title>CHKUSR - Enable characters for Blackberry devices - 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=CHKUSR_-_Enable_characters_for_Blackberry_devices"/>
	<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=CHKUSR_-_Enable_characters_for_Blackberry_devices&amp;action=history"/>
	<updated>2026-04-18T23:20:48Z</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=CHKUSR_-_Enable_characters_for_Blackberry_devices&amp;diff=153&amp;oldid=prev</id>
		<title>Ebroch: Created page with &quot;== Intro == This tip is simply a step by step to recompile chkusr to allow the &#039;/&#039; character.  == Why? ==  (PULLED FROM: [http://wiki.qmailtoaster.com/index.php/FAQs#I_keep_getting_.225.1.0_-_Unknown_address_error_571-.27sorry.2C_sender_address_has_invalid_format_.28.235.7.1_-_chkuser.29.27.22_errors.2C_especially_from_people_with_Blackberry_devices._What_can_I_do.3F This FAQ] )  I keep getting &quot;5.1.0 - Unknown address error 571-&#039;sorry, sender address has invalid format...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=CHKUSR_-_Enable_characters_for_Blackberry_devices&amp;diff=153&amp;oldid=prev"/>
		<updated>2024-03-16T16:48:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Intro == This tip is simply a step by step to recompile chkusr to allow the &amp;#039;/&amp;#039; character.  == Why? ==  (PULLED FROM: [http://wiki.qmailtoaster.com/index.php/FAQs#I_keep_getting_.225.1.0_-_Unknown_address_error_571-.27sorry.2C_sender_address_has_invalid_format_.28.235.7.1_-_chkuser.29.27.22_errors.2C_especially_from_people_with_Blackberry_devices._What_can_I_do.3F This FAQ] )  I keep getting &amp;quot;5.1.0 - Unknown address error 571-&amp;#039;sorry, sender address has invalid format...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Intro ==&lt;br /&gt;
This tip is simply a step by step to recompile chkusr to allow the &amp;#039;/&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
== Why? ==&lt;br /&gt;
&lt;br /&gt;
(PULLED FROM: [http://wiki.qmailtoaster.com/index.php/FAQs#I_keep_getting_.225.1.0_-_Unknown_address_error_571-.27sorry.2C_sender_address_has_invalid_format_.28.235.7.1_-_chkuser.29.27.22_errors.2C_especially_from_people_with_Blackberry_devices._What_can_I_do.3F This FAQ] )&lt;br /&gt;
&lt;br /&gt;
I keep getting &amp;quot;5.1.0 - Unknown address error 571-&amp;#039;sorry, sender address has invalid format (#5.7.1 - chkuser)&amp;#039;&amp;quot; errors, especially from people with Blackberry devices. What can I do?&lt;br /&gt;
&lt;br /&gt;
The sender is using an illegal character. In Blackberry&amp;#039;s case they&amp;#039;re using a spam firewall that uses the slash character (/) in the sending email address when messages are sent from the Blackberry device, regardless of the reply-to address. To work around this you can either recompile chkuser to allow for the illegal character, or turn off chkuser checks for their mail servers.&lt;br /&gt;
&lt;br /&gt;
So in this tip we are opting for the recompile. The reason I usually choose this one is simply because the blackberry servers can change IP&amp;#039;s. This is more of a &amp;quot;blanket&amp;quot; method. I personally have found it more reliable for this kind of instance.&lt;br /&gt;
&lt;br /&gt;
== Precautions ==&lt;br /&gt;
&lt;br /&gt;
* Keep in mind that anytime you update your system with newer versions, that this setting will be reset to the default. So if the main qmail-toaster* package is updated - you need to do this process again.&lt;br /&gt;
* Since this process usually is hand in hand with an update, keep in mind that if you have spamdyke installed to be sure after the operation that your /var/qmail/supervise/smtp/run file still has spamdyke in it.&lt;br /&gt;
* New certificates will be created - below is the output from the rpm update command:&lt;br /&gt;
&amp;lt;code&amp;gt;qmail-toaster          warning: /var/qmail/control/servercert.pem created as /var/qmail/control/servercert.pem.rpmnew&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So if you have any custom certificates or commercial ones, you may want to back them up prior to the process.&lt;br /&gt;
&lt;br /&gt;
== Step by Step ==&lt;br /&gt;
&lt;br /&gt;
Much of this process is derived from this wiki [http://wiki.qmailtoaster.com/index.php/Chkuser entry].&lt;br /&gt;
&lt;br /&gt;
* Make sure that your toaster is completely up to date to avoid having to do this process all over when you realize that. We start with updating QmailToaster-Plus. If you do not have it installed, do so. Head over to the ( [http://qtp.qmailtoaster.com/trac QTP website] for instructions on how to do that). Assuming it is installed, we start with:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
yum update qmailtoaster-plus&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Update the rest of the toaster packages with the newmodel script included in the QmailToaster-Plus menus.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
qtp-menu&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Move into the working directory for the SRPMS from your original install.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd /usr/src/redhat/SRPMS&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Check the version of qmail-toaster installed.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
rpm -qa | grep qmail-toaster&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Get the matching SRPM from the toaster site (you will need to update below link for your version).&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
wget http://www.qmailtoaster.com/download/stable/qmail-toaster-1.03-1.3.18.src.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Install the proper SRPM.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
rpm -Uvh qmail-toaster*.src.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Move to the SPEC directory.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd /usr/src/redhat/SPECS&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit qmail-toaster.spec (I use VI. Sub for your favorite CLI editor). find &amp;#039;sleep 5&amp;#039; (should be line 606). change 5 to 300 (5 seconds to 300 seconds). save.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
vi qmail-toaster.spec&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Rebuild the RPM. Keep in mind that in future versions or architectures of CentOS that the --with flag value &amp;#039;cnt50&amp;#039; might need an updated value). You will also need to sub that flag value if you are using another type of system such as Fedora, etc.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
rpmbuild -bb --with cnt50 qmail-toaster.spec&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* When the build process pauses, open another terminal and edit /usr/src/redhat/BUILD/qmail-1.03/chkuser_settings.h to your liking. You have 5 minutes (or whatever you changed the sleep parameter to). Save your changes and wait for the 300 seconds to expire and watch it build.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
vi /usr/src/redhat/BUILD/qmail-1.03/chkuser_settings.h&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Search for &amp;quot;CHKUSER_ALLOW_SENDER_CHAR&amp;quot;&lt;br /&gt;
* Uncomment and change it from:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/* #define CHKUSER_ALLOW_SENDER_CHAR_3 &amp;#039;&amp;#039; */&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* To:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#define CHKUSER_ALLOW_SENDER_CHAR_3 &amp;#039;/&amp;#039;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Save and exit.&lt;br /&gt;
* Once the pause expires, the compile will continue.&lt;br /&gt;
* Once the compile is done (there were no errors right?) move to the RPM directory.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd /usr/src/redhat/RPMS/i386/&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stop Qmail.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
qmailctl stop&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Upgrade the Toaster package.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
rpm -Uvh --replacefiles --replacepkgs qmail-*.rpm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Copy back any custom certificates you had backed up at the beginning (if you did so).&lt;br /&gt;
* Restart Qmail.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
qmailctl start&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Is it all running?&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
qmailctl stat&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Finito ==&lt;br /&gt;
You should now be all done and up and running again and the Blackberry users should be able to function as needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
[http://www.interazioni.it/opensource/chkuser/ chkuser site]&lt;/div&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
</feed>