Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix + exchange
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
R2-D2
n00b
n00b


Joined: 05 May 2003
Posts: 28
Location: Wesel, Germany

PostPosted: Thu Mar 16, 2006 8:39 pm    Post subject: postfix + exchange Reply with quote

Hi, i'm trying to set up postfix in front of an exchange server as relay.
Postfix itself works fine with courier, i can send, get everything. When the exchange comes in I can Send but not receive. The error is:

Quote:
Mar 16 21:36:31 c3po postfix/smtpd[10611]: dict_proxy_lookup: table=unix:passwd.byname flags=0100 key=@plvoy.ath.cx -> status=1 result=
Mar 16 21:36:31 c3po postfix/smtpd[10611]: maps_find: local_recipient_maps: @plvoy.ath.cx: not found
Mar 16 21:36:31 c3po postfix/smtpd[10611]: mail_addr_find: t.margitan@plvoy.ath.cx -> (not found)
Mar 16 21:36:31 c3po postfix/smtpd[10611]: NOQUEUE: reject: RCPT from mail.gmx.de[213.165.64.20]: 550 <t.margitan@plvoy.ath.cx>: Recipient address rejected: User unknown in local recipient table; from=<t.margitan@gmx.de> to=<t.margitan@plvoy.ath.cx> proto=SMTP helo=<mail.gmx.net>
Mar 16 21:36:31 c3po postfix/smtpd[10611]: > mail.gmx.de[213.165.64.20]: 550 <t.margitan@plvoy.ath.cx>: Recipient address rejected: User unknown in local recipient table
Mar 16 21:36:31 c3po postfix/smtpd[10611]: < mail.gmx.de[213.165.64.20]: QUIT
Mar 16 21:36:31 c3po postfix/smtpd[10611]: > mail.gmx.de[213.165.64.20]: 221 Bye


The Postfix confs are:

Quote:
c3po ~ # postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
home_mailbox = .maildir/
html_directory = /usr/share/doc/postfix-2.2.9/html
local_destination_concurrency_limit = 2
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = plvoy.ath.cx, localhost
mydomain = ath.cx
myhostname = plvoy.ath.cx
mynetworks = 192.168.1.0/24, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/postfix-2.2.9/readme
relay_domains = hash:/etc/postfix/transport
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550


and

Quote:
c3po ~ # cat /etc/postfix/transport
plvoy.ath.cx relay:[192.168.1.12]


any ideas? or does anyone know a good postfix/exchange howto?

thanks Tobias
_________________
Gentoo SoHo Server
19" P4 3.0 GHz // 2GB Ram // still only a single 160GB OS Drive, // 4x 160GB RAID5 ATA with 3Ware Controller
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Fri Mar 17, 2006 4:06 am    Post subject: Reply with quote

mydestination can not overlap with transport maps. I did this to myself two weeks ago and got the same results. I'd let your server have a unique hostname for local accounts like host.plvoy.ath.cx and then enter plvoy.ath.cx in your transport table.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Fri Mar 17, 2006 7:29 am    Post subject: Reply with quote

mydestination =

should do the job.

You could then consider making your Postfix relay a bit smarter. Set up a list of the Exchange server recipients so Postfix won't just accept mail that Exchange does not handle. You can turn also off local delivery if not needed.
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