________________________________
From: Jim Balo <[EMAIL PROTECTED]>
To: mouss <[EMAIL PROTECTED]>
Cc: "postfix-users@postfix.org" <postfix-users@postfix.org>
Sent: Monday, November 3, 2008 3:37:41 AM
Subject: Re: Alternate SMTP port number in alias file

> Sahil said "pay close attention to the transport map
> syntax".
> 
> [EMAIL PROTECTED]    smtp:[other.example.net]:2525

Sorry - I did not read it properly.  I tried again using what I believe is the 
proper syntax, but the redirect is still not taking effect.  I have posted 
details after signature.

Thanks,
JB

---- /etc/postfix/transport
[EMAIL PROTECTED]      smtp:othersmtpserver.com:2525
Note: I also tried with brackets:
[EMAIL PROTECTED]      smtp:[othersmtpserver.com]:2525

---- postmap -q "[EMAIL PROTECTED]" /etc/postfix/transport
smtp:[othersmtpserver.com]:2525

---- maillog entries:
Nov  2 18:54:14 server01 postfix/local[804]: B1A4FC7CA1: to=<[EMAIL 
PROTECTED]>, relay=local, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, 
status=sent (delivered to maildir)
Nov  2 18:54:14 server01 amavis[706]: (00706-01) Passed CLEAN, [xx.xx.xx.xx] 
[xx.xx.xx.xx] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: <[EMAIL 
PROTECTED]>, mail_id: OUOPLWQArfz8, Hits: -0.774, size:3173, queued_as: 
B1A4FC7CA1, 13340 ms
Nov  2 18:54:14 server01 postfix/lmtp[786]: 32099C7C95: to=<[EMAIL PROTECTED]>, 
relay=127.0.0.1[127.0.0.1]:10024, delay=14, delays=0.36/0.01/0.02/13, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B1A4FC7CA1)

---- postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavisfeed:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 100
delay_warning_time = 1h
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
local_destination_concurrency_limit = 100
local_destination_recipient_limit = 5
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 18000000
mydestination = $mydomain, $myhostname, localhost, localhost.$mydomain
mynetworks = xx.xx.xx.xx/xx, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
proxy_interfaces = xx.xx.xx.xx
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = reject_unauth_pipelining, permit_mynetworks,  
reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.njabl.org
smtpd_helo_restrictions = reject_unauth_pipelining, reject_invalid_hostname
smtpd_recipient_limit = 5000
smtpd_recipient_restrictions = permit_mynetworks,  permit_sasl_authenticated, 
reject_unlisted_recipient, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unknown_recipient_domain, 
reject_non_fqdn_recipient
unknown_local_recipient_reject_code = 550



Could you please keep your log entries and your postconf -a clean and without 
any edits.  The edits only make it harder to diagnose your issues.

Thanks,

Daniel Reinhardt
Website: www.cryptodan.com
Email: [EMAIL PROTECTED]
Junior Network Security Engineer


      

Reply via email to