Forum Moderators: bakedjake
i've gone into the sendmail.mc and added some stuff that people recommended and i get nothing. the service starts up and everything fine, but i'm not sure what's going wrong...
if there is anyone that would be willing to talk one on one via an instant messenger or email or something to help me sort this out that would be great! unless someone wants to talk it through on here, that would be swell too
any help is welcome!
welcome to webmasterworld :)
are you trying to set up sendmail for home use or on a server with virtual domains so that clients can log in, etc?
one of the problems i had when setting it up was to tell it not to listen on just the loopback interface 127.0.0.1. there is a line in sendmail.mc which you have to comment out by adding dnl to the start of the line. it starts DAEMON_OPTIONS('Port=smtp.....
then run the m4 command as it specifies at the top of the .mc file and restart sendmail.
it should now be able to use your network card to access the real world
maybe that helps?
Your message did not reach some or all of the intended recipients.
Subject:hsdlfaj
Sent:3/30/2004 8:40 AM
The following recipient(s) could not be reached:
'pewpmaster@pewp.org' on 3/30/2004 8:40 AM
550 5.7.1 ... Relaying denied
i just don't know where to start really with setting this up properly and finding a site that has a good straight forward setup is next to impossible
To accept mail as a given domain name you simply change two of the postfix.conf variables to reflect your host.
If you stick with sendmail be very cautious to not create a relay - a server that accepts mail from third parties for third parties - mail servers misconfigured to allow this are one of the largest reasons spam is as prevailent as it is.
sendmail is set up by default not to allow relaying. so in order to allow it you must first authenticate yourself on the server (login and let it know who you are) before it will allow you to send messages.
have a look at pop-before-smtp.pl [popbsmtp.sourceforge.net] which is a small programme which allows you to login to sendmail, recognises who you are and then allows you a 15 minute window in which to send you messages. all this means is that in any email programme you have to receive before you send.
once you have pop-before-smtp installed you have to make some manual adjustments to the sendmail.cf file (not for the faint-hearted ;). but there are some good docs for that on the pop-before-smtp site, including the exact bit of text you have to add to the sendmail.cf
HTH :)
If you're going directly from the server using a local mail client you should be able to send mail. You might want to make sure /etc/mail/acess has your loopback (127.0.0.1) in there.
If you're trying to send from the outside you might want to look into a pop-auth type solution like Jaime mentioned. You definately don't want to open up your machine to the world as a relay.