Aside from changing your local user name to match your ISP account name there is a simple fix for this which works quite well. Here's what to do:
A canonical mapping should be all that is needed but you have to edit main.cf so that Postfix actually looks at the table by adding this line to /etc/postfix/main.cf:
canonical_maps = hash:/etc/postfix/canonical |
Add something like the following to /etc/postfix/canonical:
username@hostname user@ISP |
Be sure to run postmap /etc/postfix/canonical after each change. Then run postfix reload.
What the canonical map does is rewrite the address, in any message it processes, when it sees a match. In our example from above if the map saw the address on the left it would rewrite it to the one on the right.
| Prev | Home | Next |
| 4.2 I have recently installed Postfix at my ISP and when I start it up it will only run for an hour or so. I think we have too many users on it, (or something) because it spirals steadily down, ending up with no swap and no memory left. Is there a way that we could set a limit on the number of connections, or processes that Postfix can start? | Up | 4.4 I'm running a series of restrictions to stop spam and I'm wondering how inbound mail is passed through these checks? |