Hey all, Words can't express how awesome this website is and the the ideals behind it, much appreciated. Anyway, sendmail was always the one thing that I just couldn't figure out. The last time I tried four years ago, I had given up. I'm trying again now on Fedora 12, as it is the only thing left to do until everything is good to go. The built-up dread of this fact has been realized. I need help, here. I've been able to find a few detailed tutorials, but they all presumed you had a static IP. I do not, and I use everydns.net to keep the DNS record updated on a bi-hourly basis. How can I apply the same for, say, mail.mydomain.com? I have to make it clear that I don't fundamentally understand sendmail. I understand the overall basis of email, but I don't fully understand the internal process of SMTP. If anyone could point me in the right direction, I'd really appreciate it. asked 03 May '10, 13:56 Steve |
I totally agree with Keith. Use postfix instead of sendmail. You'll find it much easier to configure and manage. I have postfix operating behind a dynamic IP address, using Zonedit to manage DNS for my domain names. I have smtps, imaps and pops configured for secure remote connections. Happy to help you out with anything relating to postfix :) answered 03 May '10, 23:13 Ian 1 I researched postfix with virtual users. I'll never look back. Now I just need to work on a custom, more user-friendly front-end using PHP to manage email users. phpMyAdmin does get the job done, but not in a very timely manner. Just about everything simply worked, though. SELinux was being a stubborn mule, but I eventually got around it. :)
(10 May '10, 23:49)
Steve
|
Gladiator's link captured the SMTP situation very well, "... running a "direct-to-mx" outbound mail server on a dynamic address no longer is practical - too many sites just block mail from dynamic IP addresses. Sigh." But I use my home Linux PC as my personal secure IMAP server, even though the IP address can, and does, change occasionally. Here's a stripped down version of the script that I run to automatically update it. (I really run one cron script as a regular user to generate it, and a second cron script as root to install it.) It also generates a cert file in the form ip-XX-XX-XX-XX.pem, where the X's are my IP address. I don't currently use it for anything, but it's been my plan to use it for a variety of things, if I ever get to it.
answered 04 May '10, 02:23 KenJackson I have to admit that I have configured my "real" mail server (running postfix) to block anything sent from a dynamic IP - too much garbage/SPAM otherwise. I run a backup postfix mail server on my home dynamic IP too, but I have it use the postfix "relayhost" parameter to send mail through my ISP's mail server so email doesn't get rejected by the receiving mail servers. I second the votes for Postfix - it's awesome, skip sendmail!
(04 May '10, 05:26)
Acorp
|
I configured Postfix and it seems to work great but, using it with a dynamic ip does not cut it. Most dynamic ip are blacklisted and most mail server block incoming mail from these addresses. I tried using something like no-ip.com but, my ip changed too frequently. After an ip changed I had to remove it from the blacklist, that happened every other day so by the time the changes got propagated the ip changed again. Too much work. answered 04 May '10, 13:02 Wilson |