FlorianLeo

Q: Mail Service is strangely interrupted

Hello everybody,

since the Upgrade from 10.7 to 10.8 the mailservice isn't working like it used to. After the Upgrade Mail-Application on the Apple-Laptops show a green dot when verifying connectivity but the users can't send mails any more

 

 

Some interesting output from the CLI

macmini:/ admin$ sudo serveradmin start mail -d

Sending to mail

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

          <key>command</key>

          <string>setState</string>

          <key>state</key>

          <string>START</string>

</dict>

</plist>

 

 

2012-07-29 21:02:42.507 serveradmin[16849:a07] Error executing: postfix set-permissions: with error: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

2012-07-29 21:02:42.970 serveradmin[16849:a07] Error executing: postfix check: with error: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virus_db_update_enabled=1

mail:state = "STARTING"

 

 

Not that I wouldn't understand the words - I can find the variable in the main.cf file - still, what does this message exactly mean?

 

Shell this variable be set to a different value? What are the values?

Shell this variable be removed?

 

I wonder if this would solve the issue of not being able to use the SMTP via Mail-Application any more.....

 

Please, somebody who knows what to do, would you mind and help me out?

OS 10.6 and 10.7

Posted on Jul 29, 2012 12:45 PM

Close

Q: Mail Service is strangely interrupted

  • All replies
  • Helpful answers

Previous Page 2
  • by Stefan R,

    Stefan R Stefan R Aug 7, 2012 11:29 AM in response to FlorianLeo
    Level 1 (15 points)
    Aug 7, 2012 11:29 AM in response to FlorianLeo

    I have created and instered the text into the file. :-)

     

    What character us inbetween "delete   ... and ...  REJECT"? Speces i guess?

     

     

    Also... the postmap smtpdreject created the smtpdreject.db but shouldn't it be ".cidr"? Is it just to rename it?

  • by Stefan R,

    Stefan R Stefan R Aug 7, 2012 4:02 PM in response to FlorianLeo
    Level 1 (15 points)
    Aug 7, 2012 4:02 PM in response to FlorianLeo

    Thanks a bunch Leo. I have got everything up and running.

  • by FlorianLeo,

    FlorianLeo FlorianLeo Aug 11, 2012 1:45 PM in response to Stefan R
    Level 1 (9 points)
    Mac OS X
    Aug 11, 2012 1:45 PM in response to Stefan R

    Hello Stefan,

     

     

    Stefan R wrote:

     

    I have created and instered the text into the file. :-)

     

    What character us inbetween "delete   ... and ...  REJECT"? Speces i guess?

     

     

    Also... the postmap smtpdreject created the smtpdreject.db but shouldn't it be ".cidr"? Is it just to rename it?

     

     

    The character used inbetween is TABULATOR

     

     

     

    I don't know why some files are available als .db only and others are available as .cidr, too.

     

    The command postmap <path of file> - as far as I know - will produce (depending on your default setting which is usally hash) a .db file. You can change this behavior by explicitly specifieing the datatype at the moment of issuing the postmap-command or by changing the default-behavior of the system - BUT - if you change the default-behavior then this might mean you have to change the values from a lot of variables in the main.cf, too! Details can be found on www.postfix.org.

     

    However, I am happy to hear that you made it!!

     

    Like I said earlier - please - get yourself a book about postfix - you might very well need it if things continue to go on like this with Apple-Servers. I have opened a bugreport-case on this but I don't think that there will be much outcome

     

    I have meanwhile copied both main.cf files to my desktop, deleted ALL comments, alphabetically ordered the variables, and then compared them what a mess. Some variables are in one file which aren't in the other - some variables have different values then the same variable in the other file - some variables have no value (= so why are they there at all?!)

     

    If some info of mine helped you solving your issue, too, please rate them. Thank you!

  • by Rubi08,

    Rubi08 Rubi08 Sep 10, 2012 5:32 PM in response to FlorianLeo
    Level 1 (0 points)
    Sep 10, 2012 5:32 PM in response to FlorianLeo

    This worked for me as well as a number of other fixes to get Mail running. What I did have to omit was

    alias_maps = hash:/etc/postfix/aliases

    It was giving me errors.

Previous Page 2