Linux - ServerThis 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.
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.
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:...'
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.