|
|
|
|
|
|
| Author |
Message |
murkis *nix forums beginner
Joined: 08 Oct 2006
Posts: 1
|
Posted: Sun Oct 08, 2006 3:45 pm Post subject:
bounce problem
|
|
|
Hello,
I seem to be having a problem with bouncing messages in my postfix configuration. Some time ago, i executed "mailq"
and found out that i had lots of baouce messages in my mail queue. I tried to connect to my smtp and send a message
to a non-relayed user. But the server returned an error code instead of bouncing. After looking at log files i found
out that the bounce actually goes to an alternative domain ... let me explain:
I have two domains: domain1.net and domain2.net and the postfix is configured to lookup users in mysql tables. Now
if i send a message to idontexist@domain1.net - the server acts like i want to - it returns an error code, but if i
send a message to idontexist@domain2.net - the server bounces the message right back.
How do i force postfix to always return an error code?
Here's my main.cf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP Welcome
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
myhostname = domain1.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost.localdomain, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_base = /***
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
message_size_limit = 41943040
virtual_mailbox_limit = 52428800
virtual_mailbox_limit_override = yes
virtual_maildir_extended = yes
virtual_create_maildirsize = yes
maximal_queue_lifetime = 5d
virtual_mailbox_limit_message = "Vartotojas, kuriam siunciate laiska, isnaudojo vietos serveryje limita."
virtual_maildir_limit_message = "Vartotojas, kuriam siunciate laiska, isnaudoji vietos serveryje limita."
virtual_overquota_bounce = yes
Thank you for your time and answers. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Dec 04, 2008 8:24 am | All times are GMT
|
|
Refinance | Myspace Layouts | Debt Consolidation | Property in Spain | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|