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.
Sure there are other ways, postfix is just one of them, it's the one I used so I mentioned it here. It only took me like 6 lines of configuration if I recall correctly to set it up. I'm sure that if you Google for MTA or relay mail to Gmail, you come up with a lot of hits.
hi eric...just know what happen without configuring any mta in my server it sends a mail to gmail...is possible that i can track from which mta and smtp is used....
Sorry but I don't quite understand what you're saying. Did your server send out a mail to Gmail without you having configured anything? Is that what you want to say with your last post?
I don't know how it's possible from this info. Do you have the mail that was send out? Are you sure nothing is running on your server that sends out mails? Do you have a relay server setup in your network, perhaps on another server? If you have the mail, could you post the header? That would show at least some more information.
yes there is some relay server that are used in our network..we are using exchange server..thats one of the reason...
If you want to send mail out, you're going to have to configure SOMETHING. The computer isn't going to 'just know' where you want the mail to go, no matter who relays it further upstream.
Configure your postfix/sendmail/whatever to send emails to your internal relay then, and let it go from there.
Of course I don't know your setup but most likely your exchange server is setup to relay all mails from your lan. Since the server you mentioned is in your lan it might be that some process is sending mail via the exchange server. Were you able to find the mail and can you post the header here?
If you want to send mail out, you're going to have to configure SOMETHING. The computer isn't going to 'just know' where you want the mail to go, no matter who relays it further upstream.
Configure your postfix/sendmail/whatever to send emails to your internal relay then, and let it go from there.
Hi TB0ne,
I might be mistaking but I think the OP has a problem with a server that apparently is sending out mail without having anything configured on it. At first I also thought that he wanted to configure something like postfix or sendmail, so I asked, believe in #6 for some clarification.
So in order to see where the mail originated from I asked OP to post the header.
ya thats right but i dont how the mail goes out..it surprised me..right now i am configuring send mail but i am getting some issue in .mc file...what is masquerade in mc file what are the changes needed in that..
sorry guys i cant post header due to some security...some of the ip mention in header cant be out in any blog..its some thing mentioned in our client SLA..you can have any query in the header file or want to know some details i can asset you..
after going through THE header then i have post that may be exchange server is relaying..
Understandable that you cannot post the header entirely but you can go through it yourself step by step and retrace where it originated from.
Most likely your exchange is relaying but like TB0ne stated a server that has nothing configure to send out mails doesn't send them out, so you'll have to check your server in order to find out what process is mailing and via what agent.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.