1

Topic: Alias problem!

Dear all, how can i do alias ?  i cant run

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
newaliases_path = /usr/bin/newaliases.postfix
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps
virtual_alias_maps = hash:/etc/postfix/aliases, proxy:ldap:/etc/postfix/ldap/virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap/catch_all_maps.cf

----

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

2

Re: Alias problem!

You can either add your alias in /etc/postfix/aliases, or add them in LDAP.
Reference: http://www.postfix.org/aliases.5.html

If you have iRedAdmin-Pro installed, you can easily manage them.

3

Re: Alias problem!

ZhangHuangbin wrote:

You can either add your alias in /etc/postfix/aliases, or add them in LDAP.
Reference: http://www.postfix.org/aliases.5.html

If you have iRedAdmin-Pro installed, you can easily manage them.

dear ZhangHuangbin, dont run, i have configured. I used old servers.

4

Re: Alias problem!

- Please show us what you did
- Did you run 'postalias /etc/postfix/aliases'?
- Did you try add them in LDAP?

5 (edited by murat.ugur 2011-02-28 18:45:24)

Re: Alias problem!

ZhangHuangbin wrote:

- Please show us what you did
- Did you run 'postalias /etc/postfix/aliases'?
- Did you try add them in LDAP?

for example, my mail address: asd@asd.com

alias file,

asd:asd@asd.com, bsd@asd.com

i want to send mail asd@asd.com, send bsd@asd.com and asd@asd.com

yes, i do postalias /etc/postfix/alias

how can i add ldap ?
thanks.

6

Re: Alias problem!

murat.ugur wrote:

for example, my mail address: asd@asd.com
alias file,
asd:asd@asd.com, bsd@asd.com

i want to send mail asd@asd.com, send bsd@asd.com and asd@asd.com

yes, i do postalias /etc/postfix/alias

how can i add ldap ?

What's your server hostname? If you set "asd: asd@asd.com, bsd@asd.com" in /etc/postfix/aliases, it will be alias "asd@[YOUR_HOSTNAME]", and it mails to "asd@asd.com" and "bsd@asd.com".

Also, if you define "asd@asd.com" as alias, you can't forward mails to "asd@asd.com" itself.