13 msgHOLD queue GUI
4 msgSpam being sent from our mail server
3 msgcatch-all mail address
4 msgsending mail is working but only local.
8 msg2 postfix boxes as frontservers for MS Exchange...
3 msgdelayed delivery
2 msglibspf2 and policyd
3 msgBypassing content_filter for trusted networks
8 msgChanging UUCP-Sytsle-Adresses to Domain-Style-A...
9 msgList of main.cf options
6 msg'too many errors after RSET' with Outlook
2 msgVirtual Users w/ LDAP and Authentication
3 msgMultiple content filters?
2 msgI don't know what to make of this
3 msgPostfix and Dspam, point me in the right direct...
14 msgPostfix in base FreeBSD system
4 msgWeird 'Connection timed out while sending messa...

rewriting and redirecting incoming address
\ Juan Miscaro (24 Sep 2007)
. \ Noel Jones (24 Sep 2007)
. . \ Juan Miscaro (24 Sep 2007)
. . . \ Victor Duchovni (24 Sep 2007)

4 msgmaster.cf config question
7 msgLDAP smtpd_recipient_restrictions
Subject:Re: rewriting and redirecting incoming address
Group:Postfix-users
From:Victor Duchovni
Date:24 Sep 2007


 
On Mon, Sep 24, 2007 at 08:18:31AM -0400, Juan Miscaro wrote:

> > Yes, transport_maps is the right tool for this. Enclose an IP
> > address in brackets [...] to disable DNS lookups.
> > # transport for all mail addressed to example2.com
> > example2.com relay:[10.10.10.12]:2525
> > # or for a single user transport override:
> > user2 relay:[10.10.10.12]:2525
>
>
> I didn't know a transport map could specify a port.

The transport table specifies a transport and nexthop, the meaning of
the nexthop is transport specific. The smtp(8) delivery agent (used
with the "relay" transport) supports an optional ":port" extension
after the domain/gateway part of the nexthop:

http://www.postfix.org/smtp.8.html

SMTP DESTINATION SYNTAX
SMTP destinations have the following form:

domainname

domainname:port
Look up the mail exchangers for the specified
domain, and connect to the specified port (default:
smtp).

[hostname]

[hostname]:port
Look up the address(es) of the specified host, and
connect to the specified port (default: smtp).

[address]

[address]:port
Connect to the host at the specified address, and
connect to the specified port (default: smtp). An
IPv6 address must be formatted as [ipv6:address].

--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.


© 2004-2008 readlist.com