|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Andrew Koros (akoros
ke.uu.net)
Date: Mon Jan 14 2008 - 05:18:55 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I have a postfix-2.4.6 built with postgresql lookups and delivers to a cyrus
server.
Now, I have a problem with catchalls for virtual domains :
my main.cf has the followinfg entries:
virtual_mailbox_domains = proxy:pgsql:/etc/postfix/pgsql-mydestination.cf
virtual_mailbox_base = /var/mail
virtual_mailbox_maps = proxy:pgsql:/etc/postfix/pgsql-virtual.cf
virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql-aliases.cf,
proxy:pgsql:/etc/postfix/pgsql-virtual.cf,
proxy:pgsql:/etc/postfix/pgsql-catchall.cf
virtual_alias_domains=
transport_maps = proxy:pgsql:/etc/postfix/pgsql-transport-lmtp.cf
If I send mail to user1
virtualdomain1.com it delivers fine to cyrus
If I have a alias1
virtualdomain1.com it also delivers fine to say
user1
virtualdomain1.com
But if I send mail to some-other-user
catchall-domain.tld it fails with errors
like this:
Jan 14 13:43:47 my-server postfix/virtual[22590]: 3013017C0441:
to=<some-other-user
catchall-domain.tld>, relay=virtual, delay=0.27,
delays=0.21/0.02/0/0.05, dsn=5.1.1, status=bounced (unknown user:
"some-other-user
catchall-domain.tld")
postmap -q some-other-user
catchall-domain.tld pgsql:/etc/postfix/pgsql-catchall.cf
returns:
user1
virtualdomain1.com
postmap -q user1
virtualdomain1.com pgsql:/etc/postfix/pgsql-transport-lmtp.cf
returns:
lmtp:unix:/var/lib/imap/socket/lmtp
Remember if I send directly to user1
virtualdomain1.com it delivers fine.
Any clue what I might be missing here?
Andrew Koros
Systems Developer
UUNET KENYA LTD
The Only ISP with an MPLS enabled Network
2nd Floor Parkside Towers
Mombasa Road, Nairobi
Tel: +254 20 6988618
Fax: +254 20 6988001
Email: akoros <at> ke.uu.net
http://www.uunet.co.ke
NOTICE: "The contents of this e-mail and any accompanying documentation
is confidential and any use thereof, in whatever form, by anyone other
than the addressee for whom it is intended, is strictly prohibited."
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| / / (_)__ __ ____ __ |
| / /__/ / _ \/ // /\ \/ / | Freedom to
| /____/_/_//_/\_,_/ /_/\_\ | Experiment
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]