NoZy wrote:
Hi Guys
I'm not 100% sure what I need to do here.....
OK I have a user that needs to email some with a bad email address say
my'[EMAIL PROTECTED]
no qmail comes back with 571 sorry, sender address has invalid format
(#5.7.1 - chkuser)
so I know its a Chkuser thing
in post
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg05382.html
I did see this.....
-/* #define CHKUSER_ALLOW_SENDER_CHAR_1 '$' */
-/* #define CHKUSER_ALLOW_SENDER_CHAR_2 '%' */
+#define CHKUSER_ALLOW_SENDER_CHAR_1 '$'
+#define CHKUSER_ALLOW_SENDER_CHAR_2 '%'
/* #define CHKUSER_ALLOW_SENDER_CHAR_3 '' */
-/* #define CHKUSER_ALLOW_SENDER_CHAR_4 '?' */
-/* #define CHKUSER_ALLOW_SENDER_CHAR_5 '*' */
+#define CHKUSER_ALLOW_SENDER_CHAR_4 '?'
+#define CHKUSER_ALLOW_SENDER_CHAR_5 '*'
But how do I get a ' if the ALLOW_SENDER_CHAR need to have ''
Example:
#define CHKUSER_ALLOW_SENDER_CHAR_3 '\''
and I sure after this is done this is all I need to do .....
This is correct.
taken from
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg04641.html
rpm -Uvh qmail-toaster*.src.rpm
cd /usr/src/redhat/SPECS (assuming you are using CentOS 4)
edit qmail-toaster.spec
find 'sleep 5' (should be line 606)
change 5 to 300 (5 seconds to 300 seconds)
rpmbuild -bb --with cnt40 qmail-toaster.spec
When the build process pauses, make your changes. You have 5 minutes.
edit /usr/src/redhat/BUILD/qmail-1.03/chkuser_settings.h as you wish
Save your changes and wait for the 300 seconds to expire and
watch it build.
cd ../RPMS/i386/
qmailctl stop
rpm -Uvh --replacefiles --replacepkgs qmail-*.rpm
qmailctl start
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]