FAQ
My Postfix is on an host without a real Internet hostname. So the domain
name in my main.cf is a fake:

myhostname = Cup.freu.ih
mydestination = Cup, $myhostname, localhost.$mydomain, $mydomain, localhost

Mailman-lists are managed with a real domain name. In main.cf I say:

virtual_alias_domains = schwach.de
virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman
mailman_destination_recipient_limit = 1
transport_maps = hash:/etc/postfix/transport

I put 'virtual-mailman' into alias_maps too:

alias_maps = hash:/var/lib/mailman/data/virtual-mailman, hash:/etc/aliases

transport contains:

schwach.de mailman:

In master.cf there is an entry:

mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

The list is called 'v'.

If I send a mail to v at schwach.de via my local email account mailman
delivers the mail to the list members.

But if I send this mail via an external email account then the mail is
handled by cyrus and I get this message:

verify_user(user.fetchmail) failed: Mailbox does not exist

Why is the email handled by cyrus?

Thanks for any help.

Egon Frerich


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20110706/a651e1dc/attachment.pgp>

Search Discussions

  • Mark Sapiro at Jul 7, 2011 at 6:11 am

    On 7/6/2011 11:37 AM, Egon Frerich wrote:
    If I send a mail to v at schwach.de via my local email account mailman
    delivers the mail to the list members.

    But if I send this mail via an external email account then the mail is
    handled by cyrus and I get this message:

    verify_user(user.fetchmail) failed: Mailbox does not exist

    Why is the email handled by cyrus?

    Presumably because the MX for the schwach.de domain in DNS is
    mail.schwach.de whose IP address is 87.230.26.25 and this is not the IP
    address of your Postfix/Mailman machine.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Egon Frerich at Jul 7, 2011 at 7:39 am

    Am 07.07.2011 08:11, schrieb Mark Sapiro:
    On 7/6/2011 11:37 AM, Egon Frerich wrote:

    If I send a mail to v at schwach.de via my local email account mailman
    delivers the mail to the list members.

    But if I send this mail via an external email account then the mail is
    handled by cyrus and I get this message:

    verify_user(user.fetchmail) failed: Mailbox does not exist

    Why is the email handled by cyrus?

    Presumably because the MX for the schwach.de domain in DNS is
    mail.schwach.de whose IP address is 87.230.26.25 and this is not the IP
    address of your Postfix/Mailman machine.
    Thank you. But can you explain the matter a little more.

    schwach.de is hosted by an ISP. The ISP collects the mails with its mail
    server. My machine fetches the mails via POP3. So my machine gets the
    mails. Postfix should control that mails from the domain schwach.de are
    passed to mailman, from other domains are passed to cyrus. Is not this
    controlle by the file /etc/postfix/transport ?

    Egon Frerich


    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: signature.asc
    Type: application/pgp-signature
    Size: 262 bytes
    Desc: OpenPGP digital signature
    URL: <http://mail.python.org/pipermail/mailman-users/attachments/20110707/c0a889c1/attachment.pgp>
  • Glen Prideaux at Jul 7, 2011 at 1:55 pm

    Presumably because the MX for the schwach.de domain in DNS is
    mail.schwach.de whose IP address is 87.230.26.25 and this is not the IP
    address of your Postfix/Mailman machine.
    Thank you. But can you explain the matter a little more.

    schwach.de is hosted by an ISP. The ISP collects the mails with its mail
    server. My machine fetches the mails via POP3. So my machine gets the
    mails. Postfix should control that mails from the domain schwach.de are
    passed to mailman, from other domains are passed to cyrus. Is not this
    controlle by the file /etc/postfix/transport ?

    Egon Frerich
    It's a bit hard to be sure from your explanation, but this is what I think is happening.

    When you send mail from your machine to v at schwach.de, your machine deals with the mail correctly and it goes straight to mailman. This suggests that if the message gets to your machine it should be correctly handled.

    But when you send from another machine, it works like this:
    source machine does a DNS lookup for the MX for schwach.de and finds mail.schwach.de->87.230.26.25
    source machine talks to mail.schwach.de, "I have a message for v at schwach.de"
    mail.schwach.de does not know about the list you have set up on your server so replies "Mailbox does not exist".
    Thus the message never gets to your server. The error message does not come from your server, it comes from your ISP's server at mail.schwach.de.

    In order to fix this, you need to arrange with your ISP for it to recognise v at mail.schwach.de as a valid address, perhaps as an alias for your regular mail account.

    It may be simpler to register an Internet domain name for your server (perhaps using a service like no-ip.com if you don't have a static IP address) and have the mail delivered directly to your server and not go through your ISP's mail host at all.

    Glen
  • Mark Sapiro at Jul 7, 2011 at 3:07 pm
    My earlier reply may have been a bit hasty, and I'm not sure if Glen
    Prideaux's reply has the correct reason or not (I have tried sending a
    test mail, but so far, mail.schwach.de has not accepted my server's
    connection.

    Anyway, if Glen is correct, you not only need v at schwach.de to be
    deliverable at mail.schwach.de, but also addresses like
    v-bounces at schwach.de, v-confirm at schwach.de, v-request at schwach.de,
    v-owner at schwach.de, etc.

    In any case, there are problems with your postfix setup and I want some
    information.

    Egon Frerich wrote:
    My Postfix is on an host without a real Internet hostname. So the domain
    name in my main.cf is a fake:

    myhostname = Cup.freu.ih
    mydestination = Cup, $myhostname, localhost.$mydomain, $mydomain, localhost

    Mailman-lists are managed with a real domain name. In main.cf I say:

    virtual_alias_domains = schwach.de
    virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman

    The above two lines are irrelevant.

    mailman_destination_recipient_limit = 1
    transport_maps = hash:/etc/postfix/transport

    I put 'virtual-mailman' into alias_maps too:

    alias_maps = hash:/var/lib/mailman/data/virtual-mailman, hash:/etc/aliases

    Fortunately, this too is irrelevant because it is wrong. I would like to
    know why you did this because I have seen at least two other recent
    reports on this list of this being done, and if there is some
    documentation that says to do it, I'd like to see it corrected.

    What should be in alias_maps is hash:/var/lib/mailman/data/aliases, but
    not in your case because ...

    transport contains:

    schwach.de mailman:

    In master.cf there is an entry:

    mailman unix - n n - - pipe
    flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
    ${nexthop} ${user}

    You are using postfix-to-mailman.py to deliver all mail to the
    schwach.de domain to Mailman so the alias_maps, virtual_alias_maps and
    virtual_alias_domains entries for this domain are not required or used.

    The list is called 'v'.

    If I send a mail to v@ via my local email account mailman
    delivers the mail to the list members.

    But if I send this mail via an external email account then the mail is
    handled by cyrus and I get this message:

    verify_user(user.fetchmail) failed: Mailbox does not exist

    Why is the email handled by cyrus?

    It looks to me, based on your followup clarification and the above that
    fetchmail retrieves the mail from mail.schwach.de and delivers it, to
    your local Postfix, but it first does user verification of some kind
    which fails.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJul 6, '11 at 6:37p
activeJul 7, '11 at 3:07p
posts5
users3
websitelist.org

People

Translate

site design / logo © 2023 Grokbase