![]() |
|
Thread Tools |
#1
|
|||
|
|||
E-mail not sent, test e-mail returns an error
Hello,
I'm facing a annoying problem with vB4.2.2 PL6: I cannot send e-mail anymore from vBulletin. There is no e-mail for notification, no e-mail sent from the contact form, no e-mail sent to users... well, no e-mail ![]() I ran the e-mail diagnostic utility and this is its reply:
Would you have any idea? Thank you in advance! No members have liked this post.
|
#2
|
|||
|
|||
Verify that smtp email processing is disabled.
If smtp is what you want to use, verify the login & server credentials are correct. If you have log access on server level, send a test email while using for example tail while in a shell: tail -f mailllog | grep "[email protected]" If not download the log, like thru ftp if it isnt a dedicated server with shell access & search for the email you sent to, im going to guess you should see a lot of errors if the site sends out daily notifications.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#3
|
||||
|
||||
Hi Snakes1100 and thank you for your answer
![]() The SMTP protocol is disabled in vBulletin options. We have a dedicated server. tail found nothing. We use exim4 and its log looks like this :
I skipped many lines that look like those ones. I have no mail in queue as shown in main admin screen on vBulletin. So I do not know where the problem lies... ![]() Thank you for your help! No members have liked this post.
|
#4
|
|||
|
|||
tail -f /var/log/exim_mainlog | grep "[email protected]"
If you say no outbound email works, then exim's mainlog should be full of clues as to why.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#5
|
|||
|
|||
So to be sure I'm doing things right, I log on my server and run
tail -f /var/log/exim/mainlog | grep "[email protected]" The i open the admin panel in vB and ask him to send a test e-mail via the diagnostic tools. But nothing shows on the terminal of the server. The tail process is pending without any output. I wonder where the chain is broken... Thank you for your help, Snakes1100 ! ![]() No members have liked this post.
|
#6
|
|||
|
|||
tail -f /var/log/exim_mainlog | grep "[email protected]"
Not exim/mainlog Run that in a shell & then send a email.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#7
|
||||
|
||||
Sorry for my silliness but the file doesn't exist:
It's in French but I guess you can understand ![]() What goes wrong with these mails? Thanks for your help! edit: same error with tail -f /var/log/exim_mainlog | grep "[email protected]" No members have liked this post.
|
#8
|
|||
|
|||
exim by default stores all its logs in /var/log.
not sure what your setup is or who may have did anything custom on it, but you'll need to find the exim logs & see why its failing to send out emails.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#9
|
|||
|
|||
I'm surprised as I just checked on my computer by installing exim4 and the mainlog is in /var/log/exim4 as well.
I'm using Ubuntu 18.04 and our server runs on Debian 10. Maybe this point was different before, I don't know. No members have liked this post.
|
#10
|
|||
|
|||
Do a search for the exim logs then.
find / -name exim_* -print
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#11
|
||||||||
|
||||||||
Here you are:
So I made the same for exim4 :
No members have liked this post.
|
#12
|
|||
|
|||
It appears they renamed & moved quite a bit in that OS version.
Youre gonna have to edit the config & find out where & what its naming the log files. Once you find the correct log, then you can tail the log as you test & send out an email.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#13
|
|||
|
|||
So... as far as I can understand, there is a big mess on our server. We actually have two different versions of PHP : 5.3 and 7. And vBulletin is using 5.3 which is not supported any longer. As our server uses PHP 7 for e-mails, it doesn't do the link between vB and the mail server...
I now have to plan cascading updates for vBulletin and PHP to make things right and only then make further mail tests. I hope this will be sufficient. Sorry for the disturbance and thank you again Snakes1100 for your help! I'll post news when I get some. No members have liked this post.
|
#14
|
|||
|
|||
1st, you actually need to test - 5.3 may or may not be the issue, you simply need to verify that by checking the log php is using as explained in response to the PM.
Just because someone told you 5.3 is the issue, doesnt mean its so.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#15
|
||||
|
||||
I didn't find in php.ini where errors are loggued...
Path is not specified so I guess it would be in syslog BUT when I try a diagnostic mail... nothing more shows in syslog. Where could it be, by default ? No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:40.