From: vlvdberg on
Hi all,

I've set up maildrop on postfix and it delivers fine to virtual users.
It only doesn't deliver to virtual users aliases. It then gives the
following error:

postfix/pipe[8229]: 2BB6E19EE33: to=<hu(a)xc-online.nl>, relay=maildrop,
delay=0.12, delays=0.1/0/0/0.01, dsn=5.1.1, status=bounced (user
unknown. Command output: Invalid user specified. )

I've got two aliases set up for my email address:

centralx(a)xc-online.nl --> vincent(a)xc-online.nl
klantenservice(a)xc-online.nl --> vincent(a)xc-online.nl

Delivering via vincent(a)xc-online.nl is working fine, however,
delivering to for example centralx(a)xc-online.nl doesn't work.

I've been searching for days now, and still can't find a suitable
anwer. I'll post my relevant configuration options below...

main.cf:
----------------------------------------------------------
transport_maps=mysql:/usr/pkg/etc/postfix/transport.cf
mydestination = $mydomain, $myhostname, $transport_maps
#virtual_mailbox_domains = xc-online.nl, mixedvoices-vianen.nl
virtual_transport = $transport_maps
virtual_mailbox_maps=mysql:/usr/pkg/etc/postfix/mysql_virt.cf
virtual_uid_maps=mysql:/usr/pkg/etc/postfix/uids.cf
virtual_gid_maps=mysql:/usr/pkg/etc/postfix/gids.cf
#You might want to change the following to something you'd prefer -
BUT the 'home' field in the database MUST match
virtual_mailbox_base=/data/mail/virtual
virtual_maps=mysql:/usr/pkg/etc/postfix/virtual.cf
virtual_alias_maps = $virtual_maps
alias_maps = $virtual_maps
# The following two lines are optional, and hopefully self explanitory
virtual_mailbox_limit=2048000000
virtual_minimum_uid=100

### ClamAV ###
content_filter = scan:localhost:10025
receive_override_options = no_address_mappings

### SASL ###
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname

# smtp_sasl_password_maps = mysql:/usr/local/etc/postfix/
mysql_virtual_pass_maps.cf

broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname,
reject_rbl_client opm.blitzed.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client sbl-xbl.spamhaus.org
# check_recipient_access mysql:/usr/pkg/etc/postfix/mysql-
recipient.cf
# The above line must be fitted in one line DONT FORGET
----------------------------------------------------------

master.cf
----------------------------------------------------------
maildrop unix - n n - - pipe
flags=DRhu user=mailusr argv=/usr/pkg/bin/maildrop -d ${recipient}
----------------------------------------------------------

Does anyone have a clue?

Many thanks in advance!

Vincent

From: Holger Wesser on
vlvdberg(a)gmail.com schrieb:
> Hi all,
>
> I've set up maildrop on postfix and it delivers fine to virtual users.
> It only doesn't deliver to virtual users aliases. It then gives the
> following error:

As far as I know, aliases can only be used when you deliver the mails
via the local delivery agent. See:

http://www.postfix.org/MAILDROP_README.html

Greetings,
Holger
 | 
Pages: 1
Prev: Mail-forwarding loop
Next: Transport to a script