sendmail client
Hello,
I'm trying to configure sendmail to act as a client emailer but i'm facing a problem with the submit.mc configuration namely : Feature('msp','127.0.0.1') well the problem is that i want the mailer to forward the email to it's appropriate smtp host on the net and of course NOT to the localhost however , i'm not gonna bother with relaying thru a intermediate agent or setup an extra agent on my host to do that job what i'm looking for is a directive that instructs this idle pile of antiquated junk called sendmail to do something useful after all like figuring out from the mx record what ip it's supposed to connect to in order to deliver the email sorry , If this sounds like a rant but i'm simply fed up with this Bs i mean i can send an email manually from telnet , why is it so hard to tell this sendmail to do the same job? regards |
A poor workman blames his tools.
If you don't like sendmail you should probably explore postfix. However, to do that you'll actually have to learn how it works just as you would have had to learn how sendmail works to do it right. Many people prefer postfix and it sounds like it would be a good fit for you. |
Quote:
probably explain why the linux community has so far managed to conquer no more than 10% of the PC market. that is the unwillingess or inability to realize that something is fundamentally wrong with the open source community in general. or probably it's the fact that many developers have been so self centered on what they do to the extent that they have become utter bigots who consider every form of criticism against linux or OS software as malicious heresy. (a quick reference to richard stallman) of course i'm NOT trying to say that all OS software is wrong . for instace mysql , postgresql , apache ..etc are examples of great pieces of work. however , i'm here referring to sendmail and to be honest , it's one of the crappiest piece of software ever written , i'd even go further with blasphemy and say that MS exchange server would do better. and this statement comes from somebody (myself) who hates and despises microsuck to the core. when we mention quality software , how are we supposed to scale that and against what? well the answer for me is simple , it's the documentation that basically says everything about it. (compare to other documentations of other programs. indeed ,the official sendmail doc is as useless as a raincoat in the desert. it's so crappy that it doesn't even have a content index ...laughable isn't it? So you think that i should switch to postfix ? what's so ironic I knew about postfix long time ago , or in other words you didn't add anything that i don't already know Uh yeah , thanks for adding nothing ;p |
So, what is your problem. entz? It can take time to learn new programs/software...
So, you happen to know Micro$oft, big deal... It takes a man to know sendmail... It's really easy to point&click in MSExchange, and the management shell - Ugh!!! Sendmail is NOT that hard. Want a "basic" sendmail server? sendmail.mc should look like this: divert(-1) divert(0)dnl VERSIONID(`$Id: generic-linux.mc, Exp $') OSTYPE(linux)dnl DOMAIN(generic)dnl MAILER(local)dnl MAILER(smtp)dnl If you want to add a smarthost, insert this: define(`SMART_HOST', `your_smart_host_name_here') Rebuild your .cf files and install them, (I'll tell you how to do that if you get off your hi-horse and be a little more appreciative of the people that are trying to help you...). If not, you can insert another line somewhere else- Bob |
Quote:
Does a manual transmission suck because you can't drive stick? No. Just because you don't know how to use it dosen't mean it sucks...It just means that you don't know how to use it. -C |
Quote:
now that's something of a constructive response :) and if you believe it or not I do appreciate what you posted , which btw can't be said regarding the other 2 posters.. OK , now the general issue with sendmail is the docs are NOT very helpful(as i strongly suggested earlier) , fact is that a lot of guess work has been involved in order to reach the point where i'm now. at the moment , i do have a sendmail program that is able to listen to port 25 . i did this by running make generic-linux.cf cp generic-linux.cf /etc/mail/sendmail.cf and i did start the server by issuing sendmail -bt and that was the only command that would make the server listen to port 25. one of the important things that i want to do right now is restrict sendmail to listen to 127.0.0.1 instead to the whole 0.0.0.0 range which is most likely a security problem so how can i do that? what is it that should change in the config file or mc file...etc and thanks |
First off, entz, you owe an apology to the individuals that you "flamed". When you ask for help on something, don't "blast" the community that you are asking to help you.
It generally does not get you what you want. jlightner was merely trying to offer assistance to you, and I stand behind jlightner's statements. Say you're sorry, be "nice" if you can, and we can continue. Otherwise, I think you need to find another board to post your question/demand, if you haven't already. Bob -------------------- Poor planning on your part does not constitute an emergency on mine. |
Quote:
|
Quote:
anyways , i wanna say that there is a vast difference between blasting or flaming someone on one hand and criticizing on the other. basically what i mean , is that speaking out disagreements or attacking silly prejudices like "poor worker blames his tools". can't be held as an offense and for those who do , i sincerely feel sorry. I'm afraid that is the only thing I've to say at the moment. Peace , especially to all community lovers. |
All times are GMT -5. The time now is 08:55 PM. |