LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2010, 04:21 AM   #16
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032

Let's clarify some things.

You have a Centos box running qmail that can send and receive mail fine.

You have also another box running some applications like mantis, that is supposed to use the qmail of the server above (the Centos) to send its mail. And you cannot receive mail from that box. At least this is what I understood from your first posts.

Now you say that the 2nd box has also a mail server running. If mantis and the other apps running on that box use the local mail server, then you should check its logs to see what happens.

If I'm wrong, please explain better what you are trying to do and what happens that makes you think there is a problem with mail.

Regards
 
Old 10-14-2010, 04:38 AM   #17
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi,

I dont think he has other mail server.He has only one.

He set up mail function as described in this link:

http://www.mantisbt.org/wiki/doku.ph...tis_faq?s=smtp

Hope that's correct!
 
Old 10-14-2010, 06:03 AM   #18
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi

i have 2 server of centos on 1 server qmailtoster is installed ,all client user have thunderbird to send /receive mail from this mail server.
and the client users are able to send /receive mails fine ok

in my another server we have all application installed i.e our production server here mantis is installed . the user are not able to recieve mail from the mantis when any bug is logged .

we have only one mail server , in short user send /recieve mail from mail server through thunderbird but not receive from application like mantis
 
Old 10-14-2010, 06:42 AM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Now that's make sense.
Did you configure mail in mantis as per post #17 by prayag_pjs above?
What's in Centos /etc/tcp.smtp? Make sure that the other server's IP (or the subnet it belongs) is listed there.
Also you can use telnet on port 25 to send an email from mantis server to the user intended to receive the alert and see what you get. To send mail via telnet take a look at this

Regards
 
Old 10-14-2010, 06:42 AM   #20
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Then why not check with mantis configuration first rather than putting your energy in mail server?
Check what mantis is configured as and if your smtp server requires authentication for sending mails? If yes, then you will need to configure mantis to use your server and also provide mantis with valid credentials to send the mails. Also check what mail server it is using. By default it should be sendmail, which is usually localhost. You need to change it to smtp and provide proper mail server and credentials.
 
Old 10-14-2010, 06:43 AM   #21
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Bathory beat me with his speed....
 
Old 10-14-2010, 07:56 AM   #22
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi
i have tested the link you provided To send mail via telnet and i sucessfully send/receivemail from production server that means smtp is sucessfully working on it ,and qmail server also working then what an issue


Amar
 
Old 10-14-2010, 08:12 AM   #23
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Ok, so it's a mantis configuration problem
Take a look at this thread, if you have to specify smpt authentication
Also follow the link of the last post that says about using cron to send mail notifications.

Regards
 
Old 10-14-2010, 08:14 AM   #24
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
In your config_inc.php, please let us know the parameters you have used(not exact but few) as given in this link http://www.mantisbt.org/wiki/doku.ph...tis_faq?s=smtp

please dont ignore this link

Quote:
$g_phpMailer_method = ?

$g_smtp_host = ?
 
Old 10-15-2010, 12:47 AM   #25
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi

In my config_inc.php theparameters are as --
# --- email variables -------------
$g_administrator_email = 'administrator@xxx.com';
$g_webmaster_email = 'webmaster@xxx.com';

# the "From: " field in emails
$g_from_email = 'noreply@xxx.com';

# the return address for bounced mail
$g_return_path_email = 'admin@xxx.com';


i didnot found $g_phpMailer_method = 2; option.
 
Old 10-15-2010, 12:52 AM   #26
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
This is a sample configuration that you should have

Code:
$g_phpMailer_method = 2; // use smtp
$g_smtp_host = 'yourmailserver'; // server host 
$g_smtp_username = 'login-name'; // login
$g_smtp_password = '****'; //password
 
Old 10-15-2010, 12:53 AM   #27
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
And if you dont have the configuration for smtp, there is your issue. Its using sendmail on local system for delivery by default.
 
Old 10-15-2010, 12:58 AM   #28
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi,

Can you let us know,whether you were able to send mails via mantis before or is it for the first time you are facing this problem and can you check the internet connection in Mantis Server?

Can you see mantis error logs?
 
Old 10-15-2010, 01:29 AM   #29
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi

we have only this configuration as shown in post as default smtp is used for delivering mails and before coming this problem the mail are received from mantis and i dont make any changes in configuration and this is not first or new configuarion.pls suggest what to do
 
Old 10-15-2010, 01:31 AM   #30
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Can you check the internet connection in Mantis Server?Are able to ping www.yahoo.com or any other site

Can you see mantis error logs?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mail loops back to me (MX problem?) OR did not issue MAIL/EXPN/VRFY/ETRN skc Linux - Server 6 07-09-2011 09:18 PM
problem with Evoution mail working with ubunto linux system senting mail dan1369 Linux - Newbie 1 06-14-2009 11:55 AM
Mail relaying problem, cannout mail from outside network using outlook andrewfeberwee Linux - Newbie 4 03-30-2009 07:12 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Strange mail problem, no errors, and no mail quincy56 Linux - Networking 4 09-07-2004 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration