Re: [ILUG] Mail laziness

From: Dave O Connor (doc at domain redbrick.dcu.ie)
Date: Thu 20 Jul 2000 - 11:19:33 IST


Someone called Noel Carroll said on Thu, Jul 20, 2000 at 10:39:52AM +0100:
> I want to set up my linux box so that it will connect into my ISP and
> collect my mail automatically and send anything I've got queued. I guess
> I'd need sendmail for that right? Time to refer to Running Linux yet
> again! Has anybody got this going and what did you do to set it up.
>
I've got postfix running at home, and some windows clients that use POP
clients to send mail to it. They set the unix machine as their POP and SMTP
server, and the machine runs postfix and a POP server (cucipop). When they
send mail, it gets dropped into postfix's deferred queue (because obvoisly,
postfix can't send it). Therefore, the windows users can just send mail as
normal. If it's local, it gets delivered, if it's to the internet, it gets
defferred by postfix. Then, when i dialup, i go "sendmail -q" and the deferred
queue gets flushed, and mail is sent. (I think "postfix flush" might do this
too). I use fetchmail to pop mail down when i dialup, too.
        You can (and probably should) set up address rewriting, which is dead
handy to do, with postfix. Have a look at the "canonical" manpage after
you install it. So basically, mum at domain mail.thehouse, or dad at domain mail.thehouse can get
rewritten to mums_add at domain mums_isp.ie and dads_add at domain dads_isp.ie easily enough.
I should prolly write this up at some stage. If anyone wants to know in more
exact terms how to pull it off.

        - DoC



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:55 GMT