postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Customize / configure postfix with multiple r

Re: Customize / configure postfix with multiple recipients

From: Manjiri <manjiri.namjoshi_at_nospam>
Date: Fri Oct 08 2010 - 16:51:38 GMT
To: postfix-users@postfix.org

Is it that the entire message is getting rejected because for some reason the
postfix is not splitting it up per recipient ?
I have:
default_destination_recipient_limit = 50
smtp_destination_recipient_limit = $default_destination_recipient_limit
 
in the main.cf.default

Manjiri wrote:
>
> I am sending a message to
> "newuser@messaging.cerner.com"(valid) and "manjiri2@messaging.cerner.com"
> (invalid)
>
> maillog:
> Oct 8 11:12:51 goonie postfix/smtpd[19685]: warning: dict_nis_init: NIS
> domain name not set - NIS lookups disabled
> Oct 8 11:12:51 goonie postfix/smtpd[19685]: warning: 10.184.60.37:
> address not listed for hostname cern-nm019057.northamerica\
> .cerner.net
> Oct 8 11:12:51 goonie postfix/smtpd[19685]: connect from
> unknown[10.184.60.37]
> Oct 8 11:12:51 goonie postfix/smtpd[19685]: 6E5CFF00A5:
> client=unknown[10.184.60.37]
> Oct 8 11:12:51 goonie postfix/smtpd[19685]: 6E5CFF00A5: reject: RCPT from
> unknown[10.184.60.37]: 550 5.1.1 <manjiri2@messagin\
> g.cerner.com>: Recipient address rejected: User unknown in virtual mailbox
> table; from=<mike@messaging.cerner.com> to=<manjiri\
> 2@messaging.cerner.com> proto=ESMTP helo=<CERN-NM019057>
> Oct 8 11:12:51 goonie postfix/smtpd[19689]: warning: dict_nis_init: NIS
> domain name not set - NIS lookups disabled
> Oct 8 11:12:51 goonie postfix/smtpd[19689]: warning: 10.184.60.37:
> address not listed for hostname cern-nm019057.northamerica\
> .cerner.net
> Oct 8 11:12:51 goonie postfix/smtpd[19689]: connect from
> unknown[10.184.60.37]
> Oct 8 11:12:51 goonie postfix/smtpd[19689]: 7B0C1F00A5:
> client=unknown[10.184.60.37]
> Oct 8 11:12:51 goonie postfix/smtpd[19689]: 7B0C1F00A5: reject: RCPT from
> unknown[10.184.60.37]: 550 5.1.1 <manjiri2@messagin\
> g.cerner.com>: Recipient address rejected: User unknown in virtual mailbox
> table; from=<mike@messaging.cerner.com> to=<manjiri\
> 2@messaging.cerner.com> proto=ESMTP helo=<CERN-NM019057>
> Oct 8 11:12:51 goonie postfix/smtpd[19685]: lost connection after RSET
> from unknown[10.184.60.37]
> Oct 8 11:12:51 goonie postfix/smtpd[19685]: disconnect from
> unknown[10.184.60.37]
> Oct 8 11:12:51 goonie postfix/smtpd[19689]: lost connection after RSET
> from unknown[10.184.60.37]
> Oct 8 11:12:51 goonie postfix/smtpd[19689]: disconnect from
> unknown[10.184.60.37]
>
> postconf -n:
> alternate_config_directories = /etc/postfixNotifications
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> data_directory = /var/lib/postfix
> debug_peer_level = 2
> home_mailbox = Maildir/
> html_directory = no
> mail_owner = postfix
> mail_spool_directory = /var/mail
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/local/man
> message_size_limit = 30720000
> mynetworks_style = class
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = no
> recipient_delimiter = +
> relayhost = [smtp1.cerner.com]
> sample_directory = /etc/postfix
> sendmail_path = /usr/sbin/sendmail
> setgid_group = postdrop
> transport_maps = regexp:/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_maps = ldap:virtual_alias_maps
> virtual_gid_maps = static:1004
> virtual_mailbox_base = /var/mail/vhosts
> virtual_mailbox_domains = messaging.cerner.com
> virtual_mailbox_maps = ldap:virtual_mailbox_maps
> virtual_uid_maps = static:1004
>
>
> Sorry I am very new to postfix.
>
> Thanks
>
>
> Noel Jones-2 wrote:
>>
>> On 10/8/2010 10:34 AM, Manjiri wrote:
>>>
>>> Hello,
>>>
>>> I am interested to know if it is possible to configure postfix such
>>> that, if
>>> a message is sent to multiple recipients. Out of which, if one is an
>>> invalid
>>> address and other is a valid address. Then, right now the postfix
>>> rejects
>>> the mail with a 550 error (Recipient address rejected: User unknown in
>>> virtual mailbox table) and mail is not delivered to the valid address
>>> recipient. Can I customize / configure postfix to deliver the mail to
>>> the
>>> valid address recipient ?
>>
>> Postfix normally acts as you request -- within a single
>> message, valid users are accepted and delivered, invalid users
>> are rejected.
>>
>> Please show full (non-verbose) logs of a transaction with both
>> valid and invalid recipients, and your "postconf -n" output.
>>
>>
>> -- Noel Jones
>>
>>
>
>

-- View this message in context: http://old.nabble.com/Customize---configure-postfix-with-multiple-recipients-tp29915481p29916830.html Sent from the Postfix mailing list archive at Nabble.com.