Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
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.
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
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.
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';
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.