Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please help to figure out what i did wrong in postfix config. When i try to send test email from gmail i get this error in /var/syslog

Oct 24 16:20:57 DBHOST postfix/smtpd[31511]: connect from[]
Oct 24 16:20:58 DBHOST postfix/smtpd[31511]: NOQUEUE: reject: RCPT from[]: 554 5.7.1 <>: Relay access denied; from=<> to=<> proto=ESMTP helo=<>
Oct 24 16:20:58 DBHOST postfix/smtpd[31511]: disconnect from[]

**@ postconf -n**
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    bounce_queue_lifetime = 2h
    config_directory = /etc/postfix
    *inet_interfaces = IP:1 IP:2 localhost*
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    milter_default_action = accept
    milter_protocol = 2
    mydestination = $mydomain, localhost, localhost.localdomain
    myhostname =
    mynetworks = [::ffff:]/104 [::1]/128
    myorigin = /etc/mailname
    non_smtpd_milters = inet:localhost:8891
    readme_directory = no
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP
    smtpd_helo_required = yes
    smtpd_milters = inet:localhost:8891
    smtpd_recipient_restrictions = reject_non_fqdn_recipient        reject_non_fqdn_sender  reject_unknown_sender_domain    reject_unknown_recipient_domain permit_mynetworks       reject_unauth_destination  check_recipient_access hash:/etc/postfix/roleaccount_exceptions  reject_non_fqdn_hostname        reject_invalid_hostname check_sender_mx_access cidr:/etc/postfix/bogus_mx       permit
    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:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    transport_maps = hash:/etc/postfix/transport
    virtual_alias_maps = hash:/etc/postfix/virtual_aliases

**cat/etc/postfix/transport**   bouncepipe   bouncepipe   bouncepipe

**cat /etc/postfix/virtual_aliases**
share|improve this question

closed as not a real question by Scott Pack, HopelessN00b, rnxrx, Magellan, Tom O'Connor Oct 25 '12 at 8:45

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted


Can you post output of domainname command on that server?

share|improve this answer
thanks for reply. the output of domainname was (none).i set mydomain variable in main.conf now i get another type of errors, but it`s okay hope will figure out whats wrong Oct 24 17:01:46 DBHOST postfix/pipe[1049]: fatal: user= command-line attribute specifies root privileges Oct 24 17:01:47 DBHOST postfix/qmgr[1028]: warning: private/bouncepipe socket: malformed response :) – Greg Oct 24 '12 at 14:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.