Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Nov 2020, 12:09
Mornagest Mornagest is offline
 
Join Date: Sep 2009
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:

SMTP: localhost
sendmail_from: None
sendmail_path: -t -i
The fact is that I can send and receive e-mails from my server. The contact e-mail address works fine when I use it with SquirrelMail, BUT it doesn't receive contact e-mails sent from the forum form.

Would you have any idea?

Thank you in advance!
Reply With Quote
  #2  
Old 22 Nov 2020, 15:03
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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.
Reply With Quote
  #3  
Old 22 Nov 2020, 20:11
Mornagest Mornagest is offline
 
Join Date: Sep 2009
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 :


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

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!
Reply With Quote
  #4  
Old 23 Nov 2020, 12:40
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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.
Reply With Quote
  #5  
Old 23 Nov 2020, 19:13
Mornagest Mornagest is offline
 
Join Date: Sep 2009
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 !
Reply With Quote
  #6  
Old 23 Nov 2020, 22:05
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
tail -f /var/log/exim_mainlog | grep "[email protected]"

Not exim/mainlog

Run that in a shell & then send a email.
Reply With Quote
  #7  
Old 24 Nov 2020, 19:00
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Sorry for my silliness but the file doesn't exist:


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

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]"
Reply With Quote
  #8  
Old 25 Nov 2020, 13:46
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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.
Reply With Quote
  #9  
Old 25 Nov 2020, 18:44
Mornagest Mornagest is offline
 
Join Date: Sep 2009
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.
Reply With Quote
  #10  
Old 26 Nov 2020, 13:28
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Do a search for the exim logs then.

find / -name exim_* -print
Reply With Quote
  #11  
Old 27 Nov 2020, 17:21
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Here you are:


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

So I made the same for exim4 :


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

Reply With Quote
  #12  
Old 27 Nov 2020, 18:04
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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.
Reply With Quote
  #13  
Old 28 Nov 2020, 12:37
Mornagest Mornagest is offline
 
Join Date: Sep 2009
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.
Reply With Quote
  #14  
Old 28 Nov 2020, 12:47
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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.
Reply With Quote
  #15  
Old 28 Nov 2020, 22:19
Mornagest Mornagest is offline
 
Join Date: Sep 2009
I didn't find in php.ini where errors are loggued...


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

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 ?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:37.

Layout Options | Width: Wide Color: