HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Developers' Forum (
-   -   ISPConfig 3 mail forward issue (

ahagadorn 6th November 2008 18:36

ISPConfig 3 mail forward issue
I am running ISPConfig

Everything seems to work fine so far, except email forwarding. I searched the forums (not very well, apparently) and found some references to the need to compile maildrop instead of just install the package or it won't work properly, but not enough specifics.

Anyway, here is the crux of the problem from the mail log:

Nov 6 11:23:45 c1 postfix/pipe[14656]: 34F0F1FE5C: to=<>, relay=maildrop, delay=0.28, delays=0.14/0.02/0/0.12, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )

Can someone point me in the right direction on how to configure this properly?


till 6th November 2008 18:41

maildrop is not involved in mail forwarding. mail forwarding is done by postfix directly.

is the forwarded address or the target?

ahagadorn 6th November 2008 18:49

It is the forwarded address.


till 6th November 2008 18:56

Please make sure that there is only a email forward for and no mailbox and that you have a mail domain created.

ahagadorn 6th November 2008 20:17


I did create the mail domain, and there is no mailbox for

It's possible I have the mail domain configured wrong - whould the mail domain name have a trailing "." like a DNS record or not? It currently has no trailing ".".


till 6th November 2008 22:05

Mail domains dont have a trailing dot. Which domain is set as myhostname and mydomain in postfix

ahagadorn 6th November 2008 23:01

Here is my entire

# See /usr/share/postfix/ for a commented, more complete version

# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =, localhost, localhost.localdomain
relayhost =
mynetworks =
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/, reject_unauth_destination
home_mailbox = Maildir/
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/
virtual_mailbox_domains = proxy:mysql:/etc/postfix/
virtual_mailbox_maps = proxy:mysql:/etc/postfix/
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = proxy:mysql:/etc/postfix/
relay_domains = mysql:/etc/postfix/
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
#content_filter = amavis:[]:10024
receive_override_options = no_address_mappings
message_size_limit = 0

ahagadorn 6th November 2008 23:07

By the way, local mailboxes seem to work fine, the issue is only with forwards.


till 6th November 2008 23:33

What is in /etc&mailbame ?

ahagadorn 6th November 2008 23:42

If you mean /etc/mailname, it is

Another note -

postmap -q proxy:mysql:/etc/postfix/

Returns the correct forwarding address.


All times are GMT +2. The time now is 03:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.