Mailman + Postfix + Virtual Domains

I'm going nuts trying to get this thing working... I spent the best part of yesterday getting Postfix and Courier working with Virtual Domains and a PostgreSQL backend. That's all working fine.
Now I've spent about the last 5 - 6 hours trying to get Mailman working -- obviously without any luck.
Can someone point me in the right direction? I tried installing from source, and following the 'official' installation manual, but that doesn't cover Virtual Domains very well (obviously not well enough to get it working at least).
*Then* I realized that their's a package in EXTRA for Mailman, so I wiped the source install I did, and installed the package, but I'm still stuck.
I think the main part of my problem, is the manual says that I should have a 'data/virtual-mailman' in the mailman installation directory, but I don't, and can't find any information on how it is created!
At the end of the day, I just need a single damn mail list on one of my virtual domains for a dozen people -- if anyone has an easier solution than this, please suggest!

windowbreaker wrote:
Also, what's the output of
postconf virtual_maps virtual_alias_maps
Let me be sure I understand your situation.  You currently have postfix setup with virtual domains and mysql.  You are successfully able to send/receive emails from your virtual accounts, correct?
Correct.
postconf: warning: virtual_maps: unknown parameter
virtual_alias_maps = hash:/etc/postfix/virtual_alias, pgsql:/etc/postfix/pgsql-virtual-forwards.cf
And the contents of /etc/postfix/pgsql-virtual-forwards.cf
hosts = localhost
user = postfix
password = MY_PASSWORD
dbname = db_postfix
query = SELECT forward_to FROM aliases WHERE email = '%s'
/etc/postfix/virtual_alias
MAILER-DAEMON: postmaster
postmaster: root
bin: root
daemon: root
named: root
nobody: root
uucp: root
www: root
ftp-bugs: root
postfix: root
manager: root
dumper: root
operator: root
abuse: postmaster
decode: root
root: [email protected]
windowbreaker wrote:In that case, you're probably trying to have postfix process all email sent to, say, [email protected], by mailman.  In which case you need to pass that email message to a mailman command, right?  I'm sure I got some things wrong, so go ahead and clear them up so I can give you detailed advice.
Correct. My domain in question is ryla9810.org which has one alias that forwards to my gmail account (phil@), and I need one mail list with a dozen members (team@). The forward works, but the maillist is causing me grief
Thanks for all your input so far

Similar Messages

  • Another Mailman and virtual domains problem... mailbox does not exist

    Hi,
    this is yet another thread about virtual domain mailinglist with mailman.
    To sum up:
    - OpenDirectory account "[email protected]" -> mail delivered
    - Deleting this account and creating a mailing-list "test11", opening the admin interface to change the host "server.domain.com" (which is the primary host of the machine, so each mailinglist is created with this host) and replacing it with "virtualdomain.com"
    - sending an email to "[email protected]" -> following error:
    Jan 18 14:12:23 server postfix/qmgr[74872]: 698E5BF735: from=<[email protected]>, size=691, nrcpt=1 (queue active)
    Jan 18 14:12:23 server postfix/pipe[74882]: 698E5BF735: to=<[email protected]>, orig_to=<[email protected]>, relay=cyrus, delay=0.28, delays=0.14/0.01/0/0.13, dsn=5.6.0, status=bounced (data format error. Command output: test11: Mailbox does not exist )
    - adding back the OD account "[email protected]" -> mail delivered to inbox (not to mailing-list recipients)
    - now if i delete the mailinglist in Server Admin then send an email to "[email protected]" -> following error (seems obvious):
    Jan 18 13:18:49 server postfix/lmtp[74275]: A9B7CBF45F: to=<[email protected]>, relay=server.domain.com[/var/imap/socket/lmtp], delay=0.16, delays=0.13/0/0/0.03, dsn=5.1.1, status=bounced (host server.domain.com[/var/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
    IOW, it looks like somehow the mailinglist aliases are being lost somewhere.
    Postfix forgets to delivers the incomming mails to Mailman, doesn't it? According to lots of forum searchs it could be forced by using one of those two commands:
    sudo /usr/sbin/postalias
    sudo /usr/sbin/postmap
    Unfortunately I dont know how they work precisely and can't find X.5 accurate information so I hope you can guide me through this step.
    Also I don't know how to track the incomming mails at the moment they are dispatched to either an OD account (so it's delivered or generates the 550 error) or a Mailman list (so it's looking for aliases and so on).
    Any help will be appreciated.
    Config:
    - in /etc/postfix/main.cf
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    alias_maps = hash:/etc/aliases,hash:/var/mailman/data/virtual-mailman
    virtualaliasmaps = hash:/etc/aliases,hash:/var/mailman/data/virtual-mailman
    - in /etc/postfix/virtual_domains
    virtualdomain.com allow
    - in /var/mailman/data/virtual-mailman
    # LOOP ADDRESSES START
    [email protected] mailman-loop
    # LOOP ADDRESSES END
    # STANZA START: test11
    # CREATED: Sun Jan 18 13:55:03 2009
    [email protected] test11
    [email protected] test11-admin
    [email protected] test11-bounces
    [email protected] test11-confirm
    [email protected] test11-join
    [email protected] test11-leave
    [email protected] test11-owner
    [email protected] test11-request
    [email protected] test11-subscribe
    [email protected] test11-unsubscribe
    # STANZA END: test11
    - in /var/mailman/data/aliases
    # The ultimate loop stopper address
    mailman-loop: /private/var/mailman/data/owner-bounces.mbox
    # STANZA START: mailman
    # CREATED: Sun Jan 18 14:11:53 2009
    mailman: "|/usr/share/mailman/mail/mailman post mailman"
    mailman-admin: "|/usr/share/mailman/mail/mailman admin mailman"
    mailman-bounces: "|/usr/share/mailman/mail/mailman bounces mailman"
    mailman-confirm: "|/usr/share/mailman/mail/mailman confirm mailman"
    mailman-join: "|/usr/share/mailman/mail/mailman join mailman"
    mailman-leave: "|/usr/share/mailman/mail/mailman leave mailman"
    mailman-owner: "|/usr/share/mailman/mail/mailman owner mailman"
    mailman-request: "|/usr/share/mailman/mail/mailman request mailman"
    mailman-subscribe: "|/usr/share/mailman/mail/mailman subscribe mailman"
    mailman-unsubscribe: "|/usr/share/mailman/mail/mailman unsubscribe mailman"
    # STANZA END: mailman
    # STANZA START: test11
    # CREATED: Sun Jan 18 14:11:53 2009
    test11: "|/usr/share/mailman/mail/mailman post test11"
    test11-admin: "|/usr/share/mailman/mail/mailman admin test11"
    test11-bounces: "|/usr/share/mailman/mail/mailman bounces test11"
    test11-confirm: "|/usr/share/mailman/mail/mailman confirm test11"
    test11-join: "|/usr/share/mailman/mail/mailman join test11"
    test11-leave: "|/usr/share/mailman/mail/mailman leave test11"
    test11-owner: "|/usr/share/mailman/mail/mailman owner test11"
    test11-request: "|/usr/share/mailman/mail/mailman request test11"
    test11-subscribe: "|/usr/share/mailman/mail/mailman subscribe test11"
    test11-unsubscribe: "|/usr/share/mailman/mail/mailman unsubscribe test11"
    # STANZA END: test11
    - in /usr/share/mailman/Mailman/mm_cfg.py
    MTA = 'Postfix'
    POSTFIXSTYLE_VIRTUALDOMAINS = ['virtualdomain.com','mail.virtualdomain.com']
    add_virtualhost('virtualdomain.com', 'mail.virtualdomain.com')

    I've finaly solved the problem by myself, mixing postfix-style aliases.
    Since it's quite long I wrote a tutorial, it's here:
    http://spip.ashorlivs.net/notepad/os-x/article/virtual-host-mailman-w-os-x-serve r
    Hope it can help someone else.
    Regards,
    g.
    Message was edited by: ashorlivs

  • Postfix virtual domain always_bcc

    We have set up a Xserve running OS X 10.4.x server to receive emails for
    multiple virtual domains. Each domain has many users. Is it possible to
    set up postfix "always_bcc" in main.cf or another configuration file
    to have email received by virtual users in a specific domain copied to specific user
    in that domain? i.e., emails received for [email protected], [email protected]
    will be copied to [email protected]
    There are many other domains in the server (domain2.com, domain3.com), but the
    need is only for incoming emails to 1 domain, not all the domains.

    This should help:
    http://discussions.apple.com/thread.jspa?messageID=4275756&#4275756

  • Setup mailinglist for virtual domain with postfix, mailman and Server Admin

    Hello everybody!
    we have set up a working mailman/postfix configuration for mailing list purposes only on a Tiger Server. What we wanted to do now is to enable another mailinglist for a virtual domain which is hosted (the website) on another Tiger Server in our domain. But everything we tried up to now did lead to a solution. When I send an email to [email protected], the MX of our domain hands the email over to the mailing list server, who seems not to be aware of his obligation to handle that mail. The mailing list server then forwards the mail again to the original MX and so on... It seems like we missed something simple to do in the postfix config.
    Things we tried:
    * hints from http://www.freebsddiary.org/mailman-virtual-domains.php -- no effect
    * hints from http://discussions.apple.com/thread.jspa;jsessionid=aOuiMaZMLAq_Mfqf9S?messageID =1566428 -- no mailing list working anymore
    Any hints would be dearly appreciated!
    Cheers,
    Florian Schneider

    I solved the problem myself after getting a better understanding of the postfix documentation on postfix.org.
    In detail, I added
    to /etc/postfix/virtual:
    [email protected] [email protected]
    to /etc/postfix/main.cf:
    virtualaliasdomains = virtualdomain.com
    virtualaliasmaps = hash:/etc/postfix/virtual
    then I did
    sudo postmap /etc/postfix/virtual
    sudo postfix reload
    and everything worked fine.
    iBook G3   Mac OS X (10.4.6)  

  • Mailman virtual domains configuration - Anyone has been successfull?

    Hello,
    Is there any one out there that has manage to configure Mailman to work with virtual domains in a Mac OS X Server 10.3.9 enviroment??
    Anyone??
    I've tryied every setup and read everything in the web about postfix and mailman and I just cant get it to work.
    If there is anyone out there that could show me his configuration I would mostly greatfull.

    If I keep the aliases and the virtual-mailman hashes
    in the postfix configuration I can have lists running
    for local and virtual domains, right?
    And we can have lists with the same name? And even
    with the same name of the users in WG?
    Once again, you can have the same name, be it for a user, be it for a list only ONCE per domain. A list and a user address are the same thing to postfix (they only difference is that a list adress is aliased to a mailman script). So they cannot exist twice in the same domain, but they can coexist in seperate VIRTUAL domains. Not in local host aliases.
    In order to this works I must have in SA, Mail,
    Advanced Settings, the virtual domain listed in the
    local host alias?
    Absolutely NOT! Virtual domains and local host aliases must be kept separate.

  • Postfix "virtual alias domain" / "mydestination"

    In /var/log/mail.log I often find the following line:
    do not list domain starenterprise.com in BOTH mydestination and
    virtualmailboxdomains
    I reviewed the document http://www.postfix.org/VIRTUAL_README.html where it is stated that not do this, but without stating a reason why.
    All I found during a search engine research was that in some cases a loop can occur, but it was mentioned in connection with a different Postfix topic, not virtual aliases one. And I also think that this doesn't play a role. If a loop occured, I should notice this that a mail account grows largely, shouldn't ?
    My mail service works fine and before doing a change here, I would like to know where is the problem when leaving it as it is currently. Unfortunately I did not found any information about this topic.
    In /etc/postfix/main.cf I have these lines (if I should post others, please let me know):
    myhostname = starenterprise.com
    mydomain = starenterprise.com
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    mydestination = $myhostname,localhost.$mydomain,localhost
    In /etc/postfix/virtual_domains file I have starenterprise.com; but there is also a comment not to edit this file.
    So if there is a solution required, I would need to remove starenterprise.com from myhostname (since mydestination refers to). Is this correct ? But what to add then ? starenterprise.com is a domain of mine (the main one of the server, by the way) and used for sending/receiving mail and for naming the mail server.
    But first of all why should I do that ? I really read the Postfix virtual readme carefully, but confessed have no glue what can go wrong. Furthermore I don't want to hurt my running mail service. Hope for some light

    The offence is becuasae you cannot list a domain name as local and virtual,
    one or the other but not both.
    Since it's the main domain name that you have listed in the virtual list,
    removing it from the virtual list will correct the faux-pas.
    Okay, okay, I have removed our main domain from the virtual domain list and luckily anything still works.
    What I not understand and the only thing I really want to know is... what can happen worst when keeping the local domain also listed at the virtual domain list... go I then right straight to **** or need I fear the revange of the Postfix daemon ?
    Confessed I have problems seeing the difference of local and virtual domains, maybe also because the German version of SA headlines the virtual domain list box with "Locally available, virtual domains".
    I'm aware that it seems not to be good practice (otherwise no error/warning would appear, logically). But it is also not good practice to cross a road when the traffic light is red. So I look forward to someone that can tell me more.

  • Using /etc/postfix/virtual to alias mail domains

    Hi all,
    I have setup much content within /etc/postfix/access and /etc/postfix/virtual for a specific virtual domain. The customer has now added another domain that they want to simply alias to the other (.net & .com). I don't want to duplicate all of the complexities within those two files and furthermore, implement any future changes twice, once for each domain.
    So, the first thing I tried was adding this in /etc/postfix/virtual:
    <pre>@domainalias.net @domainoriginal.com</pre>
    This seems to work with one unfortunate side effect. If mail is sent to a non-existent user, it doesn't get rejected immediately and rather, a bounce message is generated.
    Is there any way to do this while maintaining instant rejection for bad addresses?

    No, unfortunately not.

  • Running Virtual Domains on Mac OSX Server and Postfix

    Just purchased Mac OS Server X and Installed it. I am begining to setup mail servevices and this is my question.I have been using FreeBSD 5.3 and Postfix. In the main.cf I had setup 3 virtual Domains and used Canonical Maps and virtual alias to get my mail to the proper mailboxes. Now do I have to do that here in the terminal screen manually adding the canonical maps and virtual alias in the main.cf or does Server admin do it automacticly when I setup the virtual domains?
    Thanks
    PowerMac G4 Digital Audio 533 Mhz. Mac OS X (10.4.2)

    You can either go the manual editing route you were used to or use Server Admin. The results will be similar, but the approach different. Server Admin defines virtual domains differently (This is possible because postfix allows for different implementations.
    I have written a Tutorial on OS X Virtual Mail Domains. You can download it here: http://osx.topicdesk.com/downloads/

  • Mailman + Postfix - User unknown

    Hi all, I'm having some trouble installing mailman (who doesn't?) right now.
    I tried everything. I followed EXACTLY what is said on our wiki (https://wiki.archlinux.org/index.php/Mailman) but still it's not working.
    Actually the only thing that is not working is 'sending an email to the mailing list'. And this is quite important for a mailing list, I guess.
    After spending hours trying, here is my current status:
    I created a mailing list called pynochio, with [email protected] as the mailing list address.
    Postfix reads my /var/lib/mailman/data/virtual-mailman file and applies the mapping. I'm sure about that because I changed the content of virtual-mailman (and then hashed it using postmap command) and the email postfix was trying to authenticate changed. (so there is no permission issue from this side)
    But then postfix concludes that the user doesn't exist. Here are fresh logs from journalctl, just for you:
    Mar 20 19:59:53 ks3100290 postfix/qmgr[26527]: 128382077C: from=<[email protected]>, size=1775, nrcpt=2 (queue active)
    Mar 20 19:59:53 ks3100290 postfix/trivial-rewrite[26562]: warning: do not list domain too.gy in BOTH mydestination and virtual_mailbox_domains
    Mar 20 19:59:53 ks3100290 postfix/trivial-rewrite[26562]: warning: do not list domain too.gy in BOTH mydestination and virtual_mailbox_domains
    Mar 20 19:59:53 ks3100290 postfix/virtual[26567]: 128382077C: to=<[email protected]>, relay=virtual, delay=0.74, delays=0.65/0.03/0/0.07, dsn=5.1.1, status=bounced (unknown user: "[email protected]")
    Mar 20 19:59:53 ks3100290 postfix/virtual[26567]: 128382077C: to=<[email protected]>, relay=virtual, delay=0.78, delays=0.65/0.03/0/0.1, dsn=2.0.0, status=sent (delivered to maildir)
    This warning appears because in the tutorial we are said to put `too.gy` (our domain) in mydestination and because in my postfix database inside the `domain` table, `too.gy` is said to be virtual (transport=virtual). I don't know if it should be that way.
    My problem is that I don't really know how postfix and mailman are supposed to communicate. Postfix is supposed to let mailman handle things since [email protected] is a list address but it doesn't.
    I read some tutorials (on other distribs) and they are using lists.too.gy domain for their lists address (it seems easier) but it looks like there's a better way to do it and in the archlinux mailman documentation, we are not using such subdomain for our lists. So I want to do it the right, archlinux way.
    There is `postfix_to_mailman.py` transport script thing but I read it's a bad practice...
    Here is the output of `postconf -n` (which respects the mailman tutorial, once again):
    alias_database = $alias_maps
    alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/bin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    data_directory = /var/lib/postfix
    debug_peer_level = 2
    debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
    html_directory = no
    inet_protocols = ipv4
    local_recipient_maps = $alias_maps
    local_transport = virtual
    mail_owner = postfix
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mydestination = localhost, too.gy
    mydomain = too.gy
    myhostname = mail.too.gy
    mynetworks_style = host
    myorigin = $mydomain
    newaliases_path = /usr/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
    sample_directory = /etc/postfix/sample
    sendmail_path = /usr/bin/sendmail
    setgid_group = postdrop
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain = $mydomain
    smtpd_sasl_path = /var/run/dovecot/auth-client
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
    smtpd_sasl_type = dovecot
    smtpd_tls_auth_only = yes
    smtpd_tls_cert_file = /etc/ssl/private/server.crt
    smtpd_tls_key_file = /etc/ssl/private/server.key
    smtpd_tls_loglevel = 1
    transport_maps = hash:/etc/postfix/transport
    unknown_local_recipient_reject_code = 550
    virtual_alias_maps = hash:/etc/postfix/virtual, proxy:mysql:/etc/postfix/virtual_alias_maps.cf, hash:/var/lib/mailman/data/virtual-mailman
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/virtual_domains_maps.cf
    virtual_mailbox_limit = 512000000
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/virtual_mailbox_maps.cf
    virtual_minimum_uid = 5000
    virtual_transport = virtual
    virtual_uid_maps = static:5000
    Any help appreciated. I'm on it since 10 hours, I don't want to kill myself.
    EDIT: Forgot my `/etc/mailman/mm_cfg.py` >
    # -*- python -*-
    from Defaults import *
    DEFAULT_URL_HOST = 'lists.too.gy'
    DEFAULT_EMAIL_HOST = 'too.gy'
    MTA = 'Postfix'
    VIRTUAL_HOSTS.clear()
    add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
    POSTFIX_STYLE_VIRTUAL_DOMAINS = ['too.gy']
    DEFAULT_URL_PATTERN = 'http://%s/'
    PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/archives/%(listname)s'
    MAILMAN_SITE_LIST = 'mailman'
    Last edited by toogy (2014-03-20 19:23:23)

    AlanNYC wrote:
    If I turn off local recipient checking, will I actually get my mail?
    Yes, all email properly addressed should be delivered to you without problems.
    The line only affects improperly addressed email, in this case allowing them to be accepted instead of rejected.
    Since you are running Spamassassin and an IMAP server, I suggest also using the line
    luser=[email protected]
    which will send all improperly addressed mail to the address specified by "[email protected]". This is what I meant by "catch-all" address.
    If you find postfix giving you problems after adding the lines, simply delete them or comment them out by adding a hash mark to the front of the line, e.g.
    #localrecipientmaps =
    Alternatively, you can simply make no changes and allow the log messages to accumulate. The messages mean that postfix is doing its job by rejecting email addressed to users that don't exist. The above steps allow you to receive mail addressed to [email protected], where "anything" is any string allowed in an email address.
    I assume you're testing your changes using a separate email account, but in case you're not: sign up for a free email account with any of a number of free email services (Gmail, Yahoo) and test your postfix install as you make changes using the free account.

  • Gnu mailman Postfix Problem

    I have a working configuration of Postfix, MySQL using virtual domains. I want to set up mailman. I have created a new domain called lists.wilkesley.org for the purpose, that will only handle mailman emails. I have installed mailman, but am having trouble getting postfix to deliver mail to mailman lists. The Postfix error is::
    an 24 13:20:33 wilkesley postfix/smtpd[24049]: NOQUEUE: reject: RCPT from mail-ww0-f51.google.com[74.125.82.51]: 450 4.1.1 <[email protected]>: Recipient address rejected: User unknown in relay recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-ww0-f51.google.com>
    My mm_cfg.py is:
    MTA = 'Postfix'
    DEFAULT_EMAIL_HOST = 'lists.wilkesley.org'
    DEFAULT_URL_HOST = 'lists.wilkesley.org'
    VIRTUAL_HOSTS.clear()
    add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
    POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.wilkesley.org']
    DEFAULT_URL_PATTERN = 'http://%s/mailman/'
    PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/archives/%(listname)s'
    In master.cf I have:
    mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
    The relevant bits of main.cf are:
    # mailman
    relay_domains = $mydestination, lists.wilkesley.org
    relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
    transport_maps = hash:/etc/postfix/transport
    mailman_destination_recipient_limit = 1
    # Virtual Mailbox Domain Settings
    virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/var/lib/mailman/data/virtual-mailman
    virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
    I think I am missing something obvious and simple, but can't see what it is!
    [Edited to insert code tags as sugested].
    Last edited by geekinthesticks (2012-01-24 13:54:52)

    geekinthesticks wrote:I think I am missing something obvious and simple, but can't see what it is!
    They're called code tags
    I can't help with the problem directly, but those who can will probably be more inclined to do so if you include file contents of command output in [ code ] ... [ /code ] tags to keep it clean and readable.

  • Mailman / Postfix aliases problem?

    Hello, all!
    I've got mailman running, finally, after many hours of fighting with it. It is now to the point where it will accept new subscribers through the listinfo page, send them their confirmation, and accept a confirmation action by the user on the html page to do so. The list currently only has 2 members - the moderator and one test email account. The server is hosting many virtual domains. The list in question is in one; it is currently the only virt-domain that is using a mailman list.
    However...
    Attempts to send from the moderator to the list result in the following:
    <[email protected]>: host
    /var/imap/socket/lmtp[/var/imap/socket/lmtp] said: 550-Mailbox unknown.
    Either there is no mailbox associated with this 550-name or you do not have
    authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO
    command)
    OK, so it seems to me that Postfix is not correctly figuring out that the listname is not a hosted mailbox, but is indeed a list name, and thus never bothers to send it off to mailman. I'm guessing this means I'm missing 1 little thing or other in postfix's main.cf but I can't figure out what. Help?
    here is my main.cf:
    smtpdtls_keyfile =
    myhostname = my.fqdnname.com
    mailbox_transport = cyrus
    enableserveroptions = yes
    mydomain = sysop.com
    messagesizelimit = 104857600
    spam_enabled = yes
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    smtp_principal = smtp/[email protected]
    virusdb_lastupdate = 2006-01-05 14:54:45 -0600
    mynetworks = 127.0.0.0/8,MY.CLASS.C.0/24
    mydestination = $myhostname,localhost.$mydomain,localhost,my.fqdnname.com
    smtpdsasl_authenable = yes
    smtpduse_pwserver = yes
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdpw_server_securityoptions = plain,login,cram-md5
    content_filter = smtp-amavis:[127.0.0.1]:10024
    ownerrequestspecial = no
    recipient_delimiter = +
    smtpdhelorequired=yes
    disablevrfycommand=yes
    alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
    Any help would be appreciated. I've Googled my eyes out and keep not finding what I need.

    windowbreaker wrote:
    Also, what's the output of
    postconf virtual_maps virtual_alias_maps
    Let me be sure I understand your situation.  You currently have postfix setup with virtual domains and mysql.  You are successfully able to send/receive emails from your virtual accounts, correct?
    Correct.
    postconf: warning: virtual_maps: unknown parameter
    virtual_alias_maps = hash:/etc/postfix/virtual_alias, pgsql:/etc/postfix/pgsql-virtual-forwards.cf
    And the contents of /etc/postfix/pgsql-virtual-forwards.cf
    hosts = localhost
    user = postfix
    password = MY_PASSWORD
    dbname = db_postfix
    query = SELECT forward_to FROM aliases WHERE email = '%s'
    /etc/postfix/virtual_alias
    MAILER-DAEMON: postmaster
    postmaster: root
    bin: root
    daemon: root
    named: root
    nobody: root
    uucp: root
    www: root
    ftp-bugs: root
    postfix: root
    manager: root
    dumper: root
    operator: root
    abuse: postmaster
    decode: root
    root: [email protected]
    windowbreaker wrote:In that case, you're probably trying to have postfix process all email sent to, say, [email protected], by mailman.  In which case you need to pass that email message to a mailman command, right?  I'm sure I got some things wrong, so go ahead and clear them up so I can give you detailed advice.
    Correct. My domain in question is ryla9810.org which has one alias that forwards to my gmail account (phil@), and I need one mail list with a dozen members (team@). The forward works, but the maillist is causing me grief
    Thanks for all your input so far

  • 10.5.2 Virtual Domains - 2 user questions

    (NOTE: Generic host and domain names used in this mail, real ones are used for the actual machine)
    Clean 10.5.1 install, immediately hit software update multiple times till 10.5.2 and any other offered updates were installed.
    Went into WGM and created the accounts for my virtual domain users (I will not be doing any mail accounts on the main server which is called localhost.local) using the same setup as the 10.5.1 tutorial referenced many times on this site. I made no by-hand file changes other than making the bounces soft instead of hard, as I think that virtual domains are supposed to work now with 10.5.2.
    Went into Server Admin, added Mail as a service and configured it with my virtual domain in the Advanced/Hosting tab and turned on debug output for SMTP and POP.
    Pointed my firewall at the new mail server so that DNS would be correct
    Tried sending a mail from my test user to my test user from a mail client on my LAN.
    YAY! It works!
    Ok, so with the WGM version of virtual domains, where do I put the dreaded catch-all user for the one domain that required it?
    Do I just make a virtual user account with the second shortname being @mydomain1.com?
    And, for forward-only mail addresses do I make a virtual user account with the "mail" tab set to forward?
    Or, do I still use the tutorial method for those features where I edit files directly?
    Thanks, and (fingers crossed) last question for a while.
    ------ main.cf ------
    queue_directory = /private/var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = _postfix
    unknown_local_recipient_reject_code = 450
    unknown_virtual_alias_reject_code = 450
    unknown_virtual_mailbox_reject_code = 450
    debug_peer_level = 2
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5
    sendmail_path = /usr/sbin/sendmail
    newaliases_path = /usr/bin/newaliases
    mailq_path = /usr/bin/mailq
    setgid_group = _postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix/examples
    readme_directory = /usr/share/doc/postfix
    mydomain_fallback = localhost
    message_size_limit = 10485760
    myhostname = localhost.local
    mailbox_transport = cyrus
    mailbox_size_limit = 0
    mydomain = local
    enable_server_options = yes
    inet_interfaces = all
    smtpd_client_restrictions = permit_mynetworks reject_rbl_client zen.spamhaus.org permit
    maps_rbl_domains =
    content_filter = smtp-amavis:[127.0.0.1]:10024
    smtpd_sasl_auth_enable = yes
    smtpd_use_pw_server = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit
    smtpd_pw_server_security_options = cram-md5
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
    ---------- virtual --------
    This file is empty other than comments
    ----------- virtual_domains ----------
    mydomain1.com allow
    mydoamin2.net allow

    Thanks for the feedback. Good to hear virtual domains set up from scratch work in 10.5.2.
    Ok, so with the WGM version of virtual domains, where do I put the dreaded catch-all user for the
    one domain that required it?
    Do I just make a virtual user account with the second shortname being @mydomain1.com?
    To be honest, I never tried, but I seriously doubt this will work (worth trying though). I'd put it in /etc/postfix/virtual (can coexist fine with WGM, but you'll need to add the reference to it to main.cf
    And, for forward-only mail addresses do I make a virtual user account with the "mail" tab set to forward?
    As above, worth trying. Doubt it'll work through WGM.
    Generally speaking and from my experience and assuming there are no bugs, Server Admin and WGM allow for basic setups. Anything slightly advanced is better done through the command line. Sad but true.

  • Reporting-MTA not using virtual domains

    I hope this will be an easy answer that I'm just not seeing...
    I have mail running on 10.5.2 with multiple virtual domains.
    vdomain1.com
    vdomain2.com
    vdomain3.com
    etc.
    Receiving mail and sending mail both work fine, except on occasion I get the following error trying to send to certain addresses (mchsi.com is one example):
    <[email protected]>: host gateway.mchsi.com[204.127.203.150] said:
    550-63.254.110.6 blocked by ldap:ou=rblmx,dc=mso,dc=att,dc=net 550 Blocked
    for abuse. Please contact the administrator of your ISP or sending
    mailservice. (in reply to MAIL FROM command)
    Reporting-MTA: dns; mail.XServeMail.local
    X-Postfix-Queue-ID: 87047361E24
    X-Postfix-Sender: rfc822; [email protected]
    From what I can tell, the mail server is using the machine's host name (mail.XServeMail.local) as specified in Server Admin as opposed to using something like mail.vdomain1.com.
    Is there a way to tell it to use mail.vdomain1.com when mail is sent from that address, use mail.vdomain2.com when mail is sent from that address, etc.?
    I've been reading a lot of the Postfix configuration information, but don't want to start down the wrong path without someone providing a bit of guidance first.
    Here is the postconf -n output:
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = _postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 0
    mydestination = $myhostname,localhost.$mydomain,localhost
    mydomain = XServeMail.local
    mydomain_fallback = localhost
    myhostname = mail.XServeMail.local
    mynetworks = 127.0.0.0/8
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permit_mynetworks
    smtpdenforcetls = no
    smtpdpw_server_securityoptions = login,plain,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_certfile = /etc/certificates/Default.crt
    smtpdtls_keyfile = /etc/certificates/Default.key
    smtpduse_pwserver = yes
    smtpdusetls = yes
    unknownlocal_recipient_rejectcode = 550
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    Thank you in advance for any help.

    You cannot use a different host name depending on the sending domain and also this is not necessary.
    What you need to do is to give your mail server a fully qualified hostname that can be resolved by an external DNS lookup. Also make sure your mail server's IP has a proper reverse PTR record.

  • Virtual domains vs alias

    Awhile back I was posting quite a bit about mac mail and Windows AD questions. That was in prepartion to move a client from Powweb hosted pop/exchange to they're own Mail server. 
    I'm converting them this week but there was something I wanted to make sure could happen.
    They essentially have 3 domains.  Domain1 is the primary. Domain2 and Domain3 are for other purposes but all recieve mail most of which is forwarded.
    Most of domain2 are just forwards to accounts on the primary. So that's just adding the [email protected] to the user's account?  Does the gui create the alias in postfix automatically?
    Domain3 however are not forwards. They are accounts for the owner's family domain. I'm guessing the best thing is to just create a seperate user account for those accounts and keep them seperate?
    To allow this to be setup seperately on clients and devices (iphone, android, etc) should i just create a seperate accounts? user1 for [email protected] and user1a [email protected]? If there is a better way to accomplish besides a second user account I'm all for that.
    My next question; users that have addresses for domain1 and domain2 listed on their account have the ability to respond with either address? That's using an email client like outlook or thunderbird? This isn't really a necessity as domain2 email addresses are just forwards in powweb to domain1 addresses. I was curious.
    User1
    [email protected]
    [email protected]

    If you have the email service turned on, creating a user automatically creates an email account under the domain that was setup for email.  Apple does have virtual domains, both web and email.  I've only worked with web virtual domains and that was very little.  Basically to get two websites running. 
    I've never worked with the email virtual domain so I'm not sure how it works.  Email virtual domains are setup in the server admin app under the advanced tab.  My personal email server is Axigen running on Fedora Core which handles multiple domains (not virtual) which is why I have not looked at virtual email domains on Lion Server.
    The WGM>Accounts>selected user>info tab is for Open Directory information to my knowledge.  Not sure how, or even if, that interacts with the email service.

  • Why cant I use postmaster@ and abuse@ in /etc/postfix/virtual with success?

    I'm trying to configure two entries in /etc/postfix/virtual for postmaster and abuse for ALL virtual domains. On a debian box I have running postfix, I can do this easily with:
    abuse@ recipientShortName
    postmaster@ recipientShortName
    When I do this on my 10.5.7 server, and I email [email protected], I get:
    550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual alias table
    The only way to get it to work is to define it for each virtual domain, like this:
    [email protected] recipientShortName
    [email protected] recipientShortName
    [email protected] recipientShortName
    [email protected] recipientShortName
    It would be a real pain to have to enter an entry for abuse and postmaster at each virtual domain. Is some directive required in main.cf to enable this functionality?

    Windows or Mac... if Windows, are you using the Windows add/remove programs?
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 may help

Maybe you are looking for

  • How Can I stop a Nervous Cursor?

    For the last several weeks my cursor has developed a nervous affliction. When I try tp put it on a specific place it jumps around making it difficult to place. When I move it across the screen it jumps all around instead of tracking in a straight lin

  • Output of an Array

    Hi everybody, I was just playing with the CFLIB metaheaders and everything works fine for a beginner (http://cflib.org/udf/GetMetaHeaders). Now I see all the results in the cfdump, but I want these results in a cfoutput. How can I work it out, that I

  • WebRFC throwing error.

    Hi , I am trying to create cost center through webrfc and i am using the script to call the webrfc and pasting the values to text fields. But iam getting an error as this I also tried to check for the webRFC output, but that too looks correct. Could

  • I receive an error when importing photos (JPEGs) to Photoshop Element 10

    Here is the error I receive:  I can not see the photo's in the Organizers, so I don't believe the photos are in the catalog.

  • Bluetooth issues with iPhone 5

    Is anyone experiencing connection issues since updating?  Since updating iPhone 4 w/iOS 6 I've been experiencing Bluetooth connectivity with VW Jetta 2012. Now I have the iPhone 5 & it's still an issue. Which leads me to believe its the iOS 6 update.