Dear Mr. Ruhul
1. Edite mydestination with yourdomain name
2. either give relay host or disable it using #
3. make sure u r sending from ur declared IP block.
/touhid
1. Edite mydestination with yourdomain name
2. either give relay host or disable it using #
3. make sure u r sending from ur declared IP block.
/touhid
From: Md. Ruhul Amin <tuhin_cse99@...>
To: linuxwarrior@yahoogroups.com
Sent: Wednesday, March 4, 2009 11:21:34 AM
Subject: [linuxwarrior] Relay access denied in postfix
| Hi guys, I have installed postfix and dovecot in my centos5.X system. I can send mail to the user in my group but can not send mail to any other domain When I want to send mail error occured,..Relay access denied What should I do to avoid SMTP Authentication? I just follow http://wiki. centos.org/ HowTos/postfix here is my $>postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases 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 mydomain = kosoko.com myhostname = smtp.mydomain. com mynetworks = 111.9.0.0/24, 222.91.0.0/24, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases .postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/ postfix-2. 3.3/README_ FILES relay_domains = sample_directory = /usr/share/doc/ postfix-2. 3.3/samples sendmail_path = /usr/sbin/sendmail. postfix setgid_group = postdrop smtpd_sender_ restrictions = permit_mynetworks, reject_non_fqdn_ sender, reject_unknown_ sender_domain, permit unknown_local_ recipient_ reject_code = 450 Here is my master.cf record for smtp: # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ============ ========= ========= ========= ========= ========= ========= ======== smtp inet n - n - - smtpd Please help me. Amin |