Loading ...
Sorry, an error occurred while loading the content.
 

Re: recipient bcc

Expand Messages
  • Jason Hirsh
    ... dovecot ... i handle all those in virtual_mailbox ... I can find the file it is that all forwards are commented out which I understand is consistent with
    Message 1 of 6 , Sep 28, 2012

      On Sep 27, 2012, at 10:07 PM, jeffrey j donovan wrote:


      On Sep 27, 2012, at 9:08 PM, Jason Hirsh <hirshj@...> wrote:


      On Sep 27, 2012, at 8:49 PM, jeffrey j donovan wrote:


      On Sep 27, 2012, at 8:29 PM, Jason Hirsh <hirshj@...> wrote:

      I am trying to have email coming into postfix be delivered to two mail accouts

      From what I understand the subject command can do that here is my postconf-n


      Greetings,

      Where is your final destination ? local or remote.

      ? -- Where is the Imap/pop server ?
      also what os are you running this on ?


      dovecot


      i also don't see these commands;
      alias_database = hash:/etc/aliases
      alias_maps = hash:/etc/aliases
      mailbox_command
      local_recipient_maps


      I was not using those in postfix

      take some time and read what they do. you should at least specify system root and postmaster and abuse.





      i handle all those in virtual_mailbox

      cat /etc/amavisd.conf | grep forward

      that did not show any active commands

      your path may different.  depending on your OS.
      here is a sample typical linux location  /etc/amavis/conf.d/


      I can find the file it is that all forwards are commented out which I understand is consistent
      with running it in default   

      virtual_alias_maps = hash:/usr/local/etc/postfix/virtual

      what do these say?

      virtual is empty


      okay ,

      take some time and read up what virtual alias maps do for you.
      http://www.postfix.org/VIRTUAL_README.html

      basically it looks like your system is delivering into amavis back to postfix. but at that point it has no clue what to do.
      for debug purposes I would comment out the content filter and watch your postfix logs typical location /var/log/mail.log.
      #content_filter = smtp-amavis:[127.0.0.1]:10024

      post your your logs with content filter running and then without. from there it should be pretty simple to see where it's going.

      hope this helps


      with content filter (yes there is a age difference of virtualdb but it is empty)

      Sep 28 08:43:49 tuna postfix/smtpd[93697]: disconnect from nm5-vm1.bullet.mail.ne1.yahoo.com[98.138.91.32]
      Sep 28 08:43:49 tuna amavis[92918]: (92918-02) dkim: VALID Author+Sender+MailFrom signature by i=@..., From: <hirshj@...>, a=rsa-sha256, c=relaxed/relaxed, s=s1024, d=att.net
      Sep 28 08:43:49 tuna amavis[92918]: (92918-02) Checking: TD-qq03tA7Nm [98.138.91.32] <hirshj@...> -> <jason@...>
      Sep 28 08:43:49 tuna amavis[92918]: (92918-02) p001 1 Content-Type: text/plain, size: 13 B, name: 
      Sep 28 08:43:54 tuna amavis[92918]: (92918-02) SPAM-TAG, <hirshj@...> -> <jason@...>, No, score=-0.1 required=6.31 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
      Sep 28 08:43:54 tuna postfix/smtpd[93703]: warning: database /usr/local/etc/postfix/virtual.db is older than source file /usr/local/etc/postfix/virtual
      Sep 28 08:43:54 tuna postfix/smtpd[93703]: initializing the server-side TLS engine
      Sep 28 08:43:54 tuna postfix/smtpd[93703]: connect from unknown[127.0.0.1]
      Sep 28 08:43:54 tuna postfix/smtpd[93703]: 2237A5C63: client=unknown[127.0.0.1]
      Sep 28 08:43:54 tuna postfix/cleanup[93090]: 2237A5C63: message-id=<C89E6213-FD6B-447B-B8C6-2C6D6AFDA5C8@...>
      Sep 28 08:43:54 tuna postfix/smtpd[93703]: disconnect from unknown[127.0.0.1]
      Sep 28 08:43:54 tuna postfix/qmgr[83804]: 2237A5C63: from=<hirshj@...>, size=3046, nrcpt=1 (queue active)
      Sep 28 08:43:54 tuna amavis[92918]: (92918-02) FWD via SMTP: <hirshj@...> -> <jason@...>,BODY=7BIT 250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2237A5C63
      Sep 28 08:43:54 tuna amavis[92918]: (92918-02) Passed CLEAN, [98.138.91.32] [98.138.226.31] <hirshj@...> -> <jason@...>, Message-ID: <C89E6213-FD6B-447B-B8C6-2C6D6AFDA5C8@...>, mail_id: TD-qq03tA7Nm, Hits: -0.1, size: 2198, queued_as: 2237A5C63, dkim_id=@..., 4968 ms
      Sep 28 08:43:54 tuna postfix/virtual[93704]: 2237A5C63: to=<jason@...>, relay=virtual, delay=0.02, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
      Sep 28 08:43:54 tuna amavis[92918]: (92918-02) TIMING-SA total 4743 ms - parse: 2 (0.0%), extract_message_metadata: 23 (0.5%), poll_dns_idle: 1.06 (0.0%), get_uri_detail_list: 0.72 (0.0%), tests_pri_-1000: 9 (0.2%), tests_pri_-950: 1.21 (0.0%), tests_pri_-900: 1.33 (0.0%), tests_pri_-400: 23 (0.5%), check_bayes: 22 (0.5%), tests_pri_0: 4594 (96.9%), check_dcc: 4321 (91.1%), check_razor2: 227 (4.8%), check_pyzor: 0.30 (0.0%), tests_pri_500: 3 (0.1%), learn: 63 (1.3%), get_report: 1.44 (0.0%)
      Sep 28 08:43:54 tuna postfix/qmgr[83804]: 2237A5C63: removed
      Sep 28 08:43:54 tuna postfix/lmtp[93699]: ECE8E5C60: to=<jason@...>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.3, delays=0.27/0.01/0/5, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2237A5C63)
      Sep 28 08:43:54 tuna amavis[92918]: (92918-02) TIMING [total 4975 ms] - SMTP greeting: 2 (0%)0, SMTP LHLO: 1 (0%)0, SMTP pre-MAIL: 0 (0%)0, SMTP pre-DATA-flush: 3 (0%)0, SMTP DATA: 98 (2%)2, check_init: 1 (0%)2, digest_hdr: 5 (0%)2, digest_body_dkim: 6 (0%)2, gen_mail_id: 3 (0%)2, mime_decode: 27 (1%)3, get-file-type1: 15 (0%)3, decompose_part: 1 (0%)3, parts_decode: 0 (0%)3, check_header: 2 (0%)3, AV-scan-1: 8 (0%)3, spam-wb-list: 3 (0%)4, SA parse: 4 (0%)4, SA check: 4736 (95%)99, update_cache: 7 (0%)99, decide_mail_destiny: 1 (0%)99, fwd-connect: 27 (1%)100, fwd-mail-pip: 2 (0%)100, fwd-rcpt-pip: 0 (0%)100, fwd-data-chkpnt: 0 (0%)100, write-header: 1 (0%)100, fwd-data-contents: 0 (0%)100, fwd-end-chkpnt: 3 (0%)100, prepare-dsn: 1 (0%)100, main_log_entry: 10 (0%)100, update_snmp: 3 (0%)100, SMTP pre-response: 0 (0%)100, SMTP response: 0 (0%)100, unlink-2-files: 0 (0%)100, rundown: 1 (0%)100
      Sep 28 08:43:54 tuna postfix/qmgr[83804]: ECE8E5C60: removed
      without

      Sep 28 08:54:26 tuna postfix/cleanup[93809]: 25D125C68: message-id=<3FA06BA4-84E1-4FCF-92F8-CD7188623D3A@...>
      Sep 28 08:54:26 tuna postfix/qmgr[93801]: 25D125C68: from=<hirshj@...>, size=2190, nrcpt=1 (queue active)
      Sep 28 08:54:26 tuna postfix/virtual[93925]: 25D125C68: to=<jason@...>, relay=virtual, delay=0.09, delays=0.09/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
      Sep 28 08:54:26 tuna postfix/qmgr[93801]: 25D125C68: removed



      I sas some discussion about order of preference in postfix hitting the databases/. perhaps my use of virtual_mailbox to handle everything is the root of my problesm


      -j


    • mouss
      ... did you remember to disable this after the filter in master.cf ? http://www.postfix.org/FILTER_README.html#advanced_filter
      Message 2 of 6 , Sep 30, 2012
        Le 28/09/2012 02:29, Jason Hirsh a écrit :
        > I am trying to have email coming into postfix be delivered to two mail accouts
        >
        > From what I understand the subject command can do that here is my postconf-n
        >
        >
        >
        >
        >
        >
        > postconf-n
        >
        > [snip]
        > receive_override_options = no_address_mappings

        did you remember to disable this after the filter in master.cf ?
        http://www.postfix.org/FILTER_README.html#advanced_filter




        > [snip]
      Your message has been successfully submitted and would be delivered to recipients shortly.