Hi guys,
  I recently configured a postfix mail server with mysql backend,amavis and 
spamassassin with three domains.Everything works fine except that,mails for two 
of the virtual domains is not accepted by postfix.It reports that the users do 
not exist in the virtual table, yet they are in the users table of 
mysql,alongside the users of the only virtual domain for whom mails are 
recieved.  Funny thing is, When a user from one of the virtual domains on the 
same server sends mail,it gets delivered.
  Below is the bounced message that is sent,
  
 
  <[EMAIL PROTECTED]>:
  207.44.176.108 does not like recipient.
  Remote host said: 550 <[EMAIL PROTECTED]>: Recipient address rejected: User 
unknown in virtual mailbox table
  Giving up on 207.44.176.108.
  
  and here are my main.cf configs
  
  readme_directory = no
  myhostname = server.example.com
 mydomain = example.com
  mynetworks = 127.0.0.0/8, x.x.x.x/24, x.x.x.x/24, x.x.x.x/24
  mydestination = $myhostname, localhost.$mydomain
  virtual_alias_domains =  $virtual_alias_maps
  transport_maps = mysql:/etc/postfix/mysql-virtual_transports.cf
  virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf, 
mysql:/etc/postfix/mysql-virtual_email2email.cf
  virtual_gid_maps = static:5000
  virtual_mailbox_base = /home/vmail
  virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
  virtual_mailbox_limit = 512000000
  virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  virtual_transport = virtual
  virtual_uid_maps = static:5000
  virtual_create_maildirsize = yes
  virtual_mailbox_extended = yes
  virtual_mailbox_limit_maps = 
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
  alias_maps = hash:/etc/aliases
  #
  #
  strict_rfc821_envelopes = yes
  disable_vrfy_command = yes
  smtpd_helo_required = yes
  smtpd_client_restrictions =
  smtpd_helo_restrictions =
  smtpd_sender_restrictions =
  smtpd_recipient_restrictions = permit_mynetworks,
   reject_unauth_destination,
   reject_unknown_recipient_domain,
   reject_unauth_pipelining,
   reject_non_fqdn_recipient,
   reject_invalid_hostname,
   reject_unauth_pipelining,
   reject_non_fqdn_sender,
   reject_unknown_sender_domain,
   reject_non_fqdn_recipient,
   reject_unknown_recipient_domain,
   reject_rbl_client bl.spamcop.net,
   reject_rbl_client sbl.spamhaus.org,
   reject_rbl_client cbl.abuseat.org,
   reject_rbl_client list.dsbl.org
   reject_rbl_client blackholes.easynet.nl,
   reject_rbl_client proxies.blackholes.wirehub.net,
   reject_rbl_client opm.blitzed.org,
   reject_rbl_client dnsbl.njabl.org,
   reject_rbl_client multihop.dsbl.org,
   check_policy_service inet:127.0.0.1:10023,
   permit
  content_filter = amavis:[127.0.0.1]:10024
  receive_override_options = no_address_mappings
  
  And here is what I added to my master.cf,in addition to the normal config
  
  amavis  unix     -       -       n       -       2       smtp
          -o smtp_data_done_timeout=1200
          -o smtp_send_xforward_command=yes
  
  127.0.0.1:10025  inet    n       -       n       -       -       smtpd
          -o content_filter=
          -o local_recipient_maps=
          -o relay_recipient_maps=
          -o smtpd_restriction_classes=
          -o smtpd_client_restrictions=
          -o smtpd_helo_restrictions=
          -o smtpd_sender_restrictions=
          -o smtpd_recipient_restrictions=permit_mynetworks,reject
          -o mynetworks=127.0.0.0/8
          -o strict_rfc821_envelopes=yes
          -o 
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
          -o smtpd_bind_address=127.0.0.1
  
  CAN ANYONE HELP?

       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to