On Mon, Jul 13, 2009 at 5:52 PM, senty_dil <[email protected]> wrote:
> > > hello everybody. > i have configured a postfix mailing server on rhel 5. i am not able to send > mail to my domain using [email protected] <user%40domain.com>, whereas when > i use [email protected]. <user%40mail.domain.com.>. it goes.. > the mails sended are shown as u...@localhost and recieved from > [email protected] <user%40localhost.domain.com> > > earlier also i have configured postfix in my previous organization. and > everthing works. but this time i dont have a clue.. i have tried everything > from scratch also.. > > this is how my main.cf looks like > > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > broken_sasl_auth_clients = yes > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 2 > home_mailbox = Maildir/ > html_directory = no > inet_interfaces = all > mail_owner = postfix > mailq_path = /usr/bin/mailq.postfix > manpage_directory = /usr/share/man > mydestination = $myhostname, localhost.$mydomain, localhost > mydomain = domain.com > myhostname = mail.domain.com > myorigin = $mydomain > newaliases_path = /usr/bin/newaliases.postfix > queue_directory = /var/spool/postfix > readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES > sample_directory = /usr/share/doc/postfix-2.3.3/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > smtpd_recipient_restrictions = > permit_sasl_authenticated,permit_mynetworks,rejec t_unauth_destination > smtpd_sasl_auth_enable = yes > smtpd_sasl_local_domain = > smtpd_sasl_path = private/auth-client > smtpd_sasl_security_options = noanonymous > smtpd_sasl_type = dovecot > smtpd_tls_CAfile = /etc/postfix/certs/cacert.pem > smtpd_tls_cert_file = /etc/postfix/certs/smtpd.crt > smtpd_tls_key_file = /etc/postfix/certs/smtpd.key > smtpd_tls_loglevel = 1 > smtpd_tls_received_header = yes > smtpd_tls_session_cache_timeout = 3600s > tls_random_source = dev:/dev/urandom > unknown_local_recipient_reject_code = 550 > > kindly guide where i am wrong > > > Hi, Try to add $mydomain in mydestination. -- Have a nice time, Gourav Joshi Visit me at :- http://www.gouravjoshi.co.in [Non-text portions of this message have been removed]
