HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   -Postfix- forwarder dont work. (http://www.howtoforge.com/forums/showthread.php?t=40823)

pattana.b 9th November 2009 10:53

-Postfix- forwarder dont work.
 
Hi, I'm newbie for postfix,

I setup postfix and dovecot on centos 5.2 ( iredmail disc ).

now i get the problem with Alias ( forwarder ) it 's not work.





I got mail server's report in outlook:

Code:

The mail system

<xyz@mydomain.com>: user unknown


and this is the error in maillog :

Code:

postfix/pipe[7689]: 58B9113F0619: to=<xyz@mydomain.com>, relay=dovecot, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (user unknown)

i need to make sure "xyz@mydomain.com" is exit,then i look in the db.
in the mysql
db : vmail
tb : alias

Code:

address : xyz@mydomain.com  goto : pattana.b@mydomain.com


:confused:
last, this is my postconf -n

Code:

alias_database = hash:/etc/postfix/aliases.db
alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:127.0.0.1:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
header_checks = pcre:/etc/postfix/header_checks.pcre
home_mailbox = Maildir/
html_directory = no
inet_protocols = all
mail_name = iRedMail
mail_owner = postfix
mail_version = 0.4-stable
mailbox_command = /usr/libexec/dovecot/deliver
mailbox_size_limit = 20000000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 20000000
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = mydomain.com
myhostname = mydomain.com
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = mydomain.com
newaliases_path = /usr/bin/newaliases.postfix
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES
receive_override_options = no_address_mappings
recipient_bcc_maps = mysql:/etc/postfix/mysql_recipient_bcc_maps_domain.cf, mysql:/etc/postfix/mysql_recipient_bcc_maps_user.cf
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.5.9/samples
sender_bcc_maps = mysql:/etc/postfix/mysql_sender_bcc_maps_domain.cf, mysql:/etc/postfix/mysql_sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_helo_hostname
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_path = dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = mysql:/etc/postfix/mysql_sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated, reject_invalid_hostname, reject_rbl_client
smtpd_tls_cert_file = /etc/pki/iRedMail/SSL_Cert.pem
smtpd_tls_key_file = /etc/pki/iRedMail/SSL_Key.pem
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
tls_random_source = dev:/dev/urandom
transport_maps = mysql:/etc/postfix/mysql_transport_maps.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:500
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 500
virtual_transport = dovecot
virtual_uid_maps = static:500

it just happern today, i dont know how it come, this server was ran since 3 months ago with no problem.


Sorry for my English. :) ( i'm newbie for postfix and english LOL)

thanks,
pattana.b


All times are GMT +2. The time now is 22:29.

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