Mailinglist Archive: opensuse (3627 mails)

< Previous Next >
sendmail and postfix
  • From: Guy Van Sanden <sienix@xxxxxxxxxxxxxx>
  • Date: Tue, 05 Jun 2001 11:18:35 GMT
  • Message-id: <20010605.11183515@xxxxxxxxxxxxxx>
Hello

I'm trying to make a mail-setup for my home network. I was thinking
about using postfix, because many claim it's better, and, more
important, more secure than sendmail (I don't know if it's true).

But I have some difficulties setting both of them up, posfix is
completely dead in the water (was like that out of the box), sendmail
can deliver local mail.

What I want to do is the following:

Clients in the network (Win9x and Linux) <--> firewall with sendmail or
postfix running <--> internet
static IP eth0, DHCP address from ISP - eth1, static IP

I have one mailbox with my provider, it's something like
guy123@xxxxxxx, they have a POP3 and SMTP server:
mail-in@xxxxxxx and mail-out@xxxxxxx
The SMTP server of my ISP filters relaying, and access to other
external SMTP's is blocked. Ditto for external connections to all my
ports below 1023.

What I want to do is the following, we have a number of mail address
we use at home (like extra flashmail addresses, etc.)
I want to set all clients up to send mail via my SMTP server, which
sends it further to my ISP, but preserving the original FROM and
REPLY-TO fields of the message.
And for a number of addresses, I want to receive them on my server and
have them delivered to local spools.

I got the sending part working once with these parameters (in
sendmail)
# "Smart" relay host (may be null)
DSsmtp:mail-out.pandora.be

# who I masquerade as (null for no masquerading) (see also $=M)
DMpandora.be

It works, but if I send a mail: FROM guy.van.sanden@xxxxxxx, it
arrives as FROM: gvs@xxxxxxx (gvs is my local userid.), and you can't
reply to that because the address belongs to someone else.
I would also like to send mail like FROM: me@xxxxxxxxxxxxx or
something...

At this moment, all my clients are configured to use mail-out@xxxxxxx
to send mail, but the from header can be whatever I fill in.

Can this be done?

Thanks for any help!

Guy








< Previous Next >