vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=83486

Christine 02 Jul 2005 17:09

Hi tamarian,

Sorry to offer late, but just getting back to this. Do you still need cPanel access and/or a POP account?

tamarian 02 Jul 2005 17:50

Quote:

Originally Posted by Christine
Hi tamarian,

Sorry to offer late, but just getting back to this. Do you still need cPanel access and/or a POP account?

cPanel access is not needed, but would love to test the POP module on an Exim. So if you have a POP account that has bounced emails (or empty and not being used), please PM me the access info :)

Paul M 02 Jul 2005 18:44

Quote:

Originally Posted by Paul M
On a seperate note - I'm going to see if I can figure out why the forum cannot see the mail box - since my vB can see my attachments folder, which is at the same level as the mail folder - it maybe nothing more than permissions.

Well after further testing - it is a permission problem.

In your cpanel account, for address [email protected]

The path needs to be " /home/<cpaccount>/mail/domain.com/rejects/inbox "

The mail, domain.com & rejects folders all need chmod'ing to 755.

The mailbox file can then be set to 666, and it will work - except - that as soon as another mail is received, exim chmod's the inbox file back to 660, cutting off php's read/write access. I now need to see if I can stop exim doing this.

tamarian 02 Jul 2005 18:53

Quote:

Originally Posted by Paul M
Well after further testing - it is a permission problem.

In your cpanel account, for address [email protected]

The path needs to be " /home/<cpaccount>/mail/domain.com/rejects/inbox "

The mail, domain.com & rejects folders all need chmod'ing to 755.

The mailbox file can then be set to 666, and it will work - except - that as soon as another mail is received, exim chmod's the inbox file back to 660, cutting off php's read/write access. I now need to see if I can stop exim doing this.

How about changing the owner (chown) as well? If exim is no longer the owner of the file (but still has write permission) it should not be able to chmod it.

Paul M 02 Jul 2005 20:10

Quote:

Originally Posted by tamarian
How about changing the owner (chown) as well? If exim is no longer the owner of the file (but still has write permission) it should not be able to chmod it.

What or who would I set the owner to ? I have fixed it on my test server by changing one line in the exim.conf file - but this may not be possible if you are not on a dedicated server.

tamarian 02 Jul 2005 20:23

Quote:

Originally Posted by Paul M
What or who would I set the owner to ? I have fixed it on my test server by changing one line in the exim.conf file - but this may not be possible if you are not on a dedicated server.

Change it to the apache user apache:apache (or if apache runs as nobody, then nobody:nobody).

Note that I'm not recommending people do this :) But it's worth it just to see if that's the culprit.

tamarian 02 Jul 2005 20:37

Version 0.9 is out. New features added:

o Collect logs via IMAP/POP or mail spool file
o Custom filters to match patterns in bounced emails

To upgrade, uninstall, then reinstall through the installation script.

Paul M 02 Jul 2005 20:58

Quote:

Originally Posted by tamarian
Change it to the apache user apache:apache (or if apache runs as nobody, then nobody:nobody).

Note that I'm not recommending people do this :) But it's worth it just to see if that's the culprit.

Nope, exim still manages to change it back to 666 - but with the exim config change, it works for me - so I'm happy.

There is always the pop method if people cannot do this. :)


Btw, there is an error in the vbouncer-clean.php ;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

There is a stray quote after where userid=

tamarian 02 Jul 2005 21:08

Quote:

Originally Posted by Paul M
There is a stray quote after where userid=

Thanks, fixed and uploaded.

Can you write a summary for what cPanel+Exim config needs to be changed, so the spool becomes readable/writable? I'll just add it to the how-to with your name, for those who can (and want to) change their Exim config.

Christine 02 Jul 2005 21:24

Quote:

Originally Posted by tamarian
cPanel access is not needed, but would love to test the POP module on an Exim. So if you have a POP account that has bounced emails (or empty and not being used), please PM me the access info :)

Will do.

I have not installed this on my new server that is now serving as my test site (as of Sunday) and I am still getting it set up.

What all do I need to do to set this up -- just apply the hack, or do I need to do any of Paul's addons?

Paul M 02 Jul 2005 21:25

Quote:

Originally Posted by tamarian
Can you write a summary for what cPanel+Exim config needs to be changed, so the spool becomes readable/writable? I'll just add it to the how-to with your name, for those who can (and want to) change their Exim config.

In the exim config file ( /etc/exim.conf ), near the bottom is a section that begins with virtual_userdelivery: - in that section is a line which says mode = 0660 - change this to mode = 0666 . Then chmod the inbox file to 666 as I previously mentioned (and the directory structure leading to it as previously described).

Christine 02 Jul 2005 21:25

Paul,

Are you running exiscan-clamav or clamav connector or anything similar?

Thanks!

Paul M 02 Jul 2005 21:28

Quote:

Originally Posted by Christine
Paul,

Are you running exiscan-clamav or clamav connector or anything similar?

Thanks!

Never heard of it, so I guess not. :)

tamarian 02 Jul 2005 21:31

Quote:

Originally Posted by Christine
Will do.

I have not installed this on my new server that is now serving as my test site (as of Sunday) and I am still getting it set up.

What all do I need to do to set this up -- just apply the hack, or do I need to do any of Paul's addons?

Yes, just install the new vBouncer (0.9), and wait it for it to collect some bounced emails. You can test the POP yourself first. If there are problems with th ePOP method, I'll take a look.

tamarian 02 Jul 2005 21:39

Quote:

Originally Posted by Paul M
In the exim config file ( /etc/exim.conf ), near the bottom is a section that begins with virtual_userdelivery: - in that section is a line which says mode = 0660 - change this to mode = 0666 . Then chmod the inbox file to 666 as I previously mentioned (and the directory structure leading to it as previously described).

Cool, the how-to is updated. Let me know if I messed it up :)


All times are GMT. The time now is 23:11.

Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.