niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
bounce problem
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
murkis
*nix forums beginner


Joined: 08 Oct 2006
Posts: 1

PostPosted: Sun Oct 08, 2006 3:45 pm    Post subject: bounce problem Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 8:24 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix - Do not generate bounce messages in some cases. LaGatorVII Postfix 0 Wed Nov 26, 2008 2:56 pm
No new posts Can't receive some bounce messages sami_c Postfix 0 Thu Jul 31, 2008 9:35 am
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am

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
[ Time: 0.1768s ][ Queries: 16 (0.1106s) ][ GZIP on - Debug on ]