On Friday 03 April 2015 05:38:44 Erik Christiansen wrote: > On 02.04.15 15:48, Gene Heskett wrote: > > Oh wait, you will need to setup a mail server... Does gnipsel.com > > have a mail.gnipsel.com alias address registered? > > $ host -t mx gnipsel.com > gnipsel.com mail is handled by 30 mx.gnipsel.com > > > Something that can duplicate sendmail but is easier to configure? > > Postfix comes to mind as Jim has been looking into dumping qmail > > after about 16 years in favor of something that can make use of the > > rbl's available on the net, qmail doesn't support that as its so > > old. Some of them free, some have a low suscription by the year or > > similar. > > Postfix is pretty simple to set up, and even has a sendmail > compatibility interface for us oldtimers. Just a day or two ago I > changed from ubuntu 10.04 to debian 7.8.0 on my desktop machine, and > installed the postfix package. > > The package install throws up a curses semi-gui config interface which > asks a few questions, including a choice of 4 ways that you might be > connected to the network. Since I'm not permanently connected, I again > chose "Internet site with smarthost". (I.e. my ISP is my mail relay.)
I am, connection is up as long as we have public power to keep the cable system up. This machine is un-aware as theres a 1500WA ups under the table, and a 20 kw nat gas generator with a 10 second startup delay in the back yard. The 20kw is a side effect of having a wife with COPD, the air conditioning HAS to run. > Since I always forget to put my ISP's mailhost in square brackets at > the semi-gui stage, I run some tweaks as root afterwards. The > following collection have delivered the goods in the last three distro > installs: (Modified for gnipsel) > > # postconf -ev relayhost=[mx.gnipsel.com] > > When I've omitted the [], my mails have bounced, so I like the > brackets. > > # postconf -ev message_size_limit=25600000 > > My brother sometimes sends a 2 MB email. That lets 'em through. > > # postconf -ev mailbox_command='/usr/bin/procmail -t -a $EXTENSION' > > YMMV. I fetch mail with fetchmail, and use procmail to sort it into a > dozen or more incoming mailboxes, one per list. The default, examined > by: > > $ postconf -n mailbox_command I'm nearly on the same page, but not doing a lot of sorting to folders as it seems kmail gets a tummy ache from old index's, so when procmail deposits a message in /var/spool/mail, a session of inotifywait wakes up and sends kmail a get mail message over its internal command bus. > > omits the -t, which I like to have: > > -t Make procmail fail softly, i.e., if procmail cannot > deliver the mail to any of the destinations you gave, the mail will > not bounce, but will return to the mailqueue. > Another delivery-attempt will be made at some time in the > future. > > # postconf -ev smtp_generic_maps=hash:/etc/postfix/generic > > # vim /etc/postfix/generic # Any editor, to add one > line: your_username your_email_address # Insert your stuff > there. > > # postmap /etc/postfix/generic > > # postfix reload > > After that, my mail goes through fine. > > If you have trouble, all non-default configs can be read with: > > $ postconf -n > > and posted here for closer scrutiny. > > If using fetchmail to bring mail in from the ISP, then a > ~/.fetchmailrc makes that more comfortable. Grab the config tool too, > to simplify setup. The packages are: Chuckle, I've been using fetchmail so long without the configurer that it surprised me when it showed up in the repos, quite a few years ago. I've never ran it. > $ apt-cache search fetchmailconf > fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder > fetchmailconf - fetchmail configurator > > So, for a basic setup, there's not much to it. Same here, except I use mailfilter as a precommand in .fetchmailrc and have it trained to nuke quite a few class c addresses because nothing lives there but spammers. Only moderatly effective though as they use a block of class d's for a day & won't reuse that block again for months. If the spammers were forced to use only what they need, we'ed have another 5 years of ipv4 addresses before we're plumb out. That would also fix the spam filter problem. > Erik Thanks Erik. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
