10.5.5 loses config, defaults to open mail relay

Hi,
I seem to have a persistent problem with a newly-built 10.5.5 server. When I initially set up the server, I checked the "Accept SMTP relays only from these hosts and network" box, with the settings 127.0.0.0/8 and 192.168.0.0/16 - the latter being the NAT address range of the local LAN.
However if I stop and start the Mail service, the server appears to lose its config and will now accept an SMTP relay from anywhere on the planet. This can be verified in the logs and the monumental increase in traffic on the server. Using an online open relay tester such as SpamHelp (http://www.spamhelp.org/shopenrelay/shopenrelaytest.php) verifies the problem.
If I stop SMTP, re-do the settings in the "Accept SMTP relays ..." dialog box then re-start SMTP, the settings take effect and the server no longer behaves as an open relay - it's triggered only by stopping and then restarting the entire Mail service. And as an added bonus, the settings appear correct in the Relay dialog at all times - it's only the network usage and outside verification that indicates there's a problem.
Anyone got any good ideas? All suggestions gratefully received ....
Cheers ...... Kent

OK, changes made ... for some reason the localrecipientmaps entry was appearing multiple times in main.cf, and the final version was empty. Have edited to correct the problem and have added the new entries ... postconf -n now looks like this:
alias_maps = hash:/etc/postfix/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
disablevrfycommand = yes
enableserveroptions = yes
html_directory = no
inet_interfaces = localhost
localrecipientmaps = proxy:unix:passwd.byname $alias_maps
luser_relay =
mail_owner = _postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
messagesizelimit = 20971520
mydestination = $myhostname,localhost.$mydomain,localhost,mtvictoria.org.nz
mydomain = mtvictoria.org.nz
mydomain_fallback = localhost
myhostname = mtvictoria.org.nz
mynetworks = 127.0.0.1/32
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpdclientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_rblclient zen.spamhaus.org,permit
smtpddatarestrictions = permitmynetworks,reject_unauthpipelining,permit
smtpdhelorequired = yes
smtpdhelorestrictions = permitsasl_authenticated,permit_mynetworks,check_heloaccess hash:/etc/postfix/heloaccess,reject_non_fqdn_hostname,reject_invalidhostname,permit
smtpdpw_server_securityoptions = plain,cram-md5
smtpdrecipientrestrictions = rejectinvalid_hostname,reject_non_fqdn_sender,reject_non_fqdn_recipient,permit_sasl_au thenticated,permit_mynetworks,reject_unauth_destination,reject_unlisted_recipien t,reject_rblclient zen.spamhaus.org,permit
smtpdsasl_authenable = yes
smtpdsenderrestrictions = permitsasl_authenticated,permit_mynetworks,reject_non_fqdnsender,permit
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
Also cleared the deferred message queue using postsuper.
Now seeing the following in the logs:
Oct 8 22:04:41 mtvictoria postfix/master[47484]: daemon started -- version 2.4.3, configuration /etc/postfix
Oct 8 22:04:58 mtvictoria postfix/smtpd[47492]: fatal: open database /etc/postfix/aliases.db: No such file or directory
Oct 8 22:04:59 mtvictoria postfix/master[47484]: warning: process /usr/libexec/postfix/smtpd pid 47492 exit status 1
Oct 8 22:04:59 mtvictoria postfix/master[47484]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Thanks for the marathon assistance - really appreciate it!
Cheers

Similar Messages

  • Open mail -relay problem !

    Hi,
    My Internet/Mail server is Netra i with Solaris 2.5.1.
    I received e-mail from mail-abuse org saying that my mail server is open for mail-relay.
    How can I disable it ?
    Thanks Ivan

    Hello there,
    I believe that is true with sendmail 8.6 version which was shipped
    with Solaris 5.5.1 or 5.6. You will need to apply the latest
    5.5.1 sendmail patch (103594-19) which upgrades 5.5.1 sendmail
    to be equivalent to sendmail 8.8.8+sun patches.
    Unlike previous versions, sendmail 8.8 can be configured not to
    pass on mail from one user outside the local domain to another in sendmail.cf
    FYI, mconnect <your hostname> will show the current sendmail rev.
    Hope this helps.
    Hae
    Sun Developer Technical Support

  • How to change default to open attachments

    How do I change the default that opens attachments? For me it's Textedit which is fine but for my wife who has her own profile on same computer it's AbiWord for some reason, and it's terrifically slow. I have looked in Help, Missing Manual, etc but no luck, I'm sure I did know the answer at one stage.
    Thanks,
    Michael

    Select one of the affected files then press COMMAND-I to open the Get Info window. In the Open With section select the desired application from the drop down menu, then click on the Change All button. This will cause all similar files to be opened by the selected application.
    An alternative or rather an extension to the above is to download the freeware RCDefaultApp preference pane and install it. It will let you set defaults for just about everything. A very handy bit of software.

  • PDF export with link to document defaulting to "Open a web link" instead of "Open a file"

    I have a MS Access database and I'm trying to export reports to PDF (I have Acrobat XI Pro) that include a hyperlink to another document on the same drive on my computer.  I have tested this with hyperlinked email addresses, and emails export fine to PDF and are still functional, opening a new email in Outlook.  The hyperlinks to documents work fine in MS Access, opening a Word, PDF, or other document when clicked.
    When I export to PDF, the links to documents say, "This document is trying to connect to: file:" and my filepath.  If I say "Allow," the link tries to open in my default web browser, which comes up blank.  I've tested this on other computers in our office too.  When I right-click the link, I have the option to "Open weblink as a new document" -- this opens the document successfully, but won't be very helpful or fast for our staff.  When I examine the link with Tools - Add or Edit Link, I see that the link's action defaulted to "Open a web link" when the PDF was created.  This seems like it should be "Open a file."  To see if "Open a file" would work in theory, I tried creating a test button in a blank PDF and made the "mouse up" action "Open a file" and linked to various documents on my computer.  Each time, the button does not react to being clicked at all, like nothing happened.
    I also tried making a basic Word doc with just the hyperlink to another document.  It works fine in Word, but, when saved as a PDF, the hyperlink does the same behavior-- tries to connect to the web instead of opening the file on the computer.
    I have a lot of experience building Acrobat PDF forms and working in Acrobat, and I'm almost certain I've created links that open another file on the computer in Acrobat before, but I'm out of ideas and an internet search isn't turning up much.  I welcome any suggestions for things to try.  Thank you!

    This is what I currently have, and it attempts to open in a web browser.  Do you know of a setting in Acrobat I might need to change, or any other solution to tell Acrobat to open the "file:" URL as a document, not try to start the web browser?

  • If I make work in Premiere CC but lose access to CC, do I lose the ability to open the file and edit my work?

    I'm currently using Premiere CS6. Premiere CC looks appealing in terms of the updates, but not the payment model. If I can't pay for CC for a while, or switch to another program one day, will I lose the ability to open any of my Premiere CC files? It's shocking how often I go back to an old project that was made in an ancient program that I no longer use, but because I forever own that software, I'm always able to open the file up and make whatever changes necessary so I can bring the file into a more current program. Is this workflow lost if I lose access to CC? If this is the case, I may have to stick to CS6 just because I have the disks and know I'll always be able to install the programs and access my files.

    New PROJECT files, and SOME data files (such as InDesign ???) will not open in earlier programs... industry standard files (such as JPG) will open in any program
    For more information about a specific program, you will need to ask in that program's forum
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How can I make CS4 the default for opening?

    Help! I have most versions of PS but I prefer CS4. I am a photographer. Forever CS4 was the default when opening photos. Something happened yesterday and now when I double click on a photo to open it it opens but not in CS4. Not sure what version it's opening in. But I want it to open in 4. I can right click each and every time to open in 4 but I open tons of photos all day long and that takes too long. How can I again make it so that CS4 is the default?
    Thank you.

    Thanks. I couldn't figure out what you meant.
    What does CMD I stand for?
    If I right click on a file I can open in CS4 but there's no 'change all' there, just option of opening in CS4 or something else.
    I open RAW files. Then later I open jpg files. I think they are opening in CS4 as RAW (not sure) but the jpgs are not. If I right click it says CS6 is the default -- first one listed and has (default) next to it.

  • Burning a video to DVD that will default to opening at actual size.

    Hi. I am burning a widescreen (16:9) SD video to dvd using DVD Studio Pro 4. The video has been exported from FCP6 using compressor. The quality is fine and the aspect ratio has been retained for viewing (letterboxed) on a 4:3 CRT and also on a widescreen display. Is there any way, through encoding, that I can force the video, by default, to open at actual size on a widescreen computer display rather than full screen? I realize that the viewer can exit from fullscreen mode and select "actual size" in DVD Player, but if possible, I would like the video to begin playing at actual size without any adjustments having to be made. My concern is that some viewers will not bother to exit fullscreen mode and will view the video at a size not supported by its resolution. It's a video of a photographer's stills and at a display size larger than actual size, the sharpness of the images is compromised. Any way to get around this other than adding some text advising the viewer to watch the video at actual size or redoing the whole thing in HD?

    Not possible. There's nothing in the DVD Video specification that provides for this.
    There are settings available in the Preferences menu for Apples's DVD Player that can be set to do this, but no way to put information on a disc that will override those settings. 

  • Set Adobe Reader 9 as Default pdf Opener

    New laptop.  I have Adobe Acrobat 5 and Adobe Reader 9 installed.  Need the 5 because it has Acrobat Distiller.
    PROBLEM:  When I try to open pdfs from the web I get an error (The Adobe/Acrobat Reader that is running cannot be used to view pdf files from the Web Browser.  Version 8 or 9 is required.)
    Working in Microsoft Windows environment.
    How can I set version 9 as the default to open web files?
    Thanks!

    Found the fix in some of the previous posts that showed up on the right of my screen after I posted this question.  Nice system!

  • Compressed files default to open in MS Office with new Mini

    When I try to decompress stuff/zipped files, Tiger is defaulting to open them in MS Office. When I try to change the App in the "Open With" control click, I can't find the BOMA app.
    Thanks

    BOMArchiceHelper is located in /system/library/coreservices
    -mj
    [email protected]

  • Open project by default when open CJ20N

    Hi,
    When I enter the transaction CJ20N and open a project. Save this project in memory. So when I come back to enter the transaction CJ20N open this project by default, I have managed to enter the project in view mode, I have reviewed the options you have in the CJ20N, but can not get to enter the transaction did not open none. I really want is that when I open the CJ20N by default not open any project.
    Anyone know the solution?
    Many thanks.
    Regards.

    Hi Mahendra,
    Thank you very much for answering.
    I have not check this check box, and I checked this before asking for help. SAP In other machines I unchecking this check box and it worked, but SAP's machine where I am it, though have not checked the check box is making my last project I opened.
    Thank you.
    Best regards.
    Chuso.

  • Default Photo Opener

    How do I set iPhoto as my default photo opener?

    Herbz
    welcome to the Apple user discussion forums
    How do I set iPhoto as my default photo opener?
    iPhoto is not a photo viewer and can not be the default photo opener - you must import photos into iPhoto before you can operate on them there
    By default it is the default camera download program - to change that you go to the iPhoto preferences and set the program you want to open when a camera is connected
    To change the default program to open photos right click (control click) on a photo and use the open with command and click to always use use this program option
    LN

  • Setting Photoshop CS5 as the default for opening all photo files?

    How do I make Photoshop CS5 the default for opening all photo files?

    Close the jpeg in Photoshop! This procedure is done on an unopened (closed) file in the finder, Photoshop is not involved.
    Open a FINDER window, click ONCE to select your file (NOT double click to open it)
    Command I or in the Finder, File menu, select Get Info.
    In the GET INFO window, change the Open With item to Photoshop
    Click the CHANGE ALL button, You will get the warning "This change will apply to all Adobe Photoshop CS5.app documents with extension “.jpg”.
    Click CONTINUE and from now on all jpegs double clicked in the finder will automatically open in Photoshop

  • Using Crystal Reports as the default for opening .rpt files

    Hi all,
    I know this is a simple question with a simple answer, but I'm baffled, so here goes. I'm using Crystal Reports 2008 and I have the Crystal Report Viewer installed on my computer. I want to open .rpt files with Crystal Reports 2008 as the default application, not Crystal Report Viewer.
    When I right-click the .rpt file I have three options, Crystal Report Viewer 2008, Microsoft Visual Studio Version Selector, and Choose Program. When I select Choose Program, then click the Browse button, Crystal Reports is not available as one of the programs to choose.
    When I look at the programs available via the Control Panel, I see Crystal Reports 2008, but I'm not able to select it as the default for opening .rpt files. I'm assuming the program file is in my Program Files folder somewhere in the Business Objects folder, but I'm not sure which file I need to set Crystal as the default program. Can someone please point me in the right direction? Thanks in advance.

    C:\Program Files\Business Objects\Crystal Reports 12
    then crw32.exe

  • How do I stop office documents from defaulting to open in iWork?

    I don't want my MS Office documents to default to opening in iWork.  Yosemite is forcing this.  How do I turn it off?

    Have you tried this?
    Select a Word file via the Finder,
    Do a get info, and then
    Select the Open With
    And select your app: MS Word
    change all
    Use this application  to open all documents like this one.
    Repeat for Excel and PPT with appropriate app.

  • Cant seem to make photoshop default to open photos in Windows. Its defaulting to Adobe and I changed settings, still not working

    When I upload photos from my phone to computer Cant seem to make photoshop default to open photos in Windows. Its defaulting to Adobe and I changed settings, still not working. Even when I press preview on photo and they open in windows photo viewer I cannot save the file to my computer. I have Photoshop CS4

    infact both are same only..http://store.apple.com/us/product/MB572Z/B/mini-displayport-to-vga-adapter        "http://store.apple.com/us/product/MB570Z/B/mini-displayport-to-dvi-adapter"

Maybe you are looking for

  • Closing an application has different results for different applications

    Hello, what determines if an application quits or just close when you click the red X button? For example when you close Safari, the application stays in the dock as running application even if there are no open windows left. If you close iPhoto, the

  • Vendor Bank changes affect House Banks

    Hi, We noticed that users with Bank Maintenance authorization (TCode FI02) for changing vendor bank details are able to change "House Bank data", e.g. vendor bank is also a house bank  -> a user changes the vendor bank details (e.g. SWIFT code for a

  • Urgent - please help with blank lines

    Guys need you help, please. How do I put blank lines in a repeating frame even if there are records or no(about 20 lines with say 5 columns). I need those lines like our ruled notebooks, for the users to enter something. Thanks Joe.

  • ZEN2 and 4.83SP2 ??!!

    Hi, I know it is not supported, but is there a way to make it work ? TIA Alex Leibovici Swiss Red Cross

  • Ios 6 graphics issues

    I installed ios6 on my 3rd generation iPad last night, and ever since have been experiencing very choppy frame rates on some games,, particulary NBA Jam HD. Is there a reason for this and is it something Apple is planning on fixing?