OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Some e-mail addresses hosted on another fysical server?

From: Morten Trab (mortentrab.dk)
Date: Mon Mar 01 2004 - 10:20:45 CST


----- Original Message -----
From: "Keith Matthews" <postfixfrequentous.co.uk>
To: <postfix-userspostfix.org>
Sent: Monday, March 01, 2004 3:59 PM
Subject: Re: Some e-mail addresses hosted on another fysical server?

> Ok. Did you remember to do the appropriate postmap on the transport
> maps, also did you remember to do 'postfix reload' ?

Yes to both...

> If you did both of those then give us the output of 'postconf -n', the
> relevant part of the logs and the contents of the transport maps file.

Here it comes:

[rootsvr-1 root]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = $alias_database
allow_mail_to_files = alias,forward
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_dns_lookups = no
header_checks = regexp:/etc/postfix/header_checks
mail_owner = postfix
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maps_rbl_domains = rbl.maps.vix.com
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = list.homedir.dk, trab.dk, smilly.dk, homedir.dk, tjat.dk,
oldtim
erklubben.dk, blackchart.dk, mysql:/etc/postfix/mysql-mydestination.cf
mydomain = homedir.dk
myhostname = homedir.dk
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = -
relayhost = smtp.mail.dk
sample_directory = /etc/postfix
sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP mailserver. How may I serve you?
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname,
reject_unk
nown_hostname, reject_non_fqdn_hostname
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks,
che
ck_recipient_access hash:/etc/postfix/filtered_domains,
reject_unauth_destinatio
n
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = homedir.dk
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, check_sender_access
mysql:/etc/po
stfix/mysql-spamblock.cf, check_sender_access
hash:/etc/postfix/access_filter, c
heck_sender_access hash:/etc/postfix/outgoing_domains,
reject_unauth_pipelining,
 reject_unknown_sender_domain, reject_non_fqdn_sender
transport_maps = hash:/etc/postfix/passon
transport_retry_time = 1h
unknown_local_recipient_reject_code = 550

[rootsvr-1 root]# cat /etc/postfix/passon
testtrab.dk smtp:mail.vj2450.dk

From log:
Mar 1 17:16:29 svr-1 postfix/qmgr[4969]: 66433D48D: from=<mortentrab.dk>,
size=1521, nrcpt=1 (queue active)
Mar 1 17:16:29 svr-1 postfix/pipe[7140]: 66433D48D:
to=<test.trab.dkhomedir.dk>, orig_to=<testtrab.dk>, relay=cyrus, delay=0,
status=bounced (data format error. Command output: test.trab.dk: Mailbox
does not exist )

Mvh,/Best regards,
Morten Trab
Web: http://www.blackchart.dk