Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-06-2011, 05:53 AM
|
#1
|
LQ Newbie
Registered: May 2005
Distribution: Mandrake
Posts: 9
Rep:
|
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?
|
|
|
04-06-2011, 10:21 AM
|
#2
|
LQ Newbie
Registered: Apr 2011
Location: Russia
Distribution: CentOS, Ubuntu
Posts: 11
Rep:
|
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
|
|
|
04-06-2011, 04:53 PM
|
#3
|
LQ Newbie
Registered: May 2005
Distribution: Mandrake
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
04-07-2011, 05:43 AM
|
#4
|
LQ Newbie
Registered: May 2005
Distribution: Mandrake
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
04-07-2011, 06:05 AM
|
#5
|
LQ Newbie
Registered: Nov 2009
Posts: 18
Rep:
|
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.
|
|
|
04-07-2011, 07:50 AM
|
#6
|
LQ Newbie
Registered: May 2005
Distribution: Mandrake
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by PankajRasuni
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.
|
|
|
All times are GMT -5. The time now is 07:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|