Sendmail, I think this is easy, but can someone help?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Sendmail, I think this is easy, but can someone help?
Hi all,
I was hacked a few weeks ago and my sendmail server was switched to open relay. I fixed it, but in that time, I got "blacklisted"! ARGH!! The final list I need to get off of is trying to send me a removal confirmation e-mail to my "postmaster" address. My domain is "bubba.net". The problem is that they CANNOT send this e-mail to postmaster@bubba.net. They can only send it to postmaster@[1.1.1.1] (where 1.1.1.1 is my IP address). How can I setup sendmail to accept mail bound for "whatever"@1.1.1.1? Does anyonw know how to do this? Please help!! Thanks!!
Chris
Last edited by WorldBuilder; 05-28-2003 at 09:08 PM.
It could be that bubba.net does not resolve to your ip address, this would be a DNS problem, maybe you need to update the domain name if your ip address changed.
I am able to connect to bubba.net and send mail to postmaster, it says message queued
check /etc/mail/aliases for an entry like this ...
postmaster: root
that's the default entry
you may want to add an entry like this to get root's mail,
user being your user name
I'm very sorry David! bubba.net is not ACTUALLY my domain. I was using that as an example and forgot to mention it! Oooops... My REAL domain is bartlett-family.net!!! Sorry!!! Please try again and let me know what you get, because when I try to e-mail postmaster@[my_ip_address], I get an error message saying relaying denied.
Chris
PS. I know you can just do a "whois" to get my IP address, but I didn't want to type it. It's 24.61.77.188. All I need is for an e-mail to:
postmaster@[24.61.77.188] to go through ok, and to be redirected automatically to the user "chris".
telnet mail.bartlett-family.net 25
Trying 24.61.77.188...
Connected to mail.bartlett-family.net.
Escape character is '^]'.
220 goliath.home.bartlett-family.net ESMTP Sendmail 8.12.9/8.12.5; Wed,
28 May 2003 23:28:36 -0400
ehlo dcphillips.net
250-goliath.home.bartlett-family.net Hello [65.90.149.154], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
mail from: david@dcphillips.net
250 2.1.0 david@dcphillips.net... Sender ok
rcpt to: postmaster@bartlett-family.net
250 2.1.5 postmaster@bartlett-family.net... Recipient ok
data
354 Enter mail, end with "." on a line by itself
test email to postmaster@bartlett-family.net via telnet mail.bartlett-family.net 25
.
250 2.0.0 h4T3SakG007467 Message accepted for delivery
quit
221 2.0.0 goliath.home.bartlett-family.net closing connection
Connection closed by foreign host.
Nah, that wasn't the problem. I wasn't using cw_file. I added that in sendmail.mc, remade the configuration file, restarted sendmail, and hoowaa! All set. Thanks for all your help, guys!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.