|
From: hobbzilla on 5 Mar 2007 14:26 GIVEN: postfix-2.1.5-4.2.RHEL4 No other MTA on the server. mail is handled for "domain.com" at an offsite 3rd party host. myhostname is not set and therefore gets it's value from gethostname(). hostname: myserver.domain.com main.cf ========================= queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix mydomain = domain.com myorigin = $mydomain inet_interfaces = localhost mydestination = $myhostname, localhost unknown_local_recipient_reject_code = 550 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop html_directory = no manpage_directory = /usr/share/man sample_directory = /usr/share/doc/postfix-2.1.5/samples readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES ========================= Currently: If I perform a `mail -sTesting root < /dev/null` I receive the e-mail fine via our 3rd party mail provider due to the fact there is a distribution group with an SMTP alias of "root" setup. However if I perform a `mail -sTesting postfix < /dev/null`, I do not receive an e- mail to root as expected (there is an /etc/aliases entry: postfix: root ), but rather my 3rd party mail provider bounces back a "550 5.1.1 User unknown" error for the 3rd party host (not a 550 from myserver.domain.com). I have performed "newaliases" and "postalias" and "/etc/init.d/postfix reload/restart/stop/start" all to no avail. I have also tried adding an alias of postfix: someuser(a)yahoo.com and performing "newaliases" and "postfix reload" it still comes back undeliverable from the 3rd party mail host. It is like the aliases are not being read at all and any mail sent to <username> ends up trying to go to username(a)domain.com (hosted at the 3rd party). How can I not bypass the aliases for this situation? Do I need to use something besides aliases? I'm at a loss. Thanks in advance!
|
Pages: 1 Prev: Releasing of mails by an administrator Next: Please help IPR policy implementation |