Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mail Server problems with Mountain Lion Server

Well, I don't see a section here for Mountain Lion yet so I'll ask here. I installed Mountain Lion Server and for the most part everything is working well. I am have issues with the Mail Server though. As long as I dissable everthing but the Blacklist filter all works fine. If I enable Junk Mail or Virus filters I get this:


postfix/smtp[52062]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused


From doing some serching it seems to have something to do with amavisd but I don't think it is installed on my system. If it is I can't seem to find it. Should it be installed with the Server Software?


I'm really lost here so any help would be great.


Thanks,

Tom

Posted on Aug 20, 2012 4:30 PM

Reply
37 replies

Aug 21, 2012 1:22 AM in response to thomasfromclover

Hi


". . . I don't see a section here for Mountain Lion yet . . ."


https://discussions.apple.com/community/servers_enterprise_software


It's the one right at the top of the list entitled "OS X Server". Apple for reasons of their own have decided to move away from the previously used convention.


What issues exactly are you having with the mail service? Can you send mail only? Can you receive only? Can you send/receive mail internally OK? Is DNS working as it should and so on.


Amavis is installed (issue "whereis amavisd" from the command line to see its location) and you should see it running by simply using the Activity Monitor.


When you first enable the Mail Service and assuming you've configured external DNS correctly (MX Record etc) and the firewall (the one at your network's edge) has been configured apporpriately, then graylisting will be on by default. This gives the appearence that your Mail Server is not receiving much or any mail but is sending it OK. If that is the case then simply disable the Anti-Spam and Anti-Junk Mail filters. Amavis itself has its own log at /var/log/amavis.log which will also show you something?


HTH?


Tony

Aug 21, 2012 2:38 AM in response to Antonio Rocco

Thanks for the reply.


When I give the whereis amavisd command it returns nothing. Just returned back to the command prompt. Also I was logged in as root. Activity Monitor shows no amavisd process running. Also, no file called /var/log/amavis.log


Mail is working fine in both directions (sending and receiving) as long as I disable Junk Mail and Virus Checker. If I enable either one of them I get the "Connection Refused" message


One more note. I did not upgrade the server from Lion. The first time I installed the Server Package was after the Mountain Lion update. I really think amavisd is not installed so if that is the case, how do I install it?


Thanks again,

Tom

Aug 21, 2012 9:36 AM in response to thomasfromclover

amavisd is located in /Applications/Server.app/Contents/ServerRoot/usr/bin



Starting with 10.8, lots of the server related apps, binaries, config files, launchd items etc, are locate inside Server.app with the root directory being /Applications/Server.app/Contents/ServerRoot/usr/bin

There is still some stuff on other locations so don't expect everthing to be there.



Sounds like amavisd is not starting. Try this:

-enable filtering (junk mail, virus)

-open Terminal and issue

sudo ps U amavisd


-if after issuing above command you see no amavisd process listed, issue:

sudo /bin/launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.amavis.amavisd.plist


-wait a moment and issue:

sudo ps U amavisd


-you should now see a few amavisd processes running. If not, check /var/log/system.log for clues



HTH,

Alex

Aug 21, 2012 4:16 PM in response to pterobyte

Ok, there were no processes running. I ran the command you suggested and now everything is working.

Thank you

Thank you

Thank you!!!


My question is though, will it continue to work after a reboot or do I have to go through this all again?


Please forgive my ignorance in this manner but i am more use to Linux based servers. My last server was running Fedora 19.


Thanks again


Tom

Sep 4, 2012 8:22 PM in response to pterobyte

I had the same problem as Tom, but the solution of Alex does not work for me. I get the following after "sudo ps U amavisd":

PID TT STAT TIME COMMAND

6343 ?? Ss 0:03.85 /Applications/Server.app/Contents/ServerRoot/usr/sbin/clamd


And when I "sudo launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist", i become the same.


Is there something else that is wrong? I would thank you for your help.

Sep 5, 2012 8:39 AM in response to pterobyte

Thank you very much for helping. Hereby my result (is not much, I guess):


server:bin delsup$ sudo launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

Password:

launchctl: Couldn't stat("/Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons /org.a"): No such file or directory

launchctl: Couldn't stat("mavis.amavisd.plist"): No such file or directory

nothing found to load

server:bin delsup$ more /var/log/amavis.log

/var/log/amavis.log: No such file or directory

server:bin delsup$


And then then the system.log (the last ones):


Sep 5 17:25:00 --- last message repeated 1 time ---

Sep 5 17:26:25 server.delsup.org postfix/smtpd[679]: error: get user record: unable to open user record for user=diradmin

Sep 5 17:26:25 server.delsup.org postfix/smtpd[679]: error: validate response: unable to lookup user record for: diradmin

Sep 5 17:26:25 server.delsup.org postfix/smtpd[679]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 17:32:26 server.delsup.org sudo[718]: delsup : TTY=ttys000 ; PWD=/bin ; USER=root ; COMMAND=/bin/launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

Sep 5 17:32:26 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 17:32:26 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 17:33:22 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 17:33:22 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 17:33:38 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 17:33:38 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 17:36:24 server.delsup.org postfix/qmgr[112]: warning: connect to transport private/smtp-amavis: Connection refused

server:bin delsup$


I hope, you can help me? I would be very grateful!!

Sep 5, 2012 10:05 AM in response to pterobyte

I'm sorry i did it wrong (but I think it's this editor that makes the spaces, because before I update this text, there is no space); here the new one


server:~ delsup$ sudo launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

launchctl: Dubious ownership on file (skipping): /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

nothing found to load

server:~ delsup$ sudo more /var/log/amavis.log

/var/log/amavis.log: No such file or directory

server:~ delsup$


and system.log:


Sep 5 17:49:37 server.delsup.org System Preferences[832]: *** WARNING: -[NSImage compositeToPoint:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.

Sep 5 17:49:37 server.delsup.org System Preferences[832]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.

Sep 5 17:49:37 server.delsup.org System Preferences[832]: *** WARNING: -[NSImage compositeToPoint:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.

Sep 5 17:49:37 server.delsup.org System Preferences[832]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.

Sep 5 17:49:37 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.preferences' by client '/System/Library/PrivateFrameworks/Admin.framework/Versions/A/Resources/writeco nfig' [838] for authorization created by '/Applications/System Preferences.app' [832] (100002,0)

Sep 5 17:49:43 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 17:49:43 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 17:49:46 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 17:49:46 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 17:51:34 server.delsup.org WindowServer[99]: Received display connect changed for display 0x1c80e590

Sep 5 17:51:34 server.delsup.org WindowServer[99]: No display devices are on-line. Switching to virtual display mode

Sep 5 17:51:34 server.delsup.org WindowServer[99]: Received display connect changed for display 0x3f003d

Sep 5 17:51:34 server.delsup.org WindowServer[99]: Received display connect changed for display 0x3f003e

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display 0x41dc9d02: GL mask 0x4; bounds (0, 0)[1 x 1], 2 modes available

off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 2, Rotation 0

UUID 0xffffffffffffffffffffffff003f003e

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display 0x41dc9d01: GL mask 0x2; bounds (2304, 0)[1 x 1], 2 modes available

off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 1, Rotation 0

UUID 0xffffffffffffffffffffffff003f003d

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display 0x41dc9d00: GL mask 0x1; bounds (0, 0)[1920 x 1080], 11 modes available

Main, Active, on-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 0, Rotation 0

UUID 0x00000472000000be0390ca1100000000

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Created shield window 0x73 for display 0x41dc9d02

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Created shield window 0x74 for display 0x41dc9d01

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Created shield window 0x75 for display 0x41dc9d00

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display added

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display removed

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display 0x41dc9d00: GL mask 0x1; bounds (0, 0)[1920 x 1080], 11 modes available

Main, Active, on-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 0, Rotation 0

UUID 0x00000472000000be0390ca1100000000

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display 0x41dc9d02: GL mask 0x4; bounds (2944, 0)[1 x 1], 2 modes available

off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 2, Rotation 0

UUID 0xffffffffffffffffffffffff003f003e

Sep 5 17:51:35 server.delsup.org WindowServer[99]: Display 0x41dc9d01: GL mask 0x2; bounds (2945, 0)[1 x 1], 2 modes available

off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 1, Rotation 0

UUID 0xffffffffffffffffffffffff003f003d

Sep 5 17:51:37 server.delsup.org WindowServer[99]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.

Sep 5 17:51:37 server.delsup.org WindowServer[99]: Created shield window 0x7d for display 0x41dc9d00

Sep 5 17:51:37 server.delsup.org WindowServer[99]: Display 0x41dc9d00: VirtualDisplay Unit 0; ColorProfile { 1, "Default(sRGB IEC61966-2.1)"}; TransferFormula (1.000000, 1.000000, 1.000000)

Sep 5 17:51:37 --- last message repeated 1 time ---

Sep 5 17:51:37 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 17:51:37 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 17:56:27 server.delsup.org postfix/smtpd[870]: error: get user record: unable to open user record for user=diradmin

Sep 5 17:56:27 server.delsup.org postfix/smtpd[870]: error: validate response: unable to lookup user record for: diradmin

Sep 5 17:56:27 server.delsup.org postfix/smtpd[870]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 18:01:24 server.delsup.org postfix/qmgr[112]: warning: connect to transport private/smtp-amavis: Connection refused

Sep 5 18:06:26 server.delsup.org postfix/smtpd[926]: error: get user record: unable to open user record for user=diradmin

Sep 5 18:06:26 server.delsup.org postfix/smtpd[926]: error: validate response: unable to lookup user record for: diradmin

Sep 5 18:06:26 server.delsup.org postfix/smtpd[926]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 18:16:26 server.delsup.org postfix/smtpd[975]: error: get user record: unable to open user record for user=diradmin

Sep 5 18:16:26 server.delsup.org postfix/smtpd[975]: error: validate response: unable to lookup user record for: diradmin

Sep 5 18:16:26 server.delsup.org postfix/smtpd[975]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 18:26:27 server.delsup.org postfix/smtpd[1027]: error: get user record: unable to open user record for user=diradmin

Sep 5 18:26:27 server.delsup.org postfix/smtpd[1027]: error: validate response: unable to lookup user record for: diradmin

Sep 5 18:26:27 server.delsup.org postfix/smtpd[1027]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 18:30:37 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 18:30:37 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 18:36:27 server.delsup.org postfix/smtpd[1085]: error: get user record: unable to open user record for user=diradmin

Sep 5 18:36:27 server.delsup.org postfix/smtpd[1085]: error: validate response: unable to lookup user record for: diradmin

Sep 5 18:36:27 server.delsup.org postfix/smtpd[1085]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 18:39:41 server.delsup.org screensharingd[1106]: Authentication: SUCCEEDED :: User Name: Sara Delsupehe :: Viewer Address: 192.168.19.50 :: Type: DH

Sep 5 18:40:48 server.delsup.org login[1115]: in pam_sm_acct_mgmt(): OpenDirectory - Membership cache TTL set to 1800.

Sep 5 18:40:48 server.delsup.org login[1115]: in od_record_check_pwpolicy(): retval: 0

Sep 5 18:40:48 server.delsup.org login[1115]: in od_record_attribute_create_cfstring(): returned 2 attributes for dsAttrTypeStandard:AuthenticationAuthority

Sep 5 18:40:48 server.delsup.org login[1115]: USER_PROCESS: 1115 ttys000

Sep 5 18:41:27 server.delsup.org mail_groups[1128]: sleeping for: 1 hour(s)

Sep 5 18:41:35 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 18:41:35 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 18:41:35 server.delsup.org servermgrd[410]: -[AccountsRequestHandler(AccountsSystemConfigurationObservation) registerForKeychainEventNotifications]: SecKeychainAddCallback() status: -25297

Sep 5 18:41:41 server.delsup.org sudo[1131]: delsup : TTY=ttys000 ; PWD=/Users/delsup ; USER=root ; COMMAND=/bin/launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

Sep 5 18:41:42 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 18:41:42 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 18:46:24 server.delsup.org postfix/qmgr[112]: warning: connect to transport private/smtp-amavis: Connection refused

Sep 5 18:46:26 server.delsup.org postfix/smtpd[1152]: error: get user record: unable to open user record for user=diradmin

Sep 5 18:46:26 server.delsup.org postfix/smtpd[1152]: error: validate response: unable to lookup user record for: diradmin

Sep 5 18:46:26 server.delsup.org postfix/smtpd[1152]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 18:48:32 server.delsup.org sudo[1171]: delsup : TTY=ttys000 ; PWD=/Users/delsup ; USER=root ; COMMAND=/usr/bin/more /var/log/amavis.log

Sep 5 18:48:32 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 18:48:32 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 18:48:54 server.delsup.org sudo[1174]: delsup : TTY=ttys000 ; PWD=/Users/delsup ; USER=root ; COMMAND=/usr/bin/more /var/log/system.log

Sep 5 18:48:55 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 18:48:55 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 18:56:24 server.delsup.org postfix/qmgr[112]: warning: connect to transport private/smtp-amavis: Connection refused

Sep 5 18:56:26 server.delsup.org postfix/smtpd[1211]: error: get user record: unable to open user record for user=diradmin

Sep 5 18:56:26 server.delsup.org postfix/smtpd[1211]: error: validate response: unable to lookup user record for: diradmin

Sep 5 18:56:26 server.delsup.org postfix/smtpd[1211]: warning: unknown[192.168.19.50]: SASL CRAM-MD5 authentication failed

Sep 5 18:57:53 server.delsup.org sudo[1225]: delsup : TTY=ttys000 ; PWD=/Users/delsup ; USER=root ; COMMAND=/bin/launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

Sep 5 18:57:54 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 18:57:54 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 19:00:28 server.delsup.org sudo[1235]: delsup : TTY=ttys000 ; PWD=/Users/delsup ; USER=root ; COMMAND=/bin/launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

Sep 5 19:00:28 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 19:00:28 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 19:00:48 server.delsup.org sudo[1237]: delsup : TTY=ttys000 ; PWD=/Users/delsup ; USER=root ; COMMAND=/usr/bin/more /var/log/amavis.log

Sep 5 19:00:49 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 19:00:49 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

Sep 5 19:01:59 server.delsup.org sudo[1248]: delsup : TTY=ttys000 ; PWD=/Users/delsup ; USER=root ; COMMAND=/usr/bin/more /var/log/system.log

Sep 5 19:01:59 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (2,0)

Sep 5 19:01:59 server.delsup.org com.apple.SecurityServer[19]: Succeeded authorizing right 'system.privilege.admin' by client '/Library/PrivilegedHelperTools/com.apple.serverd' [67] for authorization created by '/Applications/Server.app/Contents/ServerRoot/usr/libexec/ServerEventAgent' [115] (100000,0)

server:~ delsup$

Sep 5, 2012 10:28 AM in response to clerge

Try this:

sudo /bin/launchctl unload -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.amavis.amavisd.plist


Wait a moment, then issue:

sudo /bin/launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.amavis.amavisd.plist


If it still doesn't work, please check /Library/Logs/Mail/amavis.log (sorry, gave you wrong location before - has changed in 10.8).

Sep 5, 2012 10:41 AM in response to pterobyte

No sorry for you. It's me, I'm a very very beginner. I am very grateful to you.


But I'v still got no results:


server:~ delsup$ sudo /bin/launchctl unload -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

Password:

launchctl: Dubious ownership on file (skipping): /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

nothing found to unload

server:~ delsup$ sudo /bin/launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

launchctl: Dubious ownership on file (skipping): /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.a mavis.amavisd.plist

nothing found to load

server:~ delsup$ sudo more /Library/Logs/Mail/amavis.log

/Library/Logs/Mail/amavis.log: No such file or directory

server:~ delsup$

Mail Server problems with Mountain Lion Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.