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 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?
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.
Well i guess that the mentality that you've presented could
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
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:
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
Last edited by bobmac010; 04-17-2009 at 12:43 PM.
Reason: punctuation
Well i guess that the mentality that you've presented could
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
That doesn't make sense...
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.
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...).
Hello Bob,
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
Last edited by entz; 04-18-2009 at 06:10 AM.
Reason: elaborating
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.
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.
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.
...or if i haven't already found the answer myself by now (3 days later)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.