Sendmail Woes
Posted: Thu Jun 01, 2006 1:27 pm
I have to admit, I'm a Postfix guy. Qmail was rock solid when I needed it, Iearning Sendmail took too much of my time (and has an insecure history), so Postfix was the solution.
Moving to Scalix, I have to say I really miss it, especially with Amavisd-new.
There are two distinct things that I cannot figure out how and why they are happening. My setup is using the Spamassassin with the Spamass-Milter as described in the Technote (which I found be perfect documentation).
The first problem is that every e-mail that is being sent through the server is being spam-scanned. This is absolutely killing my box. We are a technology-centric company, and send *a lot* of e-mail between employees and with our clients. In reality, our outgoing e-mail doesn't need to be spam scanned (besides, let the other party do it ;)
So far I've done two things:
1. Add the trusted_networks parameter to /etc/mail/spamassassin/local.cf
2. Modify /etc/sysconfig/spamass-milter to add the -i <network>/<netmask>
Neither of these have seemed to do the trick. In looking at my /var/log/maillog, it seems that *everything* is coming from 127.0.0.1. So, maybe this is why my -i isn't working? But, it would lead me to believe that if I add -i 127.0.0.1 to the milter, then *no* mail will be scanned (since both inbound and outbound mail come from 127.0.0.1). Is there a way to solve what I am trying to do?
The second really annoying thing is that when someone from randomuser@randomdomain.com sends an e-mail to non-existant-user@ourdomain.com, sendmail wants to let them know. Well, I'm sorry, but 99% of this is spam, so there *is no mailbox* for the message to goto. Round and round it goes, and where it stops is in my Postmaster account. Where can I look to tweak the bounce settings?
I've read through the Administration Guide (page 25) a couple times now, and I don't know what is it, but I'm missing something. =P From what it seems, there's Sendmail, and then Scalix Sendmail. Then there's the different "Sendmail Interfaces." Why can't there be just one, or are they all the same?
This leads me back to where I started, I miss Postfix. It was one interface, exteremly clear configuration files, nice people on the mailing lists, and amavisd-new.
Thanks,
Mike
Moving to Scalix, I have to say I really miss it, especially with Amavisd-new.
There are two distinct things that I cannot figure out how and why they are happening. My setup is using the Spamassassin with the Spamass-Milter as described in the Technote (which I found be perfect documentation).
The first problem is that every e-mail that is being sent through the server is being spam-scanned. This is absolutely killing my box. We are a technology-centric company, and send *a lot* of e-mail between employees and with our clients. In reality, our outgoing e-mail doesn't need to be spam scanned (besides, let the other party do it ;)
So far I've done two things:
1. Add the trusted_networks parameter to /etc/mail/spamassassin/local.cf
2. Modify /etc/sysconfig/spamass-milter to add the -i <network>/<netmask>
Neither of these have seemed to do the trick. In looking at my /var/log/maillog, it seems that *everything* is coming from 127.0.0.1. So, maybe this is why my -i isn't working? But, it would lead me to believe that if I add -i 127.0.0.1 to the milter, then *no* mail will be scanned (since both inbound and outbound mail come from 127.0.0.1). Is there a way to solve what I am trying to do?
The second really annoying thing is that when someone from randomuser@randomdomain.com sends an e-mail to non-existant-user@ourdomain.com, sendmail wants to let them know. Well, I'm sorry, but 99% of this is spam, so there *is no mailbox* for the message to goto. Round and round it goes, and where it stops is in my Postmaster account. Where can I look to tweak the bounce settings?
I've read through the Administration Guide (page 25) a couple times now, and I don't know what is it, but I'm missing something. =P From what it seems, there's Sendmail, and then Scalix Sendmail. Then there's the different "Sendmail Interfaces." Why can't there be just one, or are they all the same?
This leads me back to where I started, I miss Postfix. It was one interface, exteremly clear configuration files, nice people on the mailing lists, and amavisd-new.
Thanks,
Mike