LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2010, 05:04 AM   #31
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1

hi

internet connection is fine able to open all sites yahoo,google


pls find the log of application server


Oct 3 04:33:03 servername sendmail[4559]: o92CSwRu017910: to=<username@domain.com>, ctladdr=<daemon@domainname.com> (2/2), delay=10:34:05, xdelay=00:00:01
, mailer=esmtp, pri=1113200, relay=domain.com [172.xx.x.xx], dsn=4.0.0, s
tat=Deferred: Connection reset by domainname.com

Last edited by amartlk; 10-15-2010 at 05:05 AM.
 
Old 10-15-2010, 05:42 AM   #32
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
It is using sendmail by default from its own system. If you want to use remote smtp server, then add the lines to your configuration from my previous post. Do you by any chance bother to read the thread completely. You have been asked long before to check your application configuration and modify it. Can you please do that and then revert.
 
Old 10-15-2010, 07:07 AM   #33
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi
for relay = domain.com is the mail server and the 172.xx.x.xx is ip address of mail server i.e
mailer=esmtp, pri=1113200, relay=domain.com [172.xx.x.xx],
 
Old 10-18-2010, 04:48 AM   #34
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi

waiting for reply
 
Old 10-19-2010, 03:56 AM   #35
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi bathory sir

with reference to post#19 you provide me to test mail recieve/send through smtp, the process i follows is that on application server i.e on which mantis is installed i telnet mail server and send mail is this correct process
 
Old 10-19-2010, 05:49 AM   #36
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,641

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
Hi,

Quote:
with reference to post#19 you provide me to test mail recieve/send through smtp, the process i follows is that on application server i.e on which mantis is installed i telnet mail server and send mail is this correct process
OK, I understood that you can connect to the mail server.

We gave you some links regarding configuring mail in mantis. did you read them. Here are the links once again to check mantis configuration against them:
Link 1
Link 2

Regards
 
Old 10-19-2010, 06:55 AM   #37
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
I thought smtp configuration for mantis has been in this thread.
 
Old 10-20-2010, 12:58 AM   #38
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi
this is my config_inc.php, not the degault config_inc.php i didnt change anything before or after problem. mantis use local smtp for sending mail and relaying it using mail server

<?php
# Mantis - a php based bugtracking system

# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
# Copyright (C) 2002 - 2007 Mantis Team - mantisbt-dev@lists.sourceforge.net

# Mantis is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# Mantis is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.

# --------------------------------------------------------
# $Id: config_inc.php.sample,v 1.19.2.2 2007-10-25 17:13:42 giallu Exp $
# --------------------------------------------------------

# This sample file contains the essential files that you MUST
# configure to your specific settings. You may override settings
# from config_defaults_inc.php by assigning new values in this file

# Rename this file to config_inc.php after configuration.

###########################################################################
# CONFIGURATION VARIABLES
###########################################################################

# In general the value OFF means the feature is disabled and ON means the
# feature is enabled. Any other cases will have an explanation.

# Look in http://www.mantisbt.org/manual or config_defaults_inc.php for more
# detailed comments.

# --- database variables ---------

# set these values to match your setup
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'xxxx';
$g_db_username = 'xxxx';
$g_db_password = 'xxxx';


# --- email variables -------------
$g_administrator_email = 'xxxxxx';
$g_webmaster_email = 'xxxxx';

# the "From: " field in emails
$g_from_email = 'xxxxxxx';

# the return address for bounced mail
$g_return_path_email = 'xxxxxx';

# --- file upload settings --------
# This is the master setting to disable *all* file uploading functionality
#
# The default value is ON but you must make sure file uploading is enabled
# in PHP as well. You may need to add "file_uploads = TRUE" to your php.ini.
$g_allow_file_upload = ON;
?>
 
Old 10-20-2010, 01:02 AM   #39
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,142
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Do the SMTP settings as given in this link in you mantis system and you will be able to send mails.Use the same email server

http://www.mantisbt.org/wiki/doku.ph...tis_faq?s=smtp
 
1 members found this post helpful.
Old 10-20-2010, 08:03 AM   #40
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
hi
Thanks work out
i added the following lines in mantis config.inc.php
$g_phpMailer_method = 2;

$g_smtp_host = 'smtp.domain.com'

my mail start sending/receive from mantis but before this problem i dont have this setting but still my mail send/receive from mantis, can you pls clarify me for my knowledge , can the smtp on mantis server is not working but i able to telnet it as 127.0.0.1 25 ???pls clarify
 
Old 10-20-2010, 11:14 AM   #41
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,641

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
You can check the mail logs to see why the local mailserver has stopped sending mail
 
1 members found this post helpful.
Old 10-21-2010, 12:36 AM   #42
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
If you can telnet port 25 that just means your sendmail or postfix is running and listening. But that does not mean it has been properly configured to handle the data.
What you should have tried at the first go took you more than 30 replies to understand? I said before as well, read the thread properly, its your own thread, track it.
 
1 members found this post helpful.
  


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 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


All times are GMT -5. The time now is 08:19 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