Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 have installed Linux Mandrake 8.0 and I really like it. I installed Apache, WU-FTP, and Sendmail. All seem to work fine, but I keep getting relay errors on Sendmail. I have gone to Sendmail.org and looked up this error. They suggest adding my domain to /etc/mail/relay-domains file and I have done this but am still getting this error, specifically '551 5.7.1 we do not relay'
Anyone have any suggestions on this? I am getting desperate, because I cannot find anyone who knows anything about Sendmail, and I am a beginner.
The problem is that you cannot send mail from another computer in your network, right ?
Solution is allow computers in your network to relay. You can do this using Linuxconf.
1/ Open a terminal window.
2/ Start linuxconf.
3/ Choose "networking".
4/ Choose "Mail Delivery Subsystem (sendmail)".
5/ Choose "Relay email from by IP".
6/ Add a new entry (IP address host or network you want to send mails from).
Example:
192.168.2.12 - Allow relaying only from that host.
192.168.2. - Allow relaying from all hosts in that network.
Originally posted by kc5hwb I have installed Linux Mandrake 8.0 and I really like it. I installed Apache, WU-FTP, and Sendmail. All seem to work fine, but I keep getting relay errors on Sendmail. I have gone to Sendmail.org and looked up this error. They suggest adding my domain to /etc/mail/relay-domains file and I have done this but am still getting this error, specifically '551 5.7.1 we do not relay'
Anyone have any suggestions on this? I am getting desperate, because I cannot find anyone who knows anything about Sendmail, and I am a beginner.
Did you remember to restart Sendmail after editing the relay-domains file?
You might also want to add a cW line in your sendmail.cf file. Near the top will be a line that reads
Code:
cWlocalhost
under this line you will want to add another one for your domain, so
Code:
cWmydomain.com
otherwise Sendmail will moan about a local configuration error and it being the default mail exchanger for the domain. Again remember to restart Sendmail after the change.
Thank you very much. I tried the linuxconf, relay by direct IP, and that worked for about a day. Then it started giving me that same "we do not relay" error again. I emailed Sendmail.org tech support and they told me to add the Static IP or domain to my /etc/mail/relay-domains file. This seems to work so far....I am hoping it continues.
On a different note, I setup a Virtual POP account in linuxconf, and I can send mail to that account (I assume that it is receiving because I am not getting bounce-backs) but I cannot check any email from those accounts. I try to setup an email account using Eudora mail or Outlook express and when I check mail, it says "bad login" I am running gnu-pop3d for my POP server, and the guys at Sendmail.org say it is out of their boundaries. POP for the local domain works fine.
How do you enable mail forwarding in Sendmail? The reason that my Virtual Host is not working is because I went in thru Webmin and created an alias called "webmaster" It would not let me create "webmaster@somewhere.com" So now, ALL webmaster accounts that hit that box go to my aliased account. I CANNOT use webmaster for ANY other domain hosted on that box. Even after I removed the webmaster account from the Aliases Section, it still doesn't work. I went so far as to uninstall and reinstall Sendmail, and stil nothing. So I would not suggest using this "Aliases" option in Webmin.
Do you have any idea how to create a mailbox, and forward to to another box without using linuxconf? I would rather not have 5 email boxes in my email program going at the same time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.