Hi Wietse,
    I came  back to work and did a lot of testing but adding $mydomain to
the mydestination definition made no difference with the .forward file only having
a username  causing a mail loop.  Error in maillog appears to indicate

Are there any other suggestions?
Again setup is;
/etc/aliases files being used
/etc/postfix/local-host-names sendmail type file for what machines server should keep mail for transport file to tell postfix what machines that each server should get mail for (like sendmail mailertable)
virtusertable to tell postfix who to send root mail to

Entries from my  main.cf in order;

myhostname = mano.soest.hawaii.edu
mydomain = soest.hawaii.edu
myorigin = $mydomain
inet_interfaces = all
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, /etc/postfix/local-host-names
mynetworks = (our subdomains)
relay_domains = $mydestination, $mydomain
recipient_delimiter = +
relayhost = [128.171.156.5]
alias_maps = hash:/etc/aliases, nis:mail.aliases
alias_database = hash:/etc/aliases
transport_maps = hash:/etc/postfix/transport
virtual_maps = hash:/etc/postfix/virtusertable
masquerade_domains = $mydomain
masquerade_exceptions = root
delay_warning_time = 4
mailbox_size_limit = 0
message_size_limit = 26214400
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_local_domain = $mydomain
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination


Aloha, Sharon

On 05/27/2015 07:56 AM, Sharon Stahl wrote:
Thanks Wietse.  Sorry for being obtuse.  I am home sick today so
I will check that out tomorrow by adding $mydomain at end of mydestination and doing some testing.

Aloha, Sharon

On 5/27/2015 7:45 AM, Wietse Venema wrote:
Sharon Stahl:
 From what you wrote, the username only is getting converted to
usern...@domain.com

1) domain.com is NOT LISTED in mydestination.

2) Therefore the local delivery agent does NOT DELIVER mail (and
    therefore DOES NOT search the aliases file) for usern...@domain.com.

    Wietse


Reply via email to