Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Equivalent of debian's /etc/email-addresses?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Thu Nov 21, 2002 4:19 am    Post subject: Equivalent of debian's /etc/email-addresses? Reply with quote

I always get totally confused messing around with MTAs.

Debian has an /etc/email-addresses file with exim that allows you to specify a local user and an address that outbound emails from that user will be rewritten to.

I'm trying to do the same thing with outbound email on postfix, qmail, exim, or any MTA and Gentoo. I'd also like the 'maildir' mailbox format supported for local mail delivery (which I'm having trouble getting exim to do).

It's pretty simple, really... this is all I want:

1) Local mail gets delivered to maildir format normally (i.e. local mail to root goes to root's maildir, or if I'm forwarding root mail to my own in /etc/aliases, it would go to my maildir).

2) Outbound internet mail from me gets rewritten as from me@publicdomain.com.

Can anyone offer some advice? Just regular old ssmtp would be fine, except that local mail doesn't work.

Thanks!

Carl
_________________
"It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt
Back to top
View user's profile Send private message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Thu Nov 21, 2002 6:14 am    Post subject: Reply with quote

Hmm ok I think I got it. I'm using postfix's sender_canonical file to rewrite my local From address to my public From address and it seems to work okay. I must say, out of the Big Three, postfix, exim, and qmail, I definitely prefer postfix. It seems to have the best documentation and easier syntax.

Carl
_________________
"It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum