1

Topic: postfix / handling user@server.domain as alias?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: debian 8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? -
- Related log if you're reporting an issue: -
====

hi folks,

here's probably an easy beginner's question.

i have set up an iredmail server on a local network with the domain mycompany.com. so, it's not a problem to receive mails for user@mycompany.com

some programs on my servers, though, send mails to user@SERVERNAME.mycompany.com.

how can i configure postfix to take those mails, ignore the SERVERNAME and forward/deliver it to the user?

example:
hugo@fileserver.mycompany.com should be delivered to hugo@mycompany.com.

i know, there are aliases for users but i don't want to do aliases for every administrator in combination with every possible server name.

thanks in advance.

cheers
-narf

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: postfix / handling user@server.domain as alias?

Solution #1: Make the programs send to correct email address.
Solution #2: You may need this tutorial:
http://www.postfix.org/ADDRESS_REWRITIN … ml#generic

3

Re: postfix / handling user@server.domain as alias?

thank you very much for your answer. that should help smile