Re: [vox-tech] Un-relaying postfix

2009-10-02 Thread Brian Lavender
On Fri, Oct 02, 2009 at 06:13:01AM -0700, Gandalf Parker wrote:
> On Thu, 1 Oct 2009, Bill Kendrick wrote:
> 
> > We[*] discovered that some overzealous admins were blocking the entire
> > IP range for our ISP (a huge VPS provider) due to spam.  This was 2 years
> > ago, so I'm not sure if that's still happening.
> 
> Ive had that. There was a bad period back when centralized lists of 
> "spammers" came out. But later it leveled out abit when the SPF protocol 
> was developed. Check to see that an SPF text line is added to the domain. 
> It helps at cleaning up old spam-lists.

And dkim http://www.dkim.org/ 

-- 
Brian Lavender
http://www.brie.com/brian/
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Un-relaying postfix

2009-10-02 Thread Bill Kendrick
On Fri, Oct 02, 2009 at 06:13:01AM -0700, Gandalf Parker wrote:
> Ive had that. There was a bad period back when centralized lists of 
> "spammers" came out. But later it leveled out abit when the SPF protocol 
> was developed. Check to see that an SPF text line is added to the domain. 
> It helps at cleaning up old spam-lists.

Fortunately, someone else looked into this for me, checked that our SPF was
good, and tweaked the postfix config.  (Another thing that had to be done was
to disable the TLS requirement; not every receiving server supports
encryption.)

Thanks for all the tips, though!

-bill!

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Un-relaying postfix

2009-10-02 Thread Gandalf Parker
On Thu, 1 Oct 2009, Bill Kendrick wrote:

> We[*] discovered that some overzealous admins were blocking the entire
> IP range for our ISP (a huge VPS provider) due to spam.  This was 2 years
> ago, so I'm not sure if that's still happening.

Ive had that. There was a bad period back when centralized lists of 
"spammers" came out. But later it leveled out abit when the SPF protocol 
was developed. Check to see that an SPF text line is added to the domain. 
It helps at cleaning up old spam-lists.

Gandalf  Parker


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Un-relaying postfix

2009-10-01 Thread Rick Moen
Quoting Ken Bloom (kbl...@gmail.com):

> Some programs that send mail (most notably mutt) don't speak SMTP --
> they just call sendmail and let sendmail do the dirty work. If that's
> all you're trying to do, then there are several different sendmail
> replacements that can do that without starting a daemon, for example
> ssmtp, nullmailer, and esmtp.

FYI, I keep a list of known "nullmailers" (simple outbound-service 
SMTP daemons just complex enough to drop mail bundles off at a
smarthost) here:

"Nullmailers" on http://linuxmafia.com/kb/Mail/

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Un-relaying postfix

2009-10-01 Thread Bill Kendrick
On Wed, Sep 30, 2009 at 06:03:21PM -0700, Rod Roark wrote:
> I suppose.  But there's the question of why the relay was being used
> in the first place.  There must be a good reason if someone went to
> the trouble...?

We[*] discovered that some overzealous admins were blocking the entire
IP range for our ISP (a huge VPS provider) due to spam.  This was 2 years
ago, so I'm not sure if that's still happening.

-bill!
[*] I wasn't working here yet. ;)
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Un-relaying postfix

2009-10-01 Thread Ken Bloom
On Thu, 2009-10-01 at 05:35 -0700, Gandalf Parker wrote:
> On Wed, 30 Sep 2009, Bill Kendrick wrote:
> > Do I simply remove the "relayhost" line from postfix's "main.cf" config file
> > and restart it?
> 
> My main.cf just has
> relayhost =
> and works directly.
> 
> But for sending, do you need to do that? Ive always understood it that 
> you dont have to have a full daemon running to send. So in this case 
> you should be able to bypass it in some specific scripted cases.
> 
> Have you tried doing direct calls to sendmail sending email to yourself on 
> another system to see if it goes out without relay?
> 
> Im abit surprised PostFix is running on that system at all if its set up 
> to relay. I hope they are using its capabilties in some way. At the moment 
> Im fighting with PostFix because its being abit of a hog on my system. Im 
> trying desperately to teach it to be a tiny tiny server.

Some programs that send mail (most notably mutt) don't speak SMTP --
they just call sendmail and let sendmail do the dirty work. If that's
all you're trying to do, then there are several different sendmail
replacements that can do that without starting a daemon, for example
ssmtp, nullmailer, and esmtp.

On the other hand, it can also be convenient to configure all local
programs to contact localhost:25 when they want to send. If you want to
do that, you need a daemon.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Un-relaying postfix

2009-10-01 Thread Gandalf Parker
On Wed, 30 Sep 2009, Bill Kendrick wrote:
> Do I simply remove the "relayhost" line from postfix's "main.cf" config file
> and restart it?

My main.cf just has
relayhost =
and works directly.

But for sending, do you need to do that? Ive always understood it that 
you dont have to have a full daemon running to send. So in this case 
you should be able to bypass it in some specific scripted cases.

Have you tried doing direct calls to sendmail sending email to yourself on 
another system to see if it goes out without relay?

Im abit surprised PostFix is running on that system at all if its set up 
to relay. I hope they are using its capabilties in some way. At the moment 
Im fighting with PostFix because its being abit of a hog on my system. Im 
trying desperately to teach it to be a tiny tiny server.

Gandalf  Parker

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Un-relaying postfix

2009-09-30 Thread Rod Roark
Bill Kendrick wrote:
...
> Do I simply remove the "relayhost" line from postfix's "main.cf" config file
> and restart it?

I suppose.  But there's the question of why the relay was being used
in the first place.  There must be a good reason if someone went to
the trouble...?

Rod
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech