|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Niclas Söderlund (maillists_at_soderlund.org)
Date: Thu Jan 02 2003 - 07:30:42 CST
Hi all,
I've obviously missed something reading the readme's and the RELEASE_NOTES,
thus this mail.
I wanted to start take advantage of the feature of transport for mapping
virtual domain e-mailaddresses to local aliases. In this case Im thinking
about setting up majordomo and it needs this to be able to use pipe's etc.
What I have working at the moment is a few virtual domains (set in
virtual_mailbox_domains) and no local domain. I map the users in
virtual_mailbox_maps so I dont haveto bother with local systemusers at all,
but have everything delivered via virtual to maildirs. All the aliases I
need for these users Ive put in virtual_alias_maps but since that map
doesnt support pipe's etc I need the transport map to do it for me. The
problem I experience with the setup below is that it tells me the aliases
(i thought would work thru transport) is "User unknown in virtual mailbox
table".
"
Jan 2 14:12:18 pickles postfix/smtpd[19745]: ABD3F31E7D: reject: RCPT from
ns.techtradeinter.se[195.43.201.178]: 550 <blork
soderlund.org>: User
unknown in virtual mailbox table; from=<ns
techtradeinter.se> proto=ESMTP
helo=<hottentott.techtradeinter.se>
"
This is my configuration (the relevant parts i hope at least):
main.cf:
"
myhostname = pickles.soderlund.org
mydomain = soderlund.org
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain
local_recipient_maps =
relay_domains =
mynetworks = /etc/postfix/databases/networks
virtual_mailbox_domains = hash:/etc/postfix/databases/virtual_domains
virtual_mailbox_maps = hash:/etc/postfix/databases/virtual_mailboxes
virtual_mailbox_base = /data/Maildirs
virtual_alias_maps = hash:/etc/postfix/databases/virtual_aliases
virtual_uid_maps = static:100
virtual_gid_maps = static:1002
transport_maps = hash:/etc/postfix/databases/transport
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
"
transport:
"
#Transport for virtual domain addresses to local aliases
#
blork
soderlund.org local:sms
"
/etc/aliases:
"
#
# Local aliases
#
sms: <a telephonenumber>
sms.tele2.se
"
..where <> is of course a number to a telephone :-)
Now..I was wondering if I haveto have soderlund.org which now is completely
virtual, defined as local and use maildrop as a local transport instead
somehow. And thus also define it in mydestination which is not allowed of
course when defining it in virtual_mailbox_domains.
Any takes?
Regards,
Niclas
|_|_|_|_| Niclas Söderlund
|_|_|_|_| All work and no play makes Jack a dull boy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]