LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-06-2011, 04:53 AM   #1
Akulaari
LQ Newbie
 
Registered: May 2005
Distribution: Mandrake
Posts: 9

Rep: Reputation: 0
Problem with a mail server


Hi.

I'm currently using CentOS 5.2 as mailserver (including sendmail as MTA), which is working fine at the moment with an exception of a little LAN routing/relaying issue:

I have Bugzilla installed on another server in LAN, which is supposed to use my mailserver when it comes to sending e-mails.

Now I do NOT want my bugzilla to send mail via WAN, but to use my CentOS mailserver as SMTP (and which from there forwards the mail into mail accounts in my CentOS server (all the mail addresses / mailboxes I use in bugzilla are in CentOS mail server).

So. I have configured bugzilla to use SMTP server, I have given it the address of my mailserver (mail.xxxx.xx). I have tested that I can ping my mailserver from my bugzilla server. I can open telnet connection to my mailserver from my bugzilla server (telnet mail.xxxx.xx 25).

I have configured bugzilla to use existing from address, and existing mail account and password (account and password on my mail server). Still bugzilla does not seem to be able to send mail to my mailserver's mailboxes.

I get following errors in my mailserver's /var/log/maillog:

Apr 3 04:03:16 (servername) sendmail[26513]: (somehash): mynetwork.local [myWANaddress] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

I also get following type of error on my bugzilla server's /var/log/messages:

Apr 5 :06:27:01 bugzilla jobqueue.pl[2041]: job failed: There was an error sendin maile from 'bugzilla@(mymail).com' to '(user)@(mymail).com': Couldn't authenticate 'bugzilla:...'

where bugzilla is valid user in my mailserver!


Any help?
 
Old 04-06-2011, 09:21 AM   #2
neal_alexandrov
LQ Newbie
 
Registered: Apr 2011
Location: Russia
Distribution: CentOS, Ubuntu
Posts: 11

Rep: Reputation: 0
Hello Akulaari

I want to know some of the things...

check the certificates that are installed on mail server for bugzilla ... by certificate i mean keys. The auth keys and check whether the mail sending is properly set and also check the username that you are using for bugzilla on mailing servers

and can you post the whole log file of your mail + bugzilla server.... that would be a great help for us to solve the problem
awaiting reply.....
Happy linuxing
 
Old 04-06-2011, 03:53 PM   #3
Akulaari
LQ Newbie
 
Registered: May 2005
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Hi and thanks for the reply.

I'm not currently able to connect to the server, but I'd like to give you some more details I might forgot to tell in the first place:

The bugzilla installation has been able to send mails in past in this same way. We located the actual problem to the mentioned CentOS mailserver because using bugzilla sendmail (on the bugzilla server) succesfully sent mails (via WAN which I do not want). Also we tested another SMTP server which required username and password to use (this smtp was not in our LAN either) and it worked.

I will do some more investigating on the user priviledges and user settings on my CentOS mail server since I get back to the servers, as everything seems to be pointing at user account problems.

I'm sorry but I cannot post the whole logs here. I'll see if I find anything else in the logs relating to the problem, that might give us some more clues.

And thanks again for reply.
 
Old 04-07-2011, 04:43 AM   #4
Akulaari
LQ Newbie
 
Registered: May 2005
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
this was on bugzillas messages logfile before the error i last posted

Net::SMTP=GLOB(0xb10d6e0)<<< 220 (centosname).local ESMPT Sendmail 8.11.8/8.13.8; Thu, 7 Apr 2011 10:46:33 +0300
Net::SMTP=GLOB(0xb10d6e0)>>> EHLO bugzilla^M
Net::SMTP=GLOB(0xb10d6e0)<<< 250-(centosname).local Hello (network).local [(MyWAN)], pleased to meet you
Net::SMTP=GLOB(0xb10d6e0)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0xb10d6e0)<<< 250-PIPELINING
Net::SMTP=GLOB(0xb10d6e0)<<< 250-8BITMIME
Net::SMTP=GLOB(0xb10d6e0)<<< 250-SIZE
Net::SMTP=GLOB(0xb10d6e0)<<< 250-DSN
Net::SMTP=GLOB(0xb10d6e0)<<< 250-ETRN
Net::SMTP=GLOB(0xb10d6e0)<<< 250-DELIVERBY
Net::SMTP=GLOB(0xb10d6e0)<<< 250 HELP
job failed. considering retry. is max_retries of 725 >= failures of 141?
 
Old 04-07-2011, 05:05 AM   #5
PankajRasuni
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Rep: Reputation: 0
It seems that your mails are relaying from Centos Server to Bugzilla server. Disabling the relaying option for that & configure it for the destination. It will works.
 
Old 04-07-2011, 06:50 AM   #6
Akulaari
LQ Newbie
 
Registered: May 2005
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by PankajRasuni View Post
It seems that your mails are relaying from Centos Server to Bugzilla server. Disabling the relaying option for that & configure it for the destination. It will works.
I'm not sure if I got this right but Bugzilla server is only supposed to send mails using CentOS server as SMTP (and usually mail destination mailboxes are in CentOS server). CentOS server is NOT supposed to transfer mails to bugzilla server (no used mailboxes there). Bugzilla is only sending mails, not receiving them.
 
  


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 server migration: howto deliver locally AND forward mail to new server pedrobl Linux - Server 1 01-21-2011 11:12 PM
mail server problem jittinan2 Linux - Server 1 03-12-2008 03:26 AM
Problem with mail server dianelane Linux - Networking 1 01-25-2006 09:59 AM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:24 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
Open Source Consulting | Domain Registration