Hi,

 

postfix-2.2.10-1.2.1.el4_7

Red Hat Enterprise Linux AS release 4 (Nahant Update 5)

2.6.9-42.ELsmp

 

postconf -n

alias_database = hash:/etc/aliases

alias_maps = hash:/etc/aliases

command_directory = /usr/sbin

config_directory = /etc/postfix

daemon_directory = /usr/libexec/postfix

debug_peer_level = 2

html_directory = no

inet_interfaces = localhost

mail_owner = postfix

mailq_path = /usr/bin/mailq.postfix

manpage_directory = /usr/share/man

mydestination = $myhostname, localhost.$mydomain, localhost

newaliases_path = /usr/bin/newaliases.postfix

queue_directory = /var/spool/postfix

readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES

relayhost = [a.b.c.d]

sample_directory = /usr/share/doc/postfix-2.2.10/samples

sendmail_path = /usr/sbin/sendmail.postfix

setgid_group = postdrop

smtp_generic_maps = hash:/etc/postfix/generic

unknown_local_recipient_reject_code = 550

 

I have setup smtp_generic_maps on the postfix server, it simply relays
through a.b.c.d however this relay will only accept mail from a specific
domain (call it xyz.com). Here is my smtp_generic_maps

 

r...@host.domain  root-dom...@xyz.com

 

However I am still not receiving emails. 

 

I have set this up the same on a different system and it works as
expected. I can see that on the successful system postfix relays via
127.0.0.1 first from maillog, but on the unsuccessful system postfix
relays directly via the relayhost. This makes me think it's possible
that because the failing system is relaying directly via the relayhost
(well at least theres not mention of localhost in maillog) that the
address masquerading is not taking place.

 

I do not have access to the next relay server to check the logs
unfortunately.

 

Can anyone see anything particularly dumb that I'm doing here please ?

 

Thanks

Nick.

 

 

 

Reply via email to