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

Re: Invalid warning list domain in BOTH mydestination and virtual_mailbox_domains

Expand Messages
  • Lefteris Tsintjelis
    ... # postconf | grep virtual_mailbox_domains virtual_mailbox_domains = proxy:mysql:$config_directory/maps/virtual_mailbox_domains.mysql # postmap -q
    Message 1 of 3 , Aug 2, 2010
    • 0 Attachment
      On Aug 2, 2010, at 3:59 am, Phill Macey wrote:

      > On 2 August 2010 10:10, Lefteris Tsintjelis <lefty@...> wrote:
      >> This warning does not make any sense at all since there is no such thing listed in mydestination. Any ideas?
      >>
      >> postfix/trivial-rewrite[7525]: warning: do not list domain mx.asda.gr in BOTH mydestination and virtual_mailbox_domains
      >>
      >> # postconf | grep mydest
      >> mydestination = localhost.asda.gr, localhost
      >>
      >
      > What about 'postconf | grep virtual_mailbox_domains'. I will not be
      > able to answer your question but it might be useful for other people
      > to know.

      # postconf | grep virtual_mailbox_domains
      virtual_mailbox_domains = proxy:mysql:$config_directory/maps/virtual_mailbox_domains.mysql

      # postmap -q "mx.asda.gr" mysql:/etc/postfix/maps/virtual_mailbox_domains.mysql
      mx.asda.gr

      It is listed as should. The weird thing is that the warning shows up rarely in the logs, maybe something like once a day.
    • Lefteris Tsintjelis
      ... I believe I found a way to always reproduce the same invalid warning by sending an email to myself from an unauthorized server: Logs: Aug 3 01:43:50 mx
      Message 2 of 3 , Aug 2, 2010
      • 0 Attachment
        On Aug 2, 2010, at 10:47 am, Lefteris Tsintjelis wrote:

        > On Aug 2, 2010, at 3:59 am, Phill Macey wrote:
        >
        >> On 2 August 2010 10:10, Lefteris Tsintjelis <lefty@...> wrote:
        >>> This warning does not make any sense at all since there is no such thing listed in mydestination. Any ideas?
        >>>
        >>> postfix/trivial-rewrite[7525]: warning: do not list domain mx.asda.gr in BOTH mydestination and virtual_mailbox_domains
        >>>
        >>> # postconf | grep mydest
        >>> mydestination = localhost.asda.gr, localhost
        >>>
        >>
        >> What about 'postconf | grep virtual_mailbox_domains'. I will not be
        >> able to answer your question but it might be useful for other people
        >> to know.
        >
        > # postconf | grep virtual_mailbox_domains
        > virtual_mailbox_domains = proxy:mysql:$config_directory/maps/virtual_mailbox_domains.mysql
        >
        > # postmap -q "mx.asda.gr" mysql:/etc/postfix/maps/virtual_mailbox_domains.mysql
        > mx.asda.gr
        >
        > It is listed as should. The weird thing is that the warning shows up rarely in the logs, maybe something like once a day.

        I believe I found a way to always reproduce the same invalid warning by sending an email to myself from an unauthorized server:

        Logs:

        Aug 3 01:43:50 mx postfix/smtpd[28245]: connect from rosebud.otenet.gr[83.235.67.42]
        Aug 3 01:43:50 mx postfix/smtpd[28245]: NOQUEUE: filter: RCPT from rosebud.otenet.gr[83.235.67.42]: <rosebud.otenet.gr[83.235.67.42]>: Client host triggers FILTER dspam:dspam; from=<lefty@...> to=<lefty@...> proto=ESMTP helo=<rosebud.otenet.gr>
        Aug 3 01:43:51 mx postfix/smtpd[28245]: 047F426A093: client=rosebud.otenet.gr[83.235.67.42]
        Aug 3 01:43:51 mx postfix/cleanup[28390]: 047F426A093: message-id=<201008022243.o72Mgw9F027185@...>
        Aug 3 01:43:51 mx dkim-filter[12507]: 047F426A093 external host rosebud.otenet.gr attempted to send as asda.gr
        Aug 3 01:43:51 mx dkim-filter[12507]: 047F426A093 rejected per sender domain policy
        Aug 3 01:43:51 mx postfix/cleanup[28390]: 047F426A093: milter-reject: END-OF-MESSAGE from rosebud.otenet.gr[83.235.67.42]: 5.7.1 rejected due to DKIM ADSP evaluation; from=<lefty@...> to=<lefty@...> proto=ESMTP helo=<rosebud.otenet.gr>

        Aug 3 01:43:51 mx postfix/trivial-rewrite[28372]: warning: do not list domain mx.asda.gr in BOTH mydestination and virtual_mailbox_domains

        Aug 3 01:43:51 mx postfix/smtpd[28245]: NOQUEUE: filter: RCPT from rosebud.otenet.gr[83.235.67.42]: <rosebud.otenet.gr[83.235.67.42]>: Client host triggers FILTER dspam:dspam; from=<> to=<lefty@...> proto=ESMTP helo=<rosebud.otenet.gr>
        Aug 3 01:43:51 mx postfix/smtpd[28245]: 1144D26A093: client=rosebud.otenet.gr[83.235.67.42]
        Aug 3 01:43:51 mx postfix/smtpd[28245]: 1144D26A093: reject: END-OF-MESSAGE from rosebud.otenet.gr[83.235.67.42]: 550 5.5.3 <END-OF-MESSAGE>: End-of-data rejected: Multi-recipient bounce; from=<> to=<lefty@...> proto=ESMTP helo=<rosebud.otenet.gr>
        Aug 3 01:43:51 mx postfix/cleanup[28390]: 1144D26A093: message-id=<201008022243.o72Mhp9F027482@...>
        Aug 3 01:43:51 mx postfix/smtpd[28245]: disconnect from rosebud.otenet.gr[83.235.67.42]

        # dig txt _adsp._domainkey.asda.gr

        ; <<>> DiG 9.7.0-P1 <<>> txt _adsp._domainkey.asda.gr
        ;; global options: +cmd
        ;; Got answer:
        ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51964
        ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

        ;; QUESTION SECTION:
        ;_adsp._domainkey.asda.gr. IN TXT

        ;; ANSWER SECTION:
        _adsp._domainkey.asda.gr. 172800 IN TXT "dkim=discardable"
      • Wietse Venema
        ... Perhaps you have a mydestination entry in the master.cf file. Wietse
        Message 3 of 3 , Aug 3, 2010
        • 0 Attachment
          Lefteris Tsintjelis:
          > On Aug 2, 2010, at 10:47 am, Lefteris Tsintjelis wrote:
          >
          > > On Aug 2, 2010, at 3:59 am, Phill Macey wrote:
          > >
          > >> On 2 August 2010 10:10, Lefteris Tsintjelis <lefty@...> wrote:
          > >>> This warning does not make any sense at all since there is no such thing listed in mydestination. Any ideas?
          > >>>

          Perhaps you have a "mydestination" entry in the master.cf file.

          Wietse
        Your message has been successfully submitted and would be delivered to recipients shortly.