QmailtoasterMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

CHKUSR - Enable characters for Blackberry devices

From Qmailtoaster

Contents

Intro

This tip is simply a step by step to recompile chkusr to allow the '/' character.

Why?

(PULLED FROM: This FAQ )

I keep getting "5.1.0 - Unknown address error 571-'sorry, sender address has invalid format (#5.7.1 - chkuser)'" errors, especially from people with Blackberry devices. What can I do?

The sender is using an illegal character. In Blackberry's case they'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.

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's. This is more of a "blanket" method. I personally have found it more reliable for this kind of instance.

Precautions

qmail-toaster warning: /var/qmail/control/servercert.pem created as /var/qmail/control/servercert.pem.rpmnew

So if you have any custom certificates or commercial ones, you may want to back them up prior to the process.

Step by Step

Much of this process is derived from this wiki entry.

yum update qmailtoaster-plus

qtp-menu

cd /usr/src/redhat/SRPMS

rpm -qa | grep qmail-toaster

wget http://www.qmailtoaster.com/download/stable/qmail-toaster-1.03-1.3.18.src.rpm

rpm -Uvh qmail-toaster*.src.rpm

cd /usr/src/redhat/SPECS

vi qmail-toaster.spec

rpmbuild -bb --with cnt50 qmail-toaster.spec

vi /usr/src/redhat/BUILD/qmail-1.03/chkuser_settings.h

/* #define CHKUSER_ALLOW_SENDER_CHAR_3 */

  1. define CHKUSER_ALLOW_SENDER_CHAR_3 '/'

cd /usr/src/redhat/RPMS/i386/

qmailctl stop

rpm -Uvh --replacefiles --replacepkgs qmail-*.rpm

qmailctl start

qmailctl stat


Finito

You should now be all done and up and running again and the Blackberry users should be able to function as needed.


---

chkuser site

Retrieved from "http://wiki.qmailtoaster.com/index.php/CHKUSR_-_Enable_characters_for_Blackberry_devices"

This page has been accessed 8,023 times. This page was last modified on 11 March 2011, at 04:17. Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main page
Community portal
Current events
Recent changes
Random page
Help
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...