badru
10th June 2009, 12:31
hello frndz.i've a problem.i canot send any mail to gmail or yahoo from my postfix mail server.my isp 25 port is open.whenever i send mail to gmail it shows below error
Oct 6 15:28:46 homedomain sendmail[2607]: n969SiPf002607: to=XXX@gmail.com, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 0F9667FC19)
Oct 6 15:28:46 homedomain postfix/smtpd[2608]: disconnect from localhost.localdomain[127.0.0.1]
Oct 6 15:29:18 homedomain postfix/smtp[2612]: connect to gmail-smtp-in.l.google.com[72.14.247.27]: Connection timed out (port 25)
/QUOTE]
here i attached my postconf
[QUOTE][root@homedomain new]# 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
mailbox_command =
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, myhostname.$mydomain, localhost, $mydomain, $myhostname
mydomain = homedomain.com
myhostname = homeserver
mynetworks = 192.168.10.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.2.10/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination, permit_sasl_authenticated, reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
another problem is whenever i send to mail via mail -v xxx@gmail.com
it show >>> DATA
250 2.1.5 Ok
550 5.1.1 <.@homeserver.com>: Recipient address rejected: User unknown in local recipient table
354 End data with <CR><LF>.<CR><LF>
>>> .
plz help me
Oct 6 15:28:46 homedomain sendmail[2607]: n969SiPf002607: to=XXX@gmail.com, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 0F9667FC19)
Oct 6 15:28:46 homedomain postfix/smtpd[2608]: disconnect from localhost.localdomain[127.0.0.1]
Oct 6 15:29:18 homedomain postfix/smtp[2612]: connect to gmail-smtp-in.l.google.com[72.14.247.27]: Connection timed out (port 25)
/QUOTE]
here i attached my postconf
[QUOTE][root@homedomain new]# 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
mailbox_command =
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, myhostname.$mydomain, localhost, $mydomain, $myhostname
mydomain = homedomain.com
myhostname = homeserver
mynetworks = 192.168.10.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.2.10/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination, permit_sasl_authenticated, reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
another problem is whenever i send to mail via mail -v xxx@gmail.com
it show >>> DATA
250 2.1.5 Ok
550 5.1.1 <.@homeserver.com>: Recipient address rejected: User unknown in local recipient table
354 End data with <CR><LF>.<CR><LF>
>>> .
plz help me