View previous topic :: View next topic |
Author |
Message |
Namor n00b
Joined: 14 Jun 2002 Posts: 43 Location: Madison, WI US
|
Posted: Thu Sep 12, 2002 9:11 pm Post subject: Problems with sending mail using postfix - domains |
|
|
I have recently set up my work laptop with Gentoo. I am using Mutt to send mail via Postfix.
I have set my hostname to computer.domain.net
When I try to send email to coworkers with the same domain as my machine it fails because it is looking for the accounts locally. For example, I send to coworker1@domain.net, it fails because the user is not found.
How can I tell postfix to not look locally? Just send all mail out to the internet? |
|
Back to top |
|
|
Plaz Tux's lil' helper
Joined: 15 Sep 2002 Posts: 101 Location: Portland, OR
|
Posted: Mon Sep 16, 2002 7:04 am Post subject: |
|
|
What does your 'mydestination' setting say in /etc/postfix/main.cf? It sounds like you want something like:
Code: | mydestination = $myhostname, localhost.$mydomain |
|
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Mon Sep 16, 2002 1:21 pm Post subject: |
|
|
Can you post the output of 'postconf -n'? |
|
Back to top |
|
|
Namor n00b
Joined: 14 Jun 2002 Posts: 43 Location: Madison, WI US
|
Posted: Mon Sep 16, 2002 9:40 pm Post subject: |
|
|
Code: | mydestination = $myhostname, localhost.$mydomain |
seems to have done the trick.
Just to see if rizzo has more inout here is the output of 'postconf -n' too.
Code: | alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
local_destination_concurrency_limit = 2
mail_owner = postfix
mailbox_command = /some/where/procmail
mydestination = $myhostname, localhost.$mydomain
mydomain = hbs.net
myhostname = nightcrawler.sterlinganderson.net
myorigin = hbs.net
queue_directory = /var/spool/postfix
relayhost = mail.hbs.net |
|
|
Back to top |
|
|
|