You don't "have to start relaying mail for him at his apartment"...but 
you could, if you wanted to.  That not withstanding, he could 
relay through his own ISP, and still POP3 or IMAP from your server.

Relaying is an on/off thing, in that you can turn it on and off, but it's 
not that black and white.  You can open up relaying on a case by case, IP 
by IP, system by system basis, or you could create an acount, as you 
noted in your last question, and have him authenticate.  You could also 
use an authentication system...2 of which are POP-Before-SMTP and 
SMTP-AUTH.

POP-Before-SMTP requires running a patched POP3 daemon, another daemon 
like DRAC to maintain a database, and adding that database to the 
"mynetworks =" line in /etc/postfix/main.cf.

SMTP-AUTH requires a version of Postfix that supports it, and a bunch of 
configuration modifications...and if you want to really secure it, you can 
set up TLS/SSL, too.

Does your friend have a static IP for his connection?  If so, setting up 
relaying for him is relatively trivial, and it won't render you an open 
relay (so you probably won't get listed in the black hole lists).  Just 
add his IP to the "mynetworks = " list in your /etc/postfix/main.cf file.  
You can either add his IP address to the "mynetworks =" line, or, if you 
have a list in a separate file, referenced on the "mynetworks =" line, 
just add the IP to that list...either way, run "service postfix reload" 
when you're done.

If your friend does not have an actual account on your system, how is he 
receiving mail for this domain?  Are you using the virtual user 
functionality and forwarding it to his actual ISP-provided email address?  
If so, then he's already sending/receiving via his ISP, and you don't have 
to change your relay setup in any way.


On Thu, 15 Aug 2002, vvor wrote:

> sorry if this is the wrong place for this, but no one answers me on the
> postfix list, and i just saw a postfix post on this list...
> 
> i set up my friends domain on my server: web, ftp, and mail. web and ftp
> were easy. for mail, i am using postfix. he doesn't live inside my internal
> network, so is it true that i have to start relaying mail for him at his
> apartment? is relaying an "on/off" thing? i.e., if i turn on relaying for
> him, does that mean i will become a black hole? should i create a system
> account for him and authenticate?
> 
> sorry, i am a little lost...



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to