Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spamassassin 1

Status
Not open for further replies.

dingleberry

Programmer
Dec 13, 2002
143
US
Hi,

I am running a freebsd server with sendmail. I've started getting a ton of spam recently so a friend told me about spamassassin. Upon reading the documentation, I found that I need a mail processing utility so I installed procmail. Esentially, I logged in as root, went to my /usr/ports/mail/procmail directory and did a make. Then I did a make install. Then I went to my /usr/ports/mail/p5-Mail-Spamassassin directory, and did a make, and then a make intstall. I've tried reading the documentation but I'm really not sure where to start and I'm deathly afraid of screwing something up. Can someone out there give me a quick and dirty lesson in this? Or even point me in the direction of a tutorial. At some point I'd like to use this for all my virtual hosts but i'm testing it on my own host name for now. Oh, that brings me to antoher question:

Pretend you register information.com and point dns to your server. You then set up a virtual host for said domain. Information.com has got 3 people. They are named dan, jeff, and phil. Do I have to set up 3 new user accounts for them to each receive email? I thought there was some way to just set up information as a username, and then make dan, jeff, and phil users of that domain for email purposes. Like information.com/dan & information.com/phil & information.com/jeff. Any insight into such madness would be really appreciated.

Thanks,
dan
 
Spamassassin only put a header on top of the spamming email message, just to indicate that this messages is considered spam.
Based on this, you can include in your 'procmailrc' configuration file the following code, to filter and eliminate the 'guilty' message.

:0:
* ^X-Spam-Status: Yes
/dev/null

You can also tune up a better filtering in the Spamassassin filter configuration.

Regarding your second question, I suggest 2 solutions:
1.
You create 'information' as the main company user and 'information1', 'information2' and 'information3' for each other user and after you redirect the mail of any user to its corresponding username in the 'virtusertable' of your sendmail as well as any other e-mail@information.com redirected to 'information' user.

2.
If users have their own external e-mail, simply redirect in virtusertable their 'user@information.com' to their respective e-mails.

D.




Life is not 10101100 only ...
It's also 01010011
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top