Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th November 2008, 17:36
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
Default ISPConfig 3 mail forward issue

I am running ISPConfig 3.0.0.7

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=<info@wx-sql.com>, 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?

Thanks!
Andy
Reply With Quote
Sponsored Links
  #2  
Old 6th November 2008, 17:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

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

is info@wx-sql.com the forwarded address or the target?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th November 2008, 17:49
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
Default

It is the forwarded address.

Thanks,
Andy
Reply With Quote
  #4  
Old 6th November 2008, 17:56
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

Please make sure that there is only a email forward for info@wx-sql.com and no mailbox and that you have a mail domain wx-sql.com created.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th November 2008, 19:17
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
Default

Tim,

I did create the mail domain, and there is no mailbox for info@wx-sql.com.

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 ".".

Thanks,
Andy
Reply With Quote
  #6  
Old 6th November 2008, 21:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

Mail domains dont have a trailing dot. Which domain is set as myhostname and mydomain in postfix main.cf
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th November 2008, 22:01
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
Default

Here is my entire main.cf:

# See /usr/share/postfix/main.cf.dist 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 = c1.vistatechnologygroup.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = c1.vistatechnologygroup.com, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8
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/mysql-virtual_recipient.cf, reject_unauth_destination
home_mailbox = Maildir/
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
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/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
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:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
Reply With Quote
  #8  
Old 6th November 2008, 22:07
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
Default

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

Andy
Reply With Quote
  #9  
Old 6th November 2008, 22:33
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

What is in /etc&mailbame ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 6th November 2008, 22:42
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
 
Default

If you mean /etc/mailname, it is c1.vistatechnologygroup.com

Another note -

postmap -q info@wx-sql.com proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf

Returns the correct forwarding address.

Andy
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail forward fails. Kaj Installation/Configuration 13 29th May 2008 16:57
Would the problem come from postfix? satimis Server Operation 10 27th January 2008 10:31
/var/log/maillog entries I dont understand shawnbishop General 3 23rd January 2008 17:27
Mail for one virtual domain works but not another Craig Server Operation 1 27th April 2007 07:16
forward from postfix to two mail relay's rimon HOWTO-Related Questions 2 7th April 2007 06:59


All times are GMT +2. The time now is 09:08.


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