Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2020, 10:09 AM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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:

Quote:
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 11-22-2020, 01:03 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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@yousentto.com"

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 11-22-2020, 06:11 PM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 :

Code:
2020-11-22 19:27:45 1kgu5Q-0004rB-AR <= EdwardHarrisczoir@iconpln.net.id H=(132.42.202.160.iconpln.net.id) [XXX] P=esmtp S=5550 id=1FDF493F.C830B142@iconpln.net.id
2020-11-22 19:27:45 1kgu5Q-0004rB-AR => administration <administration@mysite> R=local_user T=mail_spool
2020-11-22 19:27:45 1kgu5Q-0004rB-AR Completed
2020-11-22 19:28:04 no host name found for IP address XXX
2020-11-22 19:28:04 SMTP protocol error in "AUTH LOGIN" H=(User) [141.98.10.192] AUTH command used when not advertised
2020-11-22 19:29:20 no host name found for IP address XXX
2020-11-22 19:29:20 SMTP protocol error in "AUTH LOGIN" H=(User) [141.98.10.136] AUTH command used when not advertised
2020-11-22 19:39:31 no host name found for IP address XXX

[...]

2020-11-22 19:53:30 Start queue run: pid=19272
2020-11-22 19:53:30 End queue run: pid=19272

[...]
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 11-23-2020, 10:40 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tail -f /var/log/exim_mainlog | grep "email@yousenttointest.com"

If you say no outbound email works, then exim's mainlog should be full of clues as to why.
Reply With Quote
  #5  
Old 11-23-2020, 05:13 PM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So to be sure I'm doing things right, I log on my server and run

tail -f /var/log/exim/mainlog | grep "myemail@blabla.com"

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 11-23-2020, 08:05 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tail -f /var/log/exim_mainlog | grep "email@yousenttointest.com"

Not exim/mainlog

Run that in a shell & then send a email.
Reply With Quote
  #7  
Old 11-24-2020, 05:00 PM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for my silliness but the file doesn't exist:

Code:
tail -f /var/log/exim4_mainlog | grep "me@blabla"
tail: impossible d'ouvrir '/var/log/exim4_mainlog' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
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 "me@blabla"
Reply With Quote
  #8  
Old 11-25-2020, 11:46 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 11-25-2020, 04:44 PM
Mornagest Mornagest is offline
 
Join Date: Sep 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 11-26-2020, 11:28 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do a search for the exim logs then.

find / -name exim_* -print
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05706 seconds
  • Memory Usage 2,255KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete