Virtual mail

Hi there,
I need some help from u guys. The following is the detailed:
1)domain1.com(hosted by ISP)
2)domain2.com(hosted by godaddy)
3)one static IP
In the mail configuration(setting), i used the domain name as domain1.com and the host as mx1.domain1.com and everything is fine. For the virtual domain(domain2.com), i enable the virtual host and add in domain2.com but it seems didnt send to my intended users. Am i miss something? i did add users from workgroup manager and use shortname: test, [email protected] and i received this user email as [email protected] So i guess there must be something wrong on it.
Is it something need to do with the local aliase??Appreciated if anyone can help on this?

There isn't enough information in your post to answer your questions, and since you didn't include the actual domains it's impossible for anyone to test for themselves to see what's wrong.
The problem could be with DNS (do you have an MX record in domain2.com that maps to your server?) or it could be mail server configuration (what does the server log have to say about it?).
Knowing the domain, or including the logs would help.

Similar Messages

  • Set up reverse DNS for virtual mail hosting

    I need a bit of server configuation advice.
    I have a static IP and two public domains on a Snow Leopard server connected using NAT behind a firewall - with the necessary port forwarding to ensure all works. 
    1. abc.com is my primary domain on the server - server.abc.com
    2. I have xyz.com set up as a virtual domain and also as a virtual mail host
    This setup has worked well for a long time but I have found that emails to [email protected] are going missing.  If I check my mx records using one of the web based tools it show an error on the reverse dns for server.xyz.com showing a reverse DNS of server.abc.com.
    So the question - is it possible to have secondary 'virtual' DNS record on the server so reverse DNS works for the virtual mail host xyz.com?  If not how do I handle the reverse DNS problem which i think is causing some external mail server to reject mail due to the inconsistency on the reverse DNS lookup?
    Many thanks for any suggestions

    SMTP requires a DNS A record.
    A DNS A record is also known as a machine record.
    A DNS A record inherently means that forward DNS and reverse DNS will match.
    The forward translation translates the host name to the IP address.
    The reverse translation translates the IP address to host name.
    When the full translation produces the same host name, that's an A record.
    DNS CNAME records are aliases, and are used for virtual hosts.
    CNAME records inherently do not match the reverse DNS translations.
    To get your configuration to work, your server must have an A record.
    That means forward and reverse DNS will match.
    Any of the virtual hosts within your mail server then all use an MX pointing at the A record host.
    If you have your DNS hosted somewhere other than your ISP, then you'll need your ISP to set up a DNS PTR.
    The DNS PTR is the reverse translation; address to name.
    If you have your own DNS services within your network (as would be typical with a privately-addressed NAT'd network), set that up as a virtual host within SMTP.
    Here is some related reading on external (public) DNS, as related to SMTP servers and such.

  • MySQL Virtual Mail Aliases with OS X Server (10.8)?

    Has anyone been able to set OS X Mountain Lion Server up with virtual mail aliases and MySQL virtual-mysql-*.conf mappings?

    From what I can tell, you will need to build your own version of Postfix even on 10.8. While ldap was added in 10.6 or 10.7 I believe, mysql is still missing.
    If you issue postconf -m in Terminal, you will notice that mysql is not among the supported methods.

  • Virtual mail hosts: 255 character limit on SPF records

    This one was a surprise to me, and caused a lot of headache, so I thought I'd pass it along.
    I'm running multiple virtual mail hosts off of my doughty PowerMac single G5 1.8GHz running OS X Server 10.4.11. Some of the outgoing mail was being bounced as spam because a) there wasn't an SPF record on any of the domains and b) the domain of the mailserver didn't always match the domain of the sender. (Most often, it went out under the hostname of the server, cerberus.limbo.jcf.org—which is useless, since that's a LAN address.)
    Trying to be a good citizen (and make sure that all of everyone's mail got through), I added SPF records that explicitly named each and every mailserver on the machine, just so that everything was clear and aboveboard—but they ended up being about 500 characters long.
    Fastforward a week or two... and I was having problems with my DNS zones loading—I'd get errors that they'd timed out. After pulling my hair out for a while, I discovered that TXT records have a limit of 255 characters (including spaces, etc.) Some folks running servers on non-OS X Server machines have split the records over multiple TXT records (does that even work?), but you get exactly one TXT record per OS X Server machine: the Comment box.
    I've now simplified the SPF records so that they read something like this:
    +v=spf1 a mx mx:cerberus.limbo.jcf.org mx:cerberus.jcf.org mx:jcf.org ip:173.164.140.96/30 ip:207.58.140.213/30 include:comcast.businessclass.net include:comcast.com -all+
    To translate:
    • +v=spf1 a mx+ It authorizes deliveries from any IP listed in the DNS zone, and from any mailserver defined in the zone
    • +mx:cerberus.limbo.jcf.org mx:cerberus.jcf.org mx:jcf.org+ It also explicitly authorizes deliveries from the server's main LAN and internet DNS names as well as the domain of the foundation for which I work (and through which emails are occasionally relayed)
    • +ip:173.164.140.96/30 ip:207.58.140.213/30+ Next it authorizes the public static IP blocks for the server and the foundation's remote server
    • +include:comcast.businessclass.net include:comcast.com+ Finally it includes the domain names of the ISP through which most of the mail are relayed
    • -all The last item says that if the mail didn't originate from one of those addresses, it isn't ours.
    (I think that I've got that right. If I've botched it anywhere, let me know, okay?)
    That's 169 characters. The DNS zones loaded happily, and the mail seems to be going out without getting bounced. So far so good!
    (There's probably a way to get the hostname on each email to match the domain from which it is being addressed, but I haven't gotten there yet.)
    Message was edited by: David Kudler

    Most often, it went out under the hostname of the server, cerberus.limbo.jcf.org—which is useless, since that's a LAN address.
    You can control this via the myhostname setting in Postfix. This defines the name it uses to identify itself to remote mail servers, which sounds like it'll address a lot of your issues.
    I added SPF records that explicitly named each and every mailserver on the machine, just so that everything was clear and aboveboard—but they ended up being about 500 characters long.
    OK, this doesn't make sense. You don't need to list every virtual hostname for every domain.
    All you need to do is add this specific mail server's address in each domain.
    There's no requirement that the hostname of the mail server matches the domain name, so it's entirely valid to create an SPF record in domain1.com that lists mailserver.someotherdomain.com as authoritative. Then, as long as postfix's myhostname says it's mailserver.someotherdomain.com and your reverse DNS resolves to that address your problem is solved.
    ...but you get exactly one TXT record per OS X Server machine: the Comment box.
    Unless you edit your zone file directly and add whatever other records you like. However, given the above, I don't think the 255-character limit should be an issue.
    Even if you didn't want to mess with your zone files directly there's still a way around that - SPF allows for an 'include' record which basically tells remote servers to include the record from some other domain, so for each domain you could just tell it to include some other domain's record (which, in turn, could include another domain) allowing virtually unlimited record length (or, at least, 255 characters per domain you manage).
    SPF Includes are covered here.
    • include:comcast.businessclass.net include:comcast.com Finally it includes the domain names of the ISP through which most of the mail are relayed
    Bzzzz. You've now allowed any other customer of comcastbusiness.net and comcast.com to send mail on your behalf. You probably don't want to do that. When you consider that 'comcast.com' includes every one of their residential customers you can see that you really don't want to do that.

  • Virtual Mail Domains

    10.4.10 Server.
    I've set up virtual mail domains. Added email addresses to the shortnames list. When anyone sends an email to [email protected] it gets delivered to all hosted domains. So i get the same email in domain2.com.
    Anyone know what's causing this?
    cheers
    Multiple   Mac OS X (10.4.10)  

    Sydney, while you are waiting for a response, just a clarification on local DNS, MX, etc...
    The MX record is only required for 'external' users, in order to discover where the responsible mail server is (because all they have to start from is a basic domain name, not a server hostname). In your LAN, your mail clients will already have this location as you put this into the sending/receiving field in the mail client - either as a hostname (which must be resolvable to the local server's IP in your local DNS) or directly as an IP address. So local DNS does not need an MX record if this scenario is applicable.
    The hostname you put into your local mail client has no meaning to the mail server - it purely resolves to an IP address and then your client 'drops' that hostname and contacts the mail server at the IP address. The important bit of info used by the mail client is the user login name - this tells the mail server what account, in what domain, to access.
    -david

  • Sane virtual mail server setup?

    I'm giving up. I want a simple mail server setup (imaps, pop3s, smtps) with virtual user support that I can comfortably configure from the web (PostfixAdmin, web-cyradm, courier-web). I want to manage multiple users on multiple domains. It appears that the task I want to accomplish is insanely complex for some reason. I'd like to use as few different software packages as possible.
    I can't find a simple and sane tutorial on the topic and I don't even care what software is going to be used. Of course, I did search and play around with the config for hours but to no avail. The tutorials in the Arch wiki are no good either, they are either outdated or do not allow me to do web configuration.
    Help me out here, please.

    It's always good to have alternatives, but out of curiousity, did you not try the courier-mta wiki? I used that wiki guide recently and it had me running with a system like what you describe without too much fuss. The only stuff I haven't tried/used is web-based administration or mail access; perhaps this was the problem for you?

  • Virtual Mail Domains and Users

    I'm having an issue with virtual hosts and mail hosts.  I have three domains lets call them domain1.com, domain2.com and domain3.com
    now lets say I have a user russ and he wants to recive mail only at domain2.com is there anyway to just let him recieve mail at that domain?  becasue he also recives mail at domain1.com becasue it is the default domain.
    Any help on this is greatly appreciated.
    Thank You,
    Russ

    Did you ever sort this properly or just go with your 'fix'?
    I have set up our 10.5 mailserver and everything works fine for people with accounts on the server but forwarders to external mail accounts are not working properly.
    Emails sent from an external source to a forwarding account on our server receive a bounce message with the errors...
    <[email protected]>: host mailserver.domain1.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 end of DATA command)
    ...and...
    Diagnostic-Code: smtp; 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 this case '[email protected]' is an account on the mailserver set as a forwarder to '[email protected]'
    Despite the sevder getting the bounce message the actual message is however forwarded and received by '[email protected]'
    Paul

  • Virtual Mail Server (Exchange 2007)

    G'day,
    I have 10.5.4 server running on a 1.66GHz Core Duo MacMini. I'm desperate to have a push mail server running and I'm about to go ahead with this design. Just wanted to see what you guys thought about it first.
    10.5.4 server as the primary system
    VMWare Fusion emulating 2003 Enterprise Server R2 with 2003 Exchange Server SP1
    Could have all the files locally based on the server and the beauty of virtual environment is that I can simply reboot to previously saved settings if anything is to go pair shaped.
    Let me know what you think.

    Actually I was thinking of doing the same thing, but with my PowerMac G5 Dual 1.8Ghz, 2GB Ram, 34GB Raptor 10K boot volume, and 150G Data store.
    Does Apple's Leo Server have push cal/mail/contacts? I desperately need a simple setup as well for our office, and currently run a test Server 2008 environment running Exchange 2007, but its overly bloated and so many configuration options.
    Thanks!

  • Virtual Mail Domains and Email Client setup...

    Hello,
    I have read the Apple Mail Services pdf and I have read petrobytes pdf on virtual user setup and I now have it working.
    The question I have is if I have a virtual domain called vdom1.com and a local domain called ldom.com and I have a user called "user1" in each of these should I not be able to to use "user1" as the username in a mail client config? It won't let me and I would really rather not give out usernames that look like vdom1user1, if at all possible?
    Thanks,
    tom

    Well, obviously you haven't read my tutorial properly
    11. - What do my users need to know?
    "Username: user1 and password will not work or fetch the wrong
    mailbox (unless the user is a local domain user). For virtual
    domain users, [email protected] and password is the
    way to go."
    Use user1 for the local domains and [email protected] for the virtual domain.
    Alex

  • Virtual mail domain and POP problem

    Hi all,
    I am currently on my 7th or 8th install of 10.5 server, so far without managing to make a working mailsetup with virtual domains and virtual users. That is, it works when my customers use an IMAP-client (or webmail via squirrelmail), but it doesn't work when using a POP-client. I have yet to discover the cause of my problems, as the server-logs show perfectly good logins – but unfortunately nothing gets downloaded to the client.
    I currently host 15 domains, which until my purchase of 10.5 server were hosted on a computer running 10.4 client-version with dovecot as mailserver, a custom DNS-setup and various custominstalled supporting apps. On the old client, everything was running smoothly (albeit slowly, due to the old hardware), but as I have stated, on my new server I can't get POP-access to work.
    When I do a fresh install of 10.5 server, I can log in to the accounts on the primary domain with either POP3 or IMAP, but as soon as I set up a virtual domain, POP-access to all accounts ceases to function.
    I suspect Cyrus configuration to be the main culprit, since everything else seems to work as expected, but having no previous experience with cyrus, I have yet to find a solution.
    If anyone has any pointers to a good source of cyrus-IMAP knowledge, I would be very grateful for any help.
    /Lars

    Hi Alex,
    This is really strange, and it's also really bugging me!
    I use OD. If I add several shortnames to a user, fqn and not-fqn, I can only log in with the first shortname and any of the fqn-names. However, only the login using the first shortname recieves any mail.
    I dont know if you have any explanation as to why my setup doesn't include a /etc/postfix/virtual file or a virtualaliasmaps statement in main.cf, which is the only difference in my system that I registered compared to your guide.
    This is some lines from mailaccess.log when logging in to an account using Outlook Express in XP (user info masked):
    Dec 7 22:50:05 server pop3[84858]: login: [192.168.2.3] comexampleuser plaintext User logged in
    Dec 7 22:51:15 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:51:25 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:51:35: --- last message repeated 3 times ---
    Dec 7 22:51:46 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:52:16: --- last message repeated 2 times ---
    Dec 7 22:52:44 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:56:01 server pop3[84946]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:57:04 server pop3[84946]: login: [192.168.2.3] [email protected] plaintext User logged in
    The log level is set to "Information", and as you can see all logins appear to be successful. However, only the first login using the comexampleuser login receives any mail (and I sent more mails inbetween to make sure something would register, of course).
    Here's the relevant part from mail.log:
    Dec 7 22:51:04 server postfix/smtpd[84875]: connect from unknown[192.168.2.3]
    Dec 7 22:51:04 server postfix/smtpd[84875]: 4A362F8F58: client=unknown[192.168.2.3], sasl_method=CRAM-MD5, [email protected]
    Dec 7 22:51:04 server postfix/cleanup[84880]: 4A362F8F58: message-id=<[email protected]>
    Dec 7 22:51:04 server postfix/qmgr[81164]: 4A362F8F58: from=<[email protected]>, size=602, nrcpt=1 (queue active)
    Dec 7 22:51:04 server postfix/smtpd[84884]: connect from localhost[127.0.0.1]
    Dec 7 22:51:04 server postfix/smtpd[84884]: B4844F8F67: client=localhost[127.0.0.1]
    Dec 7 22:51:04 server postfix/cleanup[84880]: B4844F8F67: message-id=<[email protected]>
    Dec 7 22:51:04 server postfix/smtpd[84884]: disconnect from localhost[127.0.0.1]
    Dec 7 22:51:04 server postfix/qmgr[81164]: B4844F8F67: from=<[email protected]>, size=1112, nrcpt=1 (queue active)
    Dec 7 22:51:04 server postfix/smtp[84882]: 4A362F8F58: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.47, delays=0.03/0.02/0.01/0.41, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B4844F8F67)
    Dec 7 22:51:04 server postfix/qmgr[81164]: 4A362F8F58: removed
    Dec 7 22:51:04 server postfix/pipe[84886]: B4844F8F67: to=<[email protected]>, relay=cyrus, delay=0.14, delays=0.01/0.03/0/0.1, dsn=2.0.0, status=sent (delivered via cyrus service)
    Dec 7 22:51:04 server postfix/qmgr[81164]: B4844F8F67: removed
    Dec 7 22:52:04 server postfix/smtpd[84875]: disconnect from unknown[192.168.2.3]
    And here are the lines from system.log:
    Dec 7 22:50:05 server pop3[84858]: login: [192.168.2.3] comexampleuser plaintext User logged in
    Dec 7 22:51:15 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:51:25 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:51:35: --- last message repeated 3 times ---
    Dec 7 22:51:46 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:52:16: --- last message repeated 2 times ---
    Dec 7 22:52:44 server pop3[84858]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:53:14: --- last message repeated 2 times ---
    Dec 7 22:56:01 server pop3[84946]: login: [192.168.2.3] [email protected] plaintext User logged in
    Dec 7 22:57:04 server pop3[84946]: login: [192.168.2.3] [email protected] plaintext User logged in
    bash-3.2# cat /etc/imapd.conf
    admins: cyrusimap
    configdirectory: /var/imap
    partition-default: /var/spool/imap
    unixhierarchysep: yes
    altnamespace: yes
    servername: server.skovgaarddesign.dk
    sievedir: /usr/sieve
    sendmail: /usr/sbin/sendmail
    lmtpdowncasercpt: 1
    unixgroupenable: 0
    berkeleytxnsmax: 400
    berkeleylocksmax: 20000
    berkeley_cachesize: 8192
    berkeleymax_logregion: 2048
    berkeleymax_logfile: 10240
    berkeleymax_logbuffer: 2048
    tlskeyfile: /etc/certificates/Default.key
    quotawarn_frequencydays: 1
    tlscertfile: /etc/certificates/Default.crt
    enablequotawarnings: yes
    imapauth_crammd5: yes
    popauthapop: yes
    logrolling_daysenabled: 0
    logrollingdays: 1
    imapauthlogin: yes
    imapauthplain: yes
    imapauthgssapi: yes
    lmtpover_quota_permfailure: yes
    tlsserveroptions: use
    popauthgssapi: yes
    bash-3.2# cat /etc/cyrus.conf
    # standard standalone server implementation
    START {
    # do not delete this entry!
    recover cmd="ctl_cyrusdb -r"
    # this is only necessary if using idled for IMAP IDLE
    idled cmd="idled"
    # UNIX sockets start with a slash and are put into /var/imap/socket
    SERVICES {
    # add or remove based on preferences
    imap cmd="imapd" listen="imap" prefork=0
    imaps cmd="imapd -s" listen="imaps" prefork=0
    pop3 cmd="pop3d" listen="pop3" prefork=0
    pop3s cmd="pop3d -s" listen="pop3s" prefork=0
    sieve cmd="timsieved" listen="sieve" prefork=0
    # at least one LMTP is required for delivery
    # lmtp cmd="lmtpd" listen="lmtp" prefork=0
    lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
    # this is only necessary if using notifications
    # notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
    EVENTS {
    # this is required
    checkpoint cmd="ctl_cyrusdb -c" period=30
    # this is only necessary if using duplicate delivery suppression
    delprune cmd="cyr_expire -E 3" at=0400
    # this is only necessary if caching TLS sessions
    tlsprune cmd="tls_prune" at=0400
    LIMITS {
    imaplimit value=0
    And here are the output of ps U _cyrus when logging in via POP (I have removed the IMAP-lines, as I doubt they are necessary, but feel free to correct me if I'm mistaken).
    bash-3.2# ps U _cyrus
    PID TT STAT TIME COMMAND
    19062 ?? Ss 1:08.79 /usr/bin/cyrus/bin/cyrus-quota -r
    81174 ?? Ss 0:01.32 master -l 256
    81177 ?? S 0:02.04 idled
    85071 ?? Ss 0:00.03 /sbin/launchd
    85073 ?? S 0:00.03 pop3d: [192.168.2.3] [email protected] user.firstname^lastname@exampl
    I hope some of the above will provide some clues.
    /Lars

  • Troubles setting up a virtual mail server

    Hi,
    I'm having trouble setting up my email server. It has an Domain name (eg. ftp8.mydomain.com) but not really a Host Name. I guess you could use the same as above (ftp8.mydomain.com), no?
    Next, enabled virtual hosting and enter a few domains (eg. thisdomain.com, thatdomain.net, yourdomain.org). I created 3 accounts, 1 for each, for now.
    Ran some test. I can send out to other email accounts not on this server. I can send and receive to the same machine (eg. [email protected] to [email protected]).
    But I can't receive email from accounts not on this machine.
    What's missing?
    Thanks for any help.
    Frank

    Frank,
    The MX for sofa.on.ca is (sofa.on.ca. 86400 IN MX 1 mail2.dpimac.com.)
    The MX record resolves to 216.183.93.88 (mail2.dpimac.com. 86400 IN A 216.183.93.88) which appears to be an OSXS machine. It's running Apache 1.3 -- is this a Tiger or Leopard server?
    May I suggest you take a look at this -- maybe it can help you: http://rduonline.com/notes.mgi
    Look through the section on setting up VH mail accounts in the SA -- this is where most folks make mistakes.

  • Few virtual mail domains work fine. How about SMTP?

    Hello,
    Following detailed advices here we have successfully set up our mail server to support our several domains (e.g. company.com, company.net, company.co.uk, etc), however all emails are being sent from one same SMTP address (mail.company.com) and not from respective addresses (mail.company.net, mail.company.co.uk) as we wanted.
    We tried using those SMTP virtual servers above (mail.company.net, mail.company.co.uk, etc) in users' mail clients but for some reason they won't resolve to our server. Maybe it is a DNS thing? Currently we have one zone and it is for company.com. Adding additional zone for company.net didn't help. Moreover I am not sure it is the right thing to do as all zones MX will point to the same local IP?
    Anybody can shed some light on our problem please?
    PS: Latest updated Leopard Server, domains were added as virtual. Receiving and sending of mail works perfect except for the fact that long headers in email itself contain 'wrong' address of SMTP server.

    Alex, thanks for your reply.
    I will try with what I want to achieve.
    1. Company has 3 domain names (one.com, two.com, three.com)
    2. Leopard server has been setup with mail.one.com being main domain whereas mail.two.com and mail.three.com are virtual.
    3. When users of two.com and three.com send emails from their email clients, long headers will show mail.one.com as the SMTP server.
    Q: Is it possible to configure Leopard server so that emails sent from two.com and three.com accounts will have SMTP server mail.two.com and mail.three.com respectively in their long headers?
    PS: we currently have 1 public static IP address and 1 Leopard server. If this task is unachievable with single server we will consider buying more IPs and more servers as being an owner of all three domains company wants to separate mail from them completely.

  • Virtual Mail Setup - imapd-ssl error unknown protocol

    Hi,
    I have been relentlessly trying to setup my first email server and I think that I am almost there. I have been following the guide at:
    https://wiki.archlinux.org/index.php/Simple_Virtual_User_Mail_System
    I have followed it step by step and I'm 99% sure that I didn't miss a thing when setting it up.
    However, I cannot login to my roundcube mail. It just times out.
    This is the error that pops up in /var/log/mail.log:
    mail imapd-ssl: couriertls: accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
    this is the contents of /etc/authlib/authmysqlrc:
    ##VERSION: $Id: authmysqlrc,v 1.20 2007/10/07 02:50:45 mrsam Exp $
    # Copyright 2000-2007 Double Precision, Inc. See COPYING for
    # distribution information.
    # Do not alter lines that begin with ##, they are used when upgrading
    # this configuration.
    # authmysqlrc created from authmysqlrc.dist by sysconftool
    # DO NOT INSTALL THIS FILE with world read permissions. This file
    # might contain the MySQL admin password!
    # Each line in this file must follow the following format:
    # field[spaces|tabs]value
    # That is, the name of the field, followed by spaces or tabs, followed by
    # field value. Trailing spaces are prohibited.
    ##NAME: LOCATION:0
    # The server name, userid, and password used to log in.
    MYSQL_SERVER localhost
    MYSQL_USERNAME postfix_user
    MYSQL_PASSWORD *******MY PASSWORD*******
    ##NAME: SSLINFO:0
    # The SSL information.
    # To use SSL-encrypted connections, define the following variables (available
    # in MySQL 4.0, or higher):
    # MYSQL_SSL_KEY /path/to/file
    # MYSQL_SSL_CERT /path/to/file
    # MYSQL_SSL_CACERT /path/to/file
    # MYSQL_SSL_CAPATH /path/to/file
    # MYSQL_SSL_CIPHERS ALL:!DES
    ##NAME: MYSQL_SOCKET:0
    # MYSQL_SOCKET can be used with MySQL version 3.22 or later, it specifies the
    # filesystem pipe used for the connection
    # MYSQL_SOCKET /var/mysql/mysql.sock
    ##NAME: MYSQL_PORT:0
    # MYSQL_PORT can be used with MySQL version 3.22 or later to specify a port to
    # connect to.
    MYSQL_PORT 3306
    ##NAME: MYSQL_OPT:0
    # Leave MYSQL_OPT as 0, unless you know what you're doing.
    MYSQL_OPT 0
    ##NAME: MYSQL_DATABASE:0
    # The name of the MySQL database we will open:
    MYSQL_DATABASE postfix_db
    #NAME: MYSQL_CHARACTER_SET:0
    # This is optional. MYSQL_CHARACTER_SET installs a character set. This option
    # can be used with MySQL version 4.1 or later. MySQL supports 70+ collations
    # for 30+ character sets. See MySQL documentations for more detalis.
    # MYSQL_CHARACTER_SET latin1
    ##NAME: MYSQL_USER_TABLE:0
    # The name of the table containing your user data. See README.authmysqlrc
    # for the required fields in this table.
    MYSQL_USER_TABLE mailbox
    ##NAME: MYSQL_CRYPT_PWFIELD:0
    # Either MYSQL_CRYPT_PWFIELD or MYSQL_CLEAR_PWFIELD must be defined. Both
    # are OK too. crypted passwords go into MYSQL_CRYPT_PWFIELD, cleartext
    # passwords go into MYSQL_CLEAR_PWFIELD. Cleartext passwords allow
    # CRAM-MD5 authentication to be implemented.
    MYSQL_CRYPT_PWFIELD password
    ##NAME: MYSQL_CLEAR_PWFIELD:0
    # MYSQL_CLEAR_PWFIELD clear
    ##NAME: MYSQL_DEFAULT_DOMAIN:0
    # If DEFAULT_DOMAIN is defined, and someone tries to log in as 'user',
    # we will look up 'user@DEFAULT_DOMAIN' instead.
    # DEFAULT_DOMAIN example.com
    ##NAME: MYSQL_UID_FIELD:0
    # Other fields in the mysql table:
    # MYSQL_UID_FIELD - contains the numerical userid of the account
    MYSQL_UID_FIELD 5000
    ##NAME: MYSQL_GID_FIELD:0
    # Numerical groupid of the account
    MYSQL_GID_FIELD 5000
    ##NAME: MYSQL_LOGIN_FIELD:0
    # The login id, default is id. Basically the query is:
    # SELECT MYSQL_UID_FIELD, MYSQL_GID_FIELD, ... WHERE id='loginid'
    MYSQL_LOGIN_FIELD username
    ##NAME: MYSQL_HOME_FIELD:0
    MYSQL_HOME_FIELD "/home/vmail"
    ##NAME: MYSQL_NAME_FIELD:0
    # The user's name (optional)
    MYSQL_NAME_FIELD name
    ##NAME: MYSQL_MAILDIR_FIELD:0
    # This is an optional field, and can be used to specify an arbitrary
    # location of the maildir for the account, which normally defaults to
    # $HOME/Maildir (where $HOME is read from MYSQL_HOME_FIELD).
    # You still need to provide a MYSQL_HOME_FIELD, even if you uncomment this
    # out.
    MYSQL_MAILDIR_FIELD maildir
    ##NAME: MYSQL_DEFAULTDELIVERY:0
    # Courier mail server only: optional field specifies custom mail delivery
    # instructions for this account (if defined) -- essentially overrides
    # DEFAULTDELIVERY from ${sysconfdir}/courierd
    # MYSQL_DEFAULTDELIVERY defaultdelivery
    ##NAME: MYSQL_QUOTA_FIELD:0
    # Define MYSQL_QUOTA_FIELD to be the name of the field that can optionally
    # specify a maildir quota. See README.maildirquota for more information
    MYSQL_QUOTA_FIELD quota
    ##NAME: MYSQL_AUXOPTIONS:0
    # Auxiliary options. The MYSQL_AUXOPTIONS field should be a char field that
    # contains a single string consisting of comma-separated "ATTRIBUTE=NAME"
    # pairs. These names are additional attributes that define various per-account
    # "options", as given in INSTALL's description of the "Account OPTIONS"
    # setting.
    # MYSQL_AUXOPTIONS_FIELD auxoptions
    # You might want to try something like this, if you'd like to use a bunch
    # of individual fields, instead of a single text blob:
    # MYSQL_AUXOPTIONS_FIELD CONCAT("disableimap=",disableimap,",disablepop3=",disablepop3,",disablewebmail=",disablewebmail,",sharedgroup=",sharedgroup)
    # This will let you define fields called "disableimap", etc, with the end result
    # being something that the OPTIONS parser understands.
    ##NAME: MYSQL_WHERE_CLAUSE:0
    # This is optional, MYSQL_WHERE_CLAUSE can be basically set to an arbitrary
    # fixed string that is appended to the WHERE clause of our query
    # MYSQL_WHERE_CLAUSE server='mailhost.example.com'
    ##NAME: MYSQL_SELECT_CLAUSE:0
    # (EXPERIMENTAL)
    # This is optional, MYSQL_SELECT_CLAUSE can be set when you have a database,
    # which is structuraly different from proposed. The fixed string will
    # be used to do a SELECT operation on database, which should return fields
    # in order specified bellow:
    # username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname, options
    # The username field should include the domain (see example below).
    # Enabling this option causes ignorance of any other field-related
    # options, excluding default domain.
    # There are two variables, which you can use. Substitution will be made
    # for them, so you can put entered username (local part) and domain name
    # in the right place of your query. These variables are:
    # $(local_part), $(domain), $(service)
    # If a $(domain) is empty (not given by the remote user) the default domain
    # name is used in its place.
    # $(service) will expand out to the service being authenticated: imap, imaps,
    # pop3 or pop3s. Courier mail server only: service will also expand out to
    # "courier", when searching for local mail account's location. In this case,
    # if the "maildir" field is not empty it will be used in place of
    # DEFAULTDELIVERY. Courier mail server will also use esmtp when doing
    # authenticated ESMTP.
    # This example is a little bit modified adaptation of vmail-sql
    # database scheme:
    # MYSQL_SELECT_CLAUSE SELECT CONCAT(popbox.local_part, '@', popbox.domain_name), \
    # CONCAT('{MD5}', popbox.password_hash), \
    # popbox.clearpw, \
    # domain.uid, \
    # domain.gid, \
    # CONCAT(domain.path, '/', popbox.mbox_name), \
    # domain.quota, \
    # CONCAT("disableimap=",disableimap,",disablepop3=", \
    # disablepop3,",disablewebmail=",disablewebmail, \
    # ",sharedgroup=",sharedgroup) \
    # FROM popbox, domain \
    # WHERE popbox.local_part = '$(local_part)' \
    # AND popbox.domain_name = '$(domain)' \
    # AND popbox.domain_name = domain.domain_name
    ##NAME: MYSQL_ENUMERATE_CLAUSE:1
    # {EXPERIMENTAL}
    # Optional custom SQL query used to enumerate accounts for authenumerate,
    # in order to compile a list of accounts for shared folders. The query
    # should return the following fields: name, uid, gid, homedir, maildir, options
    # Example:
    # MYSQL_ENUMERATE_CLAUSE SELECT CONCAT(popbox.local_part, '@', popbox.domain_name), \
    # domain.uid, \
    # domain.gid, \
    # CONCAT(domain.path, '/', popbox.mbox_name), \
    # CONCAT('sharedgroup=', sharedgroup) \
    # FROM popbox, domain \
    # WHERE popbox.local_part = '$(local_part)' \
    # AND popbox.domain_name = '$(domain)' \
    # AND popbox.domain_name = domain.domain_name
    ##NAME: MYSQL_CHPASS_CLAUSE:0
    # (EXPERIMENTAL)
    # This is optional, MYSQL_CHPASS_CLAUSE can be set when you have a database,
    # which is structuraly different from proposed. The fixed string will
    # be used to do an UPDATE operation on database. In other words, it is
    # used, when changing password.
    # There are four variables, which you can use. Substitution will be made
    # for them, so you can put entered username (local part) and domain name
    # in the right place of your query. There variables are:
    # $(local_part) , $(domain) , $(newpass) , $(newpass_crypt)
    # If a $(domain) is empty (not given by the remote user) the default domain
    # name is used in its place.
    # $(newpass) contains plain password
    # $(newpass_crypt) contains its crypted form
    # MYSQL_CHPASS_CLAUSE UPDATE popbox \
    # SET clearpw='$(newpass)', \
    # password_hash='$(newpass_crypt)' \
    # WHERE local_part='$(local_part)' \
    # AND domain_name='$(domain)'
    I have been reading around about that error to no avail.
    i have extension=openssl.so uncommented in /etc/php/php.ini and round cube says my openssl is fine.
    Any help would be much appreciated!
    kush
    Last edited by kush (2012-01-05 16:49:18)

    Hey Kush I am having the same issue, did you ever get it working???

  • Virtual mail domain problem

    I upgrade to 10.5 and it did a lot of damage. I got most of it back into shape, however, I have email addresses with the same user name but different domain. So in tiger if I wanted to keep those separate, I create one with the username bob and the second one with username bob2 and a shortname of [email protected] and it all worked.
    So user bob has email address [email protected] and user bob2 has email address [email protected] Which makes two mailboxes.
    Now if I do that, ANY virtual domain I have with same name goes to one box. I.E. [email protected] goes to [email protected] Even if I don't have a specific account setup with an address like [email protected], it will still go through to the one box.
    Any one seen this problem or know where to look to fix it?
    Thanks,

    I don't remember exactly but the post lead me to this article on topicdesk. http://osx.topicdesk.com/content/view/45/41/
    Instead of using shortnames I used postfix aliases and that solved it all. However, it is not a fix to the problem at hand because this means every time you want to add a virtual user you have to go edit a file and bounce postfix.
    Lame.

  • 10.5.1 Broken Mail Server - virtual host configuration

    Hi,
    I have been trying to set up my mail server (new 10.5.1 build) to run with virtual hosts. I read pterobyte's tutorial ( Making Virtual Mail Users in OS X 10.4/10.5 Server) and implemented his suggested workarounds. However, it doesn't seem to have worked. I am now concerned that I have screwed things up beyond reprieve and need help to get it working again.
    To give a start, I have included my postconf output below:
    swallowtail:postfix serverconfig$ postconf -n
    alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
    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 = 10485760
    mydestination = $myhostname,localhost.$mydomain,localhost,inovaplus.com
    mydomain = inovaplus.com
    mydomain_fallback = localhost
    myhostname = swallowtail.inovaplus.com
    newaliases_path = /usr/bin/newaliases
    ownerrequestspecial = no
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost = mailfilter.fastnet.co.uk
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permit_mynetworks rejectrblclient sbl-xbl.spamhaus.org rejectrblclient zen.spamhous.org permit
    smtpdpw_server_securityoptions = none
    smtpdrecipientrestrictions = permitmynetworks,reject_unauthdestination,permit
    smtpduse_pwserver = no
    unknownlocal_recipient_rejectcode = 550
    virtualaliasdomains = hash:/etc/postfix/virtual_domains
    virtualaliasmaps = hash:/etc/postfix/virtual
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    virtual_transport = lmtp:unix:/Volumes/Private/Mail/socket/lmtp

    Same issue here. I am current on all system updates. I have noticed this with any photoshop cs3 jpeg file. When using "mail", attached photoshop jpeg files show up as a plain text document "What???" Using Automator produces the same results. I did not have this problem with 10.5.1. I can't mail out any photoshop jpeg files?!@%* I just got off the phone with apple tech support and they told me that Adobe has not yet updated their software to comply with Leopard. Come on. Cover flow in Leopard 10.5.2 is still not working with Adobe photoshop jpeg files either. They Still show up pixelated. Yes, I know the work around by going into photoshop/preferences/file handling/image previews: Never Save. Yea, sure that works, but that is something that not any Mac user should have to do. I have had more problems dealing with pictures on my Mac than my Pc by far. Anybody else? Solution? Better Operating System?

Maybe you are looking for

  • I am having trouble connecting IPAD1 to wireless any suggestions?

    I am having trouble connecting my IPad1 to Belkin Wireless Router. It was working fine until a couple of days ago. I can use my IMAC okay via wireless. I can see my network on the IPad, but message comes up "unable to join the network XXXX". I have r

  • Streaming video from Macbook Pro to 46 inch LCD

    I am trying to stream video from my 13 inch Macbook Pro to my 46 inch Samsung LCD TV. I am using a HDMI cable to a DVI cable to attach the computer. When I play videos from iTunes, the picture looks great, however when I am streaming video from an in

  • No G/L account has been specified for O /USD for the bank

    Dear All, When i run automatic payment using F110 there are an error message "No G/L account has been specified for O /USD for the bank" What should I do to solve this problem ? Thank You. -tweety-

  • Imaq image to word report

    I have IMAQ image and I want to generate report ald place this image in table cell: Can I do that without safing image on disk?

  • Sales order: Two schedule line items for single order item

    Hi, I have an issue with the schedule lines in the sales order. When we create a sales order  with today as the delivery date, it creates two schedule lines for the single order item. But if we give future date as the delivery date, then it creates o