LinuxQuestions.org
Visit Jeremy's Blog.
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, 05:21 AM   #16
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,519

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501

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, 05:38 AM   #17
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
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, 07: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, 07:42 AM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,519

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
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, 07:42 AM   #20
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

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, 07:43 AM   #21
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Bathory beat me with his speed....
 
Old 10-14-2010, 08: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, 09:12 AM   #23
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,519

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
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, 09:14 AM   #24
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
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, 01: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, 01:52 AM   #26
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

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, 01:53 AM   #27
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

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, 01:58 AM   #28
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
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, 02: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, 02:31 AM   #30
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:18 PM
problem with Evoution mail working with ubunto linux system senting mail dan1369 Linux - Newbie 1 06-14-2009 12:55 PM
Mail relaying problem, cannout mail from outside network using outlook andrewfeberwee Linux - Newbie 4 03-30-2009 08:12 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 03:43 PM
Strange mail problem, no errors, and no mail quincy56 Linux - Networking 4 09-07-2004 01:21 AM


All times are GMT -5. The time now is 10:50 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration