Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with sending mail using postfix - domains
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Namor
n00b
n00b


Joined: 14 Jun 2002
Posts: 43
Location: Madison, WI US

PostPosted: Thu Sep 12, 2002 9:11 pm    Post subject: Problems with sending mail using postfix - domains Reply with quote

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
View user's profile Send private message
Plaz
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2002
Posts: 101
Location: Portland, OR

PostPosted: Mon Sep 16, 2002 7:04 am    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Sep 16, 2002 1:21 pm    Post subject: Reply with quote

Can you post the output of 'postconf -n'?
Back to top
View user's profile Send private message
Namor
n00b
n00b


Joined: 14 Jun 2002
Posts: 43
Location: Madison, WI US

PostPosted: Mon Sep 16, 2002 9:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum