| Linode Forum https://forum.linode.com/ |
|
| debian: apt-get install sendmail https://forum.linode.com/viewtopic.php?f=11&t=175 |
Page 1 of 1 |
| Author: | sec39 [ Sun Jun 29, 2003 10:33 pm ] |
| Post subject: | debian: apt-get install sendmail |
I've been playing around with sendmail for a few days now. I installed it on my Debian Linode with 'apt-get install sendmail' Since the new version of sendmail doesnt relay email on default, one method that you can do is edit the access file for spam control. However, I noticed on the apt-get install method doesnt enable this option in the install. I had to manually enter 'Feature(`access_db')' into the /etc/mail/sendmail.mc file - now you should be able to edit the access file and be able to relay. This is just some info I came across for anyone thats new to sendmail like me. |
|
| Author: | rjp [ Fri Aug 15, 2003 2:37 pm ] |
| Post subject: | Debian's sendmail |
One thing to note, if you add FEATURE(`access_db') to your sendmail.mc, you will need to create your /etc/mail/access file, then run make once, which will modify the makefile to add rules for the access file. Then, run make a second time, and it will create the /etc/mail/access.db file from /etc/mail/access - I use this along with FEATURE(`blacklist_recipients') for spamtrap addresses, like: spamtrap@example.com 553 Only a spammer would send to this address Once the database has been created, you only need to run the makefile once each time you add an entry to the access file. The self-modifying makefile also works with /etc/mail/virtusertable if you want to use a virtual user table. I use the virtual user table to allow any address at my domain to work, getting forwarded to me; this basically gives me a honeypot, and I can blacklist any address that gets spammed. So far, the only spam hits I've received have been to spamtrap addresses that I've used on USENET posts, which get 553'd before I ever see them. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|