|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Daniel Geyer (daniel.geyer
star-ag.ch)Date: Thu Nov 01 2001 - 10:10:23 CST
Hello
I've installed Postfix on my firewallhost to receive all mail for my
domain an send it to my mailhost.
As soon as I point the MX to the firewallserver, postfix reports (mail
for DOMAIN loops back to myself).
I've already try almost everything like using canonical hostnames and
not and so on, but no success.( a whole night ;-( )
Is there any special configuration for solaris2.6?
Is the version I usr too old?
Can somebody give me a clue?
# uname -a
SunOS ftpserv2 5.6 Generic sun4u sparc SUNW,Ultra-1
# dig $SERVER $DOMAIN mx
; <<>> DiG 2.0 <<>> star-test.de mx
;; ->>HEADER<<- opcode: QUERY , status: NOERROR, id: 6
;; flags: qr rd ra ; Ques: 1, Ans: 2, Auth: 3, Addit: 4
;; QUESTIONS:
;; star-test.de, type = MX, class = IN
;; ANSWERS:
star-test.de. 3592 MX 10 mail.de.uu.net.
star-test.de. 3592 MX 5 mailwall.star-test.de.
;; AUTHORITY RECORDS:
star-test.de. 86392 NS ftpserv2.star-test.de.
star-test.de. 86392 NS auth02.ns.de.uu.net.
star-test.de. 86392 NS auth52.ns.de.uu.net.
;; ADDITIONAL RECORDS:
mailwall.star-test.de. 3592 A 195.205.16.3
ftpserv2.star-test.de. 86392 A 195.205.16.3
auth02.ns.de.uu.net. 172792 A 192.76.144.15
auth52.ns.de.uu.net. 172792 A 194.128.171.101
# postconf mail_version
mail_version = Postfix-19991231-pl13
# postconf -n
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
local_destination_concurrency_limit = 2
local_transport = error:local mail delivery is disabled on this machine
mail_owner = postfix
mydestination = $mydomain
mydomain = star-test.de
myhostname = mailwall.star-test.de
mynetworks = 195.205.16.0/24
myorigin = $mydomain
queue_directory = /var/spool/postfix
transport_maps = dbm:/etc/postfix/transport
# more /etc/postfix/transport
star-test.de smtp:[mailhost.star-test.de]
.star-test.de smtp:[mailhost.star-test.de]
# more /etc/postfix/master.cf
...
#
==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
#
==========================================================================
smtp inet n - n - - smtpd
pickup fifo n n n 60 1 pickup
cleanup unix - - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
smtp unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
#local unix - n n - - local
cyrus unix - n n - - pipe
...
(if MX points to myhostname mailwall.star-test.de, the mail )
# more /var/log/syslog
...
Nov 1 14:40:53 ftpserv2 postfix/smtpd[13029]: connect from
ftpserv1.star-ag.ch[194.209.169.3]
Nov 1 14:40:53 ftpserv2 postfix/smtpd[13029]: E46AF188B0:
client=ftpserv1.star-ag.ch[194.209.169.3]
Nov 1 14:40:54 ftpserv2 postfix/cleanup[13030]: E46AF188B0:
message-id=<3BE15578.831F7F3C
star-ag.ch>
Nov 1 14:40:54 ftpserv2 postfix/qmgr[13028]: E46AF188B0:
from=<daniel.geyer
star-ag.ch>, size=889 (queue active)
Nov 1 14:40:54 ftpserv2 postfix/smtp[13032]: E46AF188B0:
to=<bernd.gloeckle
star-gmbh.de>, relay=none, delay=1, status=bounced
(mail for star-gmbh.de loops back to myself)
...
(if MX points to another host and a mail comes in because of not jet
updated NS records, all works fine)
# more /var/log/syslog
...
Nov 1 15:01:20 ftpserv2 postfix/smtpd[13078]: connect from
siaag1ae.compuserve.com[149.174.40.7]
Nov 1 15:01:20 ftpserv2 postfix/smtpd[13078]: E46CF188B0:
client=siaag1ae.compuserve.com[149.174.40.7]
Nov 1 15:01:22 ftpserv2 postfix/cleanup[13079]: E46CF188B0:
message-id=<200111010915_MC3-E56C-6137
compuserve.com>
Nov 1 15:01:22 ftpserv2 postfix/qmgr[13028]: E46CF188B0:
from=<GordonWalker2
compuserve.com>, size=1310 (queue active)
Nov 1 15:01:22 ftpserv2 postfix/smtpd[13078]: disconnect from
siaag1ae.compuserve.com[149.174.40.7]
Nov 1 15:01:52 ftpserv2 postfix/smtp[13081]: E46CF188B0:
to=<bernd.gloeckle
star-test.de>,
relay=mailgate.star-test.de[194.161.121.5], delay=32, status=sent (250
PAA23001 Message accepted for delivery)
...
TIA
Regards.
_________________________________________________________________________
Daniel Geyer IT Manager
_________________________________________________________________________
_/_/_/ _/_/_/ _/ _/_/_/
STAR AG _/ _/ _/_/ _/ _/ Software
Wiesholz 35 _/_/_/ _/ _/_/_/ _/_/_/ Translation
CH-8262 Ramsen _/ _/ _/_/_/_/ _/ _/ Artwork
Switzerland _/_/_/ _/ _/_/_/_/_/ _/ _/ Recording
http://www.star-group.net PHONE ++41 52 742 92 00
mailto:daniel.geyer
star-group.net FAX ++41 52 742 92 92
_________________________________________________________________________
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]