Re: trying to use pine with postfix

From: Bit Twister (
Date: 06/18/05

Date: Sat, 18 Jun 2005 15:28:07 -0500

On Sat, 18 Jun 2005 22:07:00 +0200, Sven-Thorsten Fahrbach wrote:
> Okay, I'm nearly dispairing over the pine setup to use with my
> postfix configuration. No matter what I do I get an error
> message from the smtp server ( that the user does
> not exist. Let me brief you on the details of my configuration:

Guessing your relay host wants the name to be a vaild isp email address.

> e-mail address:
> gmx demands that the login name be the full e-mail address, i.e.
> login name:
> login name on my system: svetho

My solution used canonical files to munge the headers.

Warning: it works and what you see was from me kludging around trying
to make it work. I keep telling myself I will go back to the docs and
straighten them out. :(

I have a lan behind a linux firewall box,
postfix running on all nodes. Firewall box munges headers for anything
heading to the internet.

/etc/postfix/ snippet

# my appended changes to for my WAN node

myorigin =
mydomain = home.invalid
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks =,
relayhost =
relay_domains = $mydomain
inet_interfaces = $myhostname, localhost
smtp_host_lookup = dns, native

#local box users
virtual_alias_maps = hash:/etc/postfix/virtual

# swap linux users into my ISP eamil users
# swap out From: values
sender_canonical_maps = hash:/etc/postfix/canonical_sender

# swap out To: values example root
recipient_canonical_maps = hash:/etc/postfix/canonical_recipient

canonical_sender snippet


canonical_recipient snippet

root bittwister@fw.home.invalid bittwister@fw.home.invalid

virtual snippet

bittwsiter bittwister@fw.home.invalid
root bittwister@fw.home.invalid

aliases change

# Person who should get root's mail. This alias
# must exist.
# CHANGE THIS LINE to an account of a HUMAN
root: bittwister@fw.home.invalid

Database files were generated with
postalias aliases
postmap canonical_sender
postmap canonical_recipient
postmap virtual