Postfix wrong domain appending problem to @

Discussion in 'Server Operation' started by cakar, Aug 14, 2009.

  1. cakar

    cakar New Member

    Here is my

    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    config_directory = /etc/postfix
    inet_interfaces = all
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    mydestination = $myhostname, $mydomain, localhost.localdomain, localhost
    mydomain =
    myhostname =
    mynetworks =
    myorigin = /etc/mailname
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_path = private/auth
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_type = dovecot
    smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtpd_use_tls = yes
    virtual_alias_domains = /etc/postfix/virtual/vhosts
    virtual_alias_maps = hash:/etc/postfix/virtual/valias



    /etc/postfix/virtual/valias: DOMAIN

    [email protected] name

    i do the postmap /etc/postfix/virtual/valias when if i change smth in there
    and i restart postfix anytime i change smth in

    but still mail from has [email protected][COLOR="Red"][/COLOR] on the sender part when i recieve the mail i sent to my gmail acoount.

    Can ayn1 tell what's wrong?
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you set the correct sender address in your email client?
  3. cakar

    cakar New Member

    No, i did it and it has the required domain name at the sender part thanks a lot!!!!!! : )
    But when i send it from the web interface, domainname.tld/squirrelmail it still has the primary domain appended.

    Do you think it might be related to the mail server i'm using? I don't know if I must set up a new mail server for that or if i can just use the older one (mail.1st_domain.tld) as the mail server.
    thnx again.
  4. falko

    falko Super Moderator ISPConfig Developer

    You must also set the correct sender address in your webmail program.
  5. cakar

    cakar New Member

    ok i did that too, and that was quite stupid for me not to be able to do it my ownself.

    Thnx a lot.

Share This Page