LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using postfix able to send out emails to yahoo accounts but not our own company email (https://www.linuxquestions.org/questions/linux-newbie-8/using-postfix-able-to-send-out-emails-to-yahoo-accounts-but-not-our-own-company-email-682742/)

jshi99 11-11-2008 07:50 PM

using postfix able to send out emails to yahoo accounts but not our own company email
 
Hi All,

I'm totally new to SUSE Linux. Using SUSE Enterprise Server 9. Postfix version is 2.1.1

Here's the problem. I'm able to sent emails to yahoo, gmail, and hotmail accounts but unable to sent emails to my own company email address. Please help...

For example: If I sent an email to my self at tim@abcdefg.com

in mail log it shows:

Nov 11 18:11:08 suse postfix/cleanup[16823]: CEE0C105340: message-id=<491A3B3C.mailCZ81FIAWJ@suse.abcdefg.com>
Nov 11 18:11:08 suse postfix/qmgr[16819]: CEE0C105340: from=<root@abcdefg.com>, size=446, nrcpt=1 (queue active)
Nov 11 18:11:19 suse postfix/pickup[16818]: E72F6105349: uid=0 from=<root>
Nov 11 18:11:19 suse postfix/cleanup[16823]: E72F6105349: message-id=<491A3B47.mailCZG12STVB@suse.abcdefg.com>
Nov 11 18:11:19 suse postfix/qmgr[16819]: E72F6105349: from=<root@abcdefg.com>, size=454, nrcpt=1 (queue active)
Nov 11 18:11:19 suse postfix/local[16831]: E72F6105349: to=<tim@abcdefg.com>, relay=local, delay=0, status=bounced (unknown user: "tim")




here's my postfix -n:

====================
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = 127.0.0.1 ::1
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, /etc/postfix/mydestination
myhostname = suse.abcdefg.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
=========

acid_kewpie 11-12-2008 02:32 AM

well that's because you are saying that YOU are your companies mail server. the mail is already where it's meant to go according to your configs, and there's no local user to match it up with. Can you explain more about your architecture here? Is this a satellite site? How does it relate to your genuine main email server.

jshi99 11-12-2008 11:54 AM

Hi acid_kewpie, let me clearfy a little. I'm not our company's mail server. The purpose of setting up this machine is to run some regression tests and once the tests are done then it'll sent an email as notification.

Our company uses Kerio mail server. Everything located in the same facility. This SUSE Linux is on a VM running off one of the lab machines. Do I need to setup the realyhost? please let me know. Thanks.


All times are GMT -5. The time now is 08:24 AM.