|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: local_recipient_maps rejects for non-local virtual users ?
Subject: Re: local_recipient_maps rejects for non-local virtual users ?
From: Khetan Gajjar (khetan
freebsd.os.org.za)
Date: Sun Jan 02 2000 - 10:11:45 CST
- Next message: Wietse Venema: "Re: 19991231 and transport map"
- Previous message: Giulio Orsero: "Re: 19991231 and transport map"
- In reply to: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Next in thread: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Reply: Khetan Gajjar: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Reply: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Reply: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Around Today, "Wietse Venema" wrote :
>Please give a specific example.
Sure.
The virtual domain is os.org.za, the recipient is
damyanti
os.org.za, and the domain is "seperated" from other
domains by domainheader as the right hand side of the map:
137=[root
kg] /usr/local/etc/postfix# egrep '(os.org.za domainheader|damyanti)'
/etc/mail/virtusertable
+ egrep '(os.org.za domainheader|damyanti)' /etc/mail/virtusertable
os.org.za domainheader
damyanti
os.org.za damyanti
chain.freebsd.os.org.za
Ok, here is the example prior to local_recipient_maps :
121=[root
kg] /usr/local/etc/postfix# postconf | grep local_recipient_maps
+ postconf
+ grep local_recipient_maps
local_recipient_maps =
122=[root
kg] /usr/local/etc/postfix# telnet 0 25
+ telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 Postfix-19991231 ESMTP on kg.ops.uunet.co.za (CHAIN/RBL,!UCE)
helo kg.ops.uunet.co.za
250 kg.ops.uunet.co.za
mail from: khetan
uunet.co.za
r250 Ok
cpt to: damyanti
os.org.za
250 Ok
quit
221 Bye
Connection closed by foreign host.
This is with local_recipient_maps set to the suggested entry :
126=[root
kg] /usr/local/etc/postfix# postconf | grep local_recipient_maps
+ postconf
+ grep local_recipient_maps
local_recipient_maps = $alias_maps, unix:passwd.byname
127=[root
kg] /usr/local/etc/postfix# telnet 0 25
+ telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 Postfix-19991231 ESMTP on kg.ops.uunet.co.za (CHAIN/RBL,!UCE)
helo kg.ops.uunet.co.za
250 kg.ops.uunet.co.za
mail from: khetan
uunet.co.za
250 Ok
rcpt to: damyanti
os.org.za
550 <damyanti
os.org.za>: User unknown
quit
221 Bye
Connection closed by foreign host.
This is with $virtual_maps added :
131=[root
kg] /usr/local/etc/postfix# postconf | grep local_recipient_maps
+ postconf
+ grep local_recipient_maps
local_recipient_maps = $alias_maps, unix:passwd.byname, $virtual_maps
132=[root
kg] /usr/local/etc/postfix# telnet 0 25
+ telnet 0 25
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 Postfix-19991231 ESMTP on kg.ops.uunet.co.za (CHAIN/RBL,!UCE)
helo kg.ops.uunet.co.za
250 kg.ops.uunet.co.za
mail from: khetan
uunet.co.za
250 Ok
rcpt to: damyanti
os.org.za
250 Ok
quit
221 Bye
Connection closed by foreign host.
>Presumably, your virtual maps are listed in mydestination,
>and that is not how Postfix is supposed to be used.
It isn't; I've attached an edited output of postconf -n.
local_recipient_maps = $alias_maps, unix:passwd.byname, $virtual_maps
mydestination = $myhostname, localhost.$mydomain, /etc/mail/whoarewe
mynetworks = xxx.xxx.xxx.xxx/32
relay_domains = $mydestination, $mynetworks, hash:/etc/mail/relay
virtual_maps = hash:/etc/mail/virtusertable
In this case, /etc/mail/whoarewe lists several names the machine
is known as. The domain (os.org.za) is also included. From what
I understand, it should be.
Adding $virtual_maps to local_recipient_maps doesn't appear to
break anything, but I was just wondering why the problem exists.
Khetan Gajjar.
--- khetanuunet.co.za * khetan
os.org.za * PGP Key, contact UUNET South Africa * FreeBSD enthusiast * details and other http://www.uunet.co.za/ * http://www.freebsd.org/ * information at System Administration * http://link.os.org.za/ * kg+details
os.org.za
- Next message: Wietse Venema: "Re: 19991231 and transport map"
- Previous message: Giulio Orsero: "Re: 19991231 and transport map"
- In reply to: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Next in thread: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Reply: Khetan Gajjar: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Reply: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Reply: Wietse Venema: "Re: local_recipient_maps rejects for non-local virtual users ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Sun Jan 02 2000 - 10:13:47 CST