procmail
[Top] [All Lists]

Re: procmail

1997-09-11 14:21:26
At 03:29 PM 9/11/97 PDT, Derald Muniz wrote:

This is what I have.  NT 4.0 system with Post.Office 2.0 on it.  This

Yea, I looked at that solution, and saw the cost and said "no way".

Linux redhat system 2.0.29
[snip]

Why not dig up the sendmail anti-relay code?  Essentially, if the message
isn't destined for (or originating from) your system, people can't send
mail through your SMTP.  If authorized users are within a certain netmask
(say, on the local LAN), then you could probaly filter on TCPWrappers too.

I have tried various recipes, but my mail does not get delivered at all and
I can find no logs that tell me what is going wrong

Is procmail even GETTING the messages?  If so, have you enabled verbose
logging?  If not, check /var/logs and see if anything shows up in syslog or
messages.

I would like this to happen:  a user initiates a connection to my Linux
system (it would now be my SMTP server);

Possibly nifty tip:  if you run your own DNS, set up the following (or
something like them):

        pop3.mydomain.com
        smtp.mydomain.com
        mail.mydomain.com

MX all of 'em to mail.mydomain.com (which in theory is SMTP box), and
assign IP addresses as appropriate to all of them -- in a normal config,
they'd all be the same, but in yours, smtp = mail = linux box, and pop3 =
nt box.

Then have all your clients use these subdomains in their mailer configs.
If you have to change what is what, you change the IP address in the DNS,
and then they're talking to a different machine without individual config
changes on their part.

Why do I mention this?  Well, if you're going to make the SMTP a different
machine, I'd think you already have to do client config changes (unless
you're going to isolate the NT box from the Internet), so may as well make
any future change seamless -- including the possibility of switching the
POP mail over to the *nix box.

folders and forward to the NT system for POP3 access.  Does this make
sense?  Will this work?

Haven't tried anything like it myself.  If you can set up the mailer on the
NT box to only accept mail from the *nix system, then you could set up
simple forwarding rules on the *nix box to forward mail and bounce or file
everything else.

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

<Prev in Thread] Current Thread [Next in Thread>