Virtual domains and their installation
Hello again Alex,
and anyone else able to enlighten me.
Thank you all for your help the last time I was in need.
I'm setting up Postfix by editing the postfix files directly without using server admin due to it's limitations. Especially since I'm using an external GW in a DMZ along with an internal server delivering the mail.
And now I would like to add virtual domains using "Postfix virtual MAILBOX example: separate domains, non-UNIX accounts". Is this possible with OS X?
I have read what is on postfix.org, I have read what is in Alex's installation guide but there are a few things I'm not getting.
I've created the virtual domains and all that stuff but I'm not getting the creation of user access. Do you mean I actually need to create each and every user acessing mail in Workgroup manager?
Could you point me to some information that bypasses the use of server admin but is still usefull in setting up mail under OS X. I don't want to use SA since I do not want to ruin my manual setup of the Postfix files.
Kind regards
Hans
Are you then saying it would be easier to define the
users in workgroup manager and use a couple of
aliases for each user acessing mail?
Definitely easier, but with the limitations you already know.
Is it possible, using this method to use names like
[email protected], [email protected] etc. rather than
[email protected], [email protected] etc.
Sure, just follow my tutorial.
And when
logging into the mailservice do I then have to use
the full [email protected] as a user login name to
access the virtual mailboxes?
Yes, full name with domain.
And is it correct to assume that when using the
server for more than one domain I need to define the
first as a local domain and the rest as virtual
domains?
Yes (if you want to have "hans" as a different user in each domain).
Alex
P.S. Just make a backup fo main.cf so you can copy paste changes that might get hosed by Server Admin. Once your setup is complete, adding users through WGM or aliases through /etc/postfix/virtual will not touch main.cf
Similar Messages
-
Virtual Domains and Aliases - the sequel
Ok pterobyte
I have successfully set up virtual domains and aliases on several systems including Mac OS 10.4 - now i'm trying to set up a brand new xserve to host a local domain and several virtual domains...
I have followed pterobytes method of creating virtual domains and aliases etc. However, whether I use /etc/postfix/aliases (for local users) or /etc/postfix/virtual for virtual users - I cannot get the mail to go to two addresses at the same time.
The mail.log only records the mail being sent to local mail box.
Here's an example:
local user example (remote.com is a remote domain where mail should be forwarded to as well as sent to local mail box.)
#aliases
local_guy [email protected], [email protected]
virtual user example
#virtual
[email protected] virtual_guy, [email protected]
"virtual.com" is set up as a virtual domain in SA Mail and mail.virtual.com is that users mail server in WGM.
BTW in pterobyte's latest pdf manual shortname 3 says "shortname3-x: aliases for e-mail address under shortname2" what does that mean?
As I said mail delievers correctly locally but does NOT go to the remote address. Does anyone have a clue what else I can look at?
anyone?
anyone?
Pterobyte?
PowerBook G4, MacBook, various servers Mac OS X (10.4.3)sorry I missed the colon in the posted message:
it is local_guy: [email protected], [email protected]
Here's the postconf -n (I restored the aliases file back to default last night - i've been working on the virtual forward.)
Thans for getting back so fast...
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 = 52428800
mydestination = $myhostname,localhost.$mydomain,localhost
mydomain = iplanitonline.com
mydomain_fallback = localhost
myhostname = mail.iplanitonline.com
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permit_mynetworks rejectrblclient sbl-xbl.spamhaus.org rejectrblclient relays.ordb.org permit
smtpdpw_server_securityoptions = cram-md5,login,plain
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_keyfile =
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains = hash:/etc/postfix/virtual_domains
virtual_transport = lmtp:unix:/var/imap/socket/lmtp
MacBook (BootCamp), various Macs and servers Mac OS X (10.4.7) -
Windows Virtual PC and XP installation fails, with eror code: 80070002
Windows Virtual PC and XP installation of: RefreshPkg.msu, fails, with eror code: 80070002
I have tried to look around for at fix but with no luck so far, PLEASE HELP !
Incl. CBS log with error:
2014-02-21 16:30:10, Info CBS Clearing HangDetect value
2014-02-21 16:30:10, Info CBS Saved last global progress. Current: 1, Limit: 1, ExecuteState: CbsExecuteStateFailed
2014-02-21 16:30:10, Info CBS Doqe: Unlocking driver updates, Count 3
2014-02-21 16:30:10, Info CBS WER: Generating failure report for package: Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393,
status: 0x80070002, failure source: AI, start state: Staged, target state: Installed, client id: WindowsUpdateAgent
2014-02-21 16:30:10, Info CBS Failed to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-21 16:30:10, Info CBS Failed to add %windir%\winsxs\pending.xml to WER report because it is missing. Continuing without it...
2014-02-21 16:30:10, Info CBS Failed to add %windir%\winsxs\pending.xml.bad to WER report because it is missing. Continuing without
it...
2014-02-21 16:30:11, Info CBS SQM: Reporting package change completion for package: Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393,
current: Staged, original: Staged, target: Installed, status: 0x80070002, failure source:
AI, failure details: "Firewall Rule 80070002 40 Install (first install) Microsoft-Windows-VirtualPC-Application, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS ",
client id: WindowsUpdateAgent, initiated offline: False, execution sequence: 917, first merged sequence: 917
2014-02-21 16:30:11, Info CBS SQM: Upload requested for report: PackageChangeEnd_Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393,
session id: 142862, sample type: Standard
2014-02-21 16:30:11, Info CBS SQM: Ignoring upload request because the sample type is not enabled: Standard
2014-02-21 16:30:11, Info CBS Startup: Package: Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393
completed startup processing, new state: Staged, original: Staged, targeted: Installed. hr = 0x80070002
2014-02-21 16:30:11, Info CBS Startup: Package: Microsoft-Windows-VirtualPC-Package-MiniLP~31bf3856ad364e35~amd64~ar-SA~7.1.7600.16393 completed
startup processing, new state: Staged, original: Staged, targeted: Installed. hr = 0x800f0826
2014-02-21 16:30:11, Info CBS Startup: Package: Microsoft-Windows-VirtualPC-Package-MiniLP~31bf3856ad364e35~amd64~cs-CZ~7.1.760See ZDnet article Microsoft releases fix for Windows Update corruption errors found @
http://www.zdnet.com/microsoft-releases-fix-for-windows-update-corruption-errors-7000026582/
The Microsoft KB article is found @
http://support.microsoft.com/kb/947821
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
Weblogic-next, virtual domains and SSL
Hi
Current versions of WL (6.1 and below) do not support distinct
Certificates for each virtual domain. This means that we cannot
support multiple secure sites (HTTP-S based) using the virtual domain feature
in WL. And this affects us as we are an ASP, and our customers need distinct domain
names.
Another issue is that the security realm (RDBMS, File, whatever)
is shared amongst the virtual domains, so the authentication
database is essentially common for all our customers.
Will these problems be fixed in the upcoming major release of
WebLogic ? I'd greatly appreciate it someone within WL can
send me an answer - group post/private. (I'm also trying the sales/support channels).
thanx
-john mani
director, engineering
6Dsmcnulty,
You are referring to Cyrus ACLs which apply to IMAP and not SMTP. As I said IMAP logins work just fine, it was SMTP that didn't accept the user. User creation with WGM works well, no problems here. Your tips may surely be of help to someone having IMAP/POP issues.
pterobyte:
Alex saved the day (again). You were certainly right that postfix didn't even know about the configurations I made in /etc/postfix/virtual. Everything is working fine now and I am only waiting for my DNS transfer to finally carry over. I only need to setup a backup MX, nothing more to do.
Thanks
MacLemon
PS: Sorry, the system chokes an error upon awarding stars and marking as solved. Will try again at a later date.
Message was edited by: MacLemon, added note about problems marking as solved and awarding stars. -
Shared virtual disks and linux installation
Dear all,
when i add some shared virtual disk to the virtual machine and start the instsallation of oracle linux i face a major performance issue and the system takes a long time to boot and linux cd's and start the instsallation process, i don't know why this issue is happening to me but it is giving me alot of troubes. i had to buy a new machine with husge configuration to try oracle VM and i feel like i bought for no benifits at all
your help will be appreciated/Avi,
Actually, if you have one server HA would do nothing for you. You need at least two servers for HA to be useful.
Also I would believe that since you only have one 500 gig drive I am sure it is a sata drive that you are using. That drive is running your Dom0 plus all other DomU's. The shared drive is a file on the filesystem under the /OVS directory your DomU system drive is a file on the /OVS filesystem. While your experience is still a little odd it would run but be really slow. You say that without the shared drive it runs OK so my first thought would be to drop the shared disk and recreate it since it sounds like you have nothing on it at this point in time anyway.
Could be that the file for the shared disk became corrupt with something else you had done. -
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.
/LarsHi 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 -
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 + 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 -
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. -
Set up virtual domain without Server Admin?
Hello all--
I need to set up mail service for a second domain on our Xserve. Don't want to use Server Admin, because by now I've tweaked postfix, cyrus, amavisd, spamassassin, etc so much that I'm afraid using Server Admin to make any config changes will break things. So can anyone point me to a thread or another website with instructions/tutorials on how to configure virtual host/virtual domains/local host aliases, etc without the use of Server Admin? Many thanks--If you want to keep the same structure for your virtual domains and continue using WGM then there is little you need to do.
Create the users in WGM as virtual users (will need a shortname [email protected])
Edit /etc/postfix/virtual_domains and add the domain followed by a space andd "allow"
Issue sudo postmap /etc/postfix/virtual_domains
Issue sudo postfix reload
That's it.
If you want to use actual postfix style virtual domains then www.postfix.org is a good starting point. -
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. -
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 -
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,
RussDid 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 -
Aliases and not mailboxes for virtual domain
I know that virtual domains are broken in 10.5.1 and I'm not sure I want to upgrade to 10.5.2 yet until I know everyone else who has done it is working fine.
My question is our OSX Mail Server primary domain is xpmedia.com. We have an old mail server we are wanting to transition off of slowly. Right now the primary domain on that old server is extremeprophetic.com. We are wanting to take every single e-mail address on the old server and make them all xpmedia.com addresses which I'm in the process of creating right now. At some point we want to direct the MX record for Extreme Prophetic to our new mail server and do away with those addresses.
I don't want to create mailboxes for those addresses as they are going away. So my question is this. Let's say my old account is [email protected] and my new account on the new server is [email protected] If when I create that new xpmedia.com address, can I just make an alias in WGM for [email protected] and it will all come to my xpmedia.com account? Or do I have to do it the way of all my other virtual domains with the editing of the virtual file in postfix and forward those accounts on to xpmedia.com addresses?I think I found out how to do this by reading another entry. I just need to make the other domain not a virtual domain but a local host alias. I think I'm good to go.
-
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 SchneiderI 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)
Maybe you are looking for
-
Securing file downloads to a client side download manager.
The Requirement: I need to be able to have clients download a java based download manager that will allow them to log in to their account after they have purchased FLAC music files. The download manager would allow for resume. All of this is really n
-
Hi everyone, I am loving my new Macbook Air. It is truly a wonderful computer. Anyway, I noticed that the power adapter that came with the computer is considerably smaller compared to other macbook models. This weekend, I forgot my power adapter at w
-
Book mark is not working on EP Portal
Dear All, I'm trying for bookmark on EP portal but it was not working.When I click the bookmark option noting happened. My address bar url also not changed. Please help ...... Regards, Sasi Message was edited by: Sasidhar B
-
Reversing Order of Slides in Slideshow
We were finalizing a slideshow and went into Settings and must have accidentally clicked some shortcut - our entire 124 slide slideshow reversed in order. Does anyone know what happened? More important, how can we reverse this? Thanks.
-
Session expired - sitzungszeit abgelaufen
I have now a new ipad mini. After setup I want to download some Apps. But I can´t buy some apps with my Itunes account. (Need to change credit card details). Seconds upon registering I get the message "session expired". It comes again and again... A