Mail bounces when sent from command-line, works from PHPMailer, Mail.app

Recently, any mail send from the command-line (manually, or via automated scripts) is getting rejected. However, messages composed with, say, PHPMailer are getting through. One thing I notice about the bounced messages is that there's no user/sender recorded. Here's a snippet of the log:
Sep 28 16:45:32 ns postfix/pickup[3275]: 64F57343FF2: uid=501 from=<admin>
Sep 28 16:45:32 ns postfix/cleanup[6126]: 64F57343FF2: message-id=<[email protected]>
Sep 28 16:45:32 ns postfix/qmgr[3276]: 64F57343FF2: from=<[email protected]>, size=627, nrcpt=1 (queue active)
Sep 28 16:45:35 ns postfix/smtp[6130]: 64F57343FF2: to=<[email protected]>, relay=mx.metropolis.ca[65.254.254.57], delay=3, status=sent (250 2.0.0 tylR1X05q2fRSSh0000000 mail accepted for delivery)
Sep 28 16:45:35 ns postfix/qmgr[3276]: 64F57343FF2: removed
Sep 28 16:45:54 ns postfix/pickup[3275]: 0A7BB343FFF: uid=501 from=<admin>
Sep 28 16:45:54 ns postfix/cleanup[6126]: 0A7BB343FFF: message-id=<20070928224554.0A7BB343FFF@mail>
Sep 28 16:45:54 ns postfix/qmgr[3276]: 0A7BB343FFF: from=<[email protected]>, size=423, nrcpt=1 (queue active)
Sep 28 16:45:54 ns postfix/smtp[6130]: 0A7BB343FFF: to=<[email protected]>, relay=none, delay=0, status=bounced (mail for gpspolice.net loops back to myself)
The failure reason given "mail for ... loops back to myself" doesn't seem right, since I haven't changed the DNS settings on this machine.
You'll notice, the message that is sent has the from= address specified, whereas the other two failed examples don't... I'm not really sure why this is failing all of a sudden. Telus, one of our ISPs, is infamous for quietly making major network policy changes (e.g., blocking port 25 for all outgoing business customers). Any suggestions, or a link to a good SMTP mail server (a la OS X server) tutorial would be appreciated. Thanks.
...Rene

David_x wrote:
David_x wrote:
Can you explain why you need any zones in your DNS apart from your own?
OK, I read a previous post from you which explains your internal setup (mini & xserve), so you are using internal domains for web stuff with your local DNS based on your xserve. I presume your mini is using the xserve for DNS? So although I am not entirely clear about everything that is going on, I'll presume you do need these domains in your xserve...
Yes, that's all correct. The Xserve does runs DNS, Web and Mail Services, the Mini just runs a couple web sites (on port 8080, fwiw).
If an external mail server is responsible for a domain which you have in your internal DNS then you have to mirror the public MX records in your local DNS. How MX records work...
This is what I've done in the DNS Services, I believe...
For the domain gpspolice.net, your mini will ask your xserve for the MX record. This will resolve to a host name - in the public DNS this is "mail.gpspolice.net". Your mini will then ask your xserve to resolve this host name - in the public DNS this is "209.200.253.29". So ideally, you should have these two records (MX record= mail.gpspolice.net, plus "A" record for mail.gpspolice.net = 209.200.253.29) in your xserve dns. You may get away with using a different MX host name as long as the final IP is the same but better if exactly mirrors public DNS records.
-david
I think I've done what you've said, and still certain messages don't get sent out. Basically, any message bound for a .baseloc.net domain doesn't get sent. Here's an example of one message that get's stuck in the queue, along with the console log:
Message ID: 46A1435234C
Date: Wed Oct 3 09:57:17
Size: 11009
Sender: [email protected]
Recipient(s) & Status:
[email protected]:
temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_
Oct 3 21:00:07 ns postfix/pipe[21091]: 46A1435234C: to=<[email protected]>, relay=cyrus, delay=39770, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )
I have to say, I really appreciate your help. It's helping me understand the proper approach. Anyway, if there's any other information I can provide to help you [help me], please let me know. Thanks again.
...Rene

Similar Messages

  • MS exchange account on my iPhone and iPad doesn't capture sent mail when sent from iPhone or iPad! Everyting else seems to work fine. Can someone pleasse help?

    MS exchange account on my iPhone and iPad doesn't capture sent mail when sent from iPhone or iPad! Everyting else seems to work fine. Can someone pleasse help?

    iPhone and iPad use a different way of accessing the server.
    I don't know the exact details, but we are using Zarafa instead of Exchange and have the same problem:
    iPhone and the likes can connect to Zarafas z-push interface, which is some identical interface to the native Exchange interface, while the desktop e-mail application tries to interface with the web front end (via http) of the server.
    These are completely different setups and it depends on the actual installation of the server to get this going.
    So, you will most likely need different access parameters for the desktop - and the web mail feature has to be enabled on the Exchange server.
    In my opinion using the web mail interface is just silly. On the other hand, the native protocol has less features comparedto the web front end, so you are somehow stuck with sins of the past.
    Good luck!

  • Why do attachment files in excel disapear in apple mail when sent from a PC

    I am trying to get excel files & they dissapear when sent from a PC network

    William (and cpiatek if you would like), you should read these:
    http://www.mywot.com/en/scorecard/winmaildat.com
    Winmaildat.com's privacy note:
    Privacy note
    Using this service means that your files are transmitted over the internet and saved on a foreign system for a short time. If your attachment contains unencrypted, sensitive data it is not a good idea to use this service.
    Your extracted files are saved on this system for some time so you can retrieve them. They are stored in a reasonably safe way so they names can't be guessed and will be deleted on your request or automatically after some time.
    We do not intend to look at your files and try our best to protect your files from other doing that.
    We use third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more informations, click here.
    http://www.siteadvisor.com/sites/winmaildat.com
    https://safeweb.norton.com/report/show?url=winmaildat.com
    http://siteinspector.comodo.com/public/reports/13659662

  • I am unable to receive texts on my new LG G2 when sent from some other iPhones

    I had an iPhone 4 and switched to LG G2 android.  I am unable to receive texts on my new LG G2 when sent from some other iPhones.  I've done everything Sprint and Apple have suggested - turned off imessaging, made sure the contact info on the other iPhones is plain mobile numbers, deactivated my iCloud account.  Nothing is working.  Anybody have any suggestions?

    See this support document http://support.apple.com/kb/TS5185. If you have done everything there, then look at the last line which says to get in touch with Apple Support. This is not Apple support, this is a user to user forum. Call Apple support based on your location with information from this support document. http://support.apple.com/kb/HE57

  • I have 2 phones on my iTunes account, why are text messages showing on the second phone when sent from the first

    I have 2 phones on my iTunes account, why are text messages showing on the second phone when sent from the first phone?

    it's meant to work like that
    so if you receive a message on your iphone you also get it on your ipad or ipod touch
    to avoid it use separate appleID for each device
    or turn off imessage on 1 or both devices in their settings
    but that will not fix the issue that 2 devices using the same appleID will never be able to facetime eachother
    the appleID is a unique handle for 1 user only

  • Issue with Emoji icons when sent from iOS6 to iOS5

    Issue with Emoji icons when sent from iOS6 to iOS5, all icons appear as a square on the iOS5 message screen.
    Both iOS are the current version and the phones are 4S 64GB
    Anybody got this problem

    Hi!
    What kind of RFC do you use? If you use synchronous RFC the caller waits for the answer/result of the called function. In normal cases this should solve your issue.
    Regards,
    Volker

  • I just purchased a new Linksys E2500 router.  It will connect to all my other devices, but does not recognize the password when sent from the PowerBook G4.

    I just purchased a new Linksys E2500 router.  It will connect to all my other devices, but does not recognize the password when sent from the PowerBook G4.  When I try it responds that the password is invalid.  I have connected my MacBook Pro, iPad and iPod Touch with the same password. 

    Charles Swigart wrote:
    It will connect to all my other devices, but does not recognize the password when sent from the PowerBook G4.
    Try putting $ (a dollar sign) in front of the password.

  • ICloud emails sent from apple mail or iPhone 3gs never arrives, works fine when sent from iCloud website

    The ony place I have been able to send and receive email since the launch of iCloud has been the icloud website. I wasn't able to send email from my iphone 3gs or apple mail at all until today, now it finally appears to let me send email but it never arrives to its destination.
    I can send an email from the icloud website without issue, and email sent from my icloud account using my iphone 3gs and apple mail seems to send fine and without error but who knows where it goes.
    Has anyone else experienced this issue?
    Thanks!
    Charles

    I figured out how to fix it... if anyone else has this problem, go to Outlook > Preferences > Accounts > select the IMAP account > Advanced > Folders and for "Store Sent Messages in this Folder:" select "Sent Messages (Server)."

  • Parsing in Weblogic/jsp doesn't work; application-mode (command-line) works

    Hello-
    Parsing my XML file in Weblogic/jsp doesn't work, whereas it works
    in application-mode... (albeit on two different machines)
    Here are the parameters:
    server1:
    weblogic 6.0
    win2k server
    jre1.3
    my personal machine:
    ***no weblogic***
    win2k server
    jre1.3
    When I run my code as an application (command-line style) on my machine,
    parsing in my xml file works fine, and I can do a root.toString() and it
    dumps out the entire xml file, as desired.
    However, running my code inside weblogic (on server1) in JSP, parsing in
    my file and doing a root.toString() results in the following: [dmui: null]
    (where dmui is my root)
    (even though i'm running it on two different machines, i'm positive its the
    same code (the servers share a mapped drive)...
    So, I think its probably because I'm using a different parser, as
    specified by weblogic? There are no exceptions being thrown. Here's my
    (abbreviated) code, which is called either command line style or in a JSP:
    // Imports
    import org.w3c.dom.*;
    import org.w3c.dom.Document;
    import javax.xml.parsers.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    DocumentBuilderFactory docBuilderFactory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    mDocument = docBuilder.parse (inFile);
    myRoot.toString()
    -END
    Doing a System.getProperty("javax.xml.parsers.DocumentBuilderFactory")
    results in:
    server1 (weblogic/jsp):
    "weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
    my machine (application-mode):
    null
    Does anyone have any ideas about how to get this work? Do I try to set it
    up so that they both use the same parser? Do I change the Weblogic parser?
    If so, to what? And how?
    Am I even close?
    Any help would be appreciated..
    Thanks, Clint
    "[email protected]" <[email protected]> wrote in message
    news:[email protected]...
    No problem, glad you got it worked out :)
    ~Ryan U.
    Jennifer wrote in message <[email protected]>...
    I completely missed setting the property(:-o), foolish mistake. That wasit. Thanks.
    "j.upton" <[email protected]> wrote:
    Jennifer,
    Personally I would get rid of import com.sun.xml.parser.* and use xerces
    which comes with WLS 6.0 now, unless like I said earlier you have a need
    to
    use the sun parser :) Try something like this with your code --I've put
    things to watch for as comments in the code.
    import javax.xml.parsers.*;
    import org.xml.sax.SAXException;
    import org.w3c.dom.*;
    import java.io.FileInputStream;
    public class BasicDOM {
    public BasicDOM (String xmlFile) {
    try{
    FileInputStream inStream;
    Document document;
    /*You must specify a parser for jaxp. You can in a simple view
    think
    of this as being analogous to a driver used by JDBC or JNDI. If you are
    using this in the context of a servlet or JSP and have set an XML
    registry
    with the console this happens automatically. You can also invoke it in
    the
    context of an application on the command line using the -D switch. */
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
    >>>
    "weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
    // create a document factory
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    // specify validating or non-validating parser
    dbf.setValidating(true);
    // obtain a factory
    DocumentBuilder db = dbf.newDocumentBuilder();
    // create a document from the factory
    inStream = new FileInputStream(xmlFile);
    document = db.parse(inStream);
    }//try
    catch (Exception e)
    System.out.println("Unexpected exception reading document!"
    +e);
    System.exit (0);
    }//catch
    }//BasicDom
    // Main Method
    public static void main (String[] args) {
    if (args.length < 1)
    System.exit(1); file://or you can be more verbose
    new BasicDOM(args[0]);
    }//class
    =============================================
    That will give you a basic DOM you can manipulate and parse it fromthere.
    BTW this code
    compiled and ran on WLS 6.0 under Windows 2000.
    Let me know if this helped or you still are having trouble.
    ~Ryan U.
    "Jennifer" <[email protected]> wrote in message
    news:[email protected]...
    Actually I included com.sun.xml.parser.* as one last febble attempt toget
    it working.
    And as for source code, I included the code. If I just put that oneline
    of code
    in, including the imports, it fails giving me an error listed above inthe
    subject
    line. Here is the code again:
    package examples.xml.http;
    import javax.xml.parsers.*;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.*;
    import java.util.*;
    import java.net.*;
    import org.xml.sax.*;
    import java.io.*;
    public class BasicDOM {
    static Document document;
    public BasicDOM (String xmlFile) {
    try {
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    } catch (FactoryConfigurationError e){
    System.err.println(e.getException());
    e.printStackTrace();
    // Main Method
    public static void main (String[] args) {
    BasicDOM basicDOM = new BasicDOM (args[0]);

    Hi, Rob
    Does it work in WL9.2?
    It seems I do it exactly as the explained at http://edocs.bea.com/wls/docs81/programming/classloading.html - and it fails :o(.
    I try to run my app.ear with WL9.2 There are 2 components in it: webapp and mdb. The webapp/WEB-INF contains weblogic.xml:
    <weblogic-web-app>
    <container-descriptor>     
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    Mdb is expected to run in the same mode, i.e. to prefer the webapp/WEB-INF/*.jar over the parent Weblogic classloader. To do so I add the weblogic-application.xml to the app.ear!/META-INF:
    <weblogic-application>
    <classloader-structure>
    <module-ref>
    <!-- reminder: this webapp contains
    prefer-web-inf-classes -->
    <module-uri>webapp</module-uri>
    </module-ref>
    <classloader-structure>
    <module-ref>
    <module-uri>mdb.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </weblogic-application>
    Now, when classloader-structure specified, both webabb and mdb prefer the weblogic root loader as if prefer-web-inf-classes not defined at all.

  • Change gmail outgoing name when sent from iphone4

    hi!
    so, i have my gmail account set up on iphone and it works all fine and peachy but...
    all my outgoing e-mails sent from iphone have my username displayed as outgoing name.
    (for example: say, my e-mail is [email protected] all my outgoing e-mails, sent from iphone display Pink Elephant as my name, which looks kind of awkward, when i'm replying to business related e-mails)
    just to be clear: when i go to Settings -> Mail, Contacts, Calendars -> GMAIL -> Account... it doesn't have the name field.
    it has:
    - email
    - server
    - domain
    - username
    - password
    - description
    and the option to use SSL. that's it.
    any ideas how to change the outgoing name?
    thanks!

    wjosten, the thing is - it has my name in gmail settings. i checked. it works fine, when i e-mail from a computer.
    changing it has no effect on my outgoing name, when i send from iphone.
    but thanks
    upd: yeah, what Leann said

  • Calendar issues when sent from different timezones

    Hi,
    I have a Curve 8320 with OS v 4.5.0.81 (Platform 2.7.0.78).
    I have setup Yahoo Mail as email account.When any meeting invite is sent from Outlook and with timezone anything other than PST/PDT(timezone on my phone), say Sept 30th 2009 GMT 10:00 AM, this should show as Sept 30th 2009 2:00 AM PDT time in the Blackberry Calendar application. But the meeting invite gets into the Blackberry Calendar application as Sept 30th 2009 10:00 AM PDT. Any idea on this issue.
    Thanks and regards,
    Anil. 

    I think sound check used to work reasonably well. Starting with 6.0.2, a bug appears to have been introduced that causes the volume of burned CDs to be way, way, way too low. It was not fixed in 6.0.3. I have not seen this acknowledged as a bug. I sure hope it's not considered a feature, because the volume for burned CDs is now ridiculously low.
    As I understand it, there are some add-on programs that can help with this problem if you have a Mac, but there doesn't appear to be a good solution for Windows users.

  • My sequence will not show up in Color 1.5.3 when sent from FCP 7

    I cannot get clips from FCP 7 to show up when sent to Color. I had been able to get this to work perfectly fine earlier, but now for some reason, when sending a sequence from FCP to Color, Color doesn't automatically create a new project with the sequence in it. I've Googled for answers as much as I can, but cannot figure out what's going wrong.
    By the way, the footage is from a Canon 7D, imported into FCP from PluralEyes 8.
    EDIT: I've tried to manually export the XML from Final Cut into Color. Color will not even recognize the exported XML file. I've done what others have suggested online and deleted my Color & FCP preferences files out of my User/Library. I've created new FCP projects and tried to send to color from a new project. None of these have helped at all.

    I just had this exact same problem.  Clips from my FCP 7 sequence would not show up when I sent them to Color 1.5.  No way.  No how.
    I solved my problem (at least for now) by simply restarting my machine.  I realized that it had been running for days, and it probably just needed a reboot.  Try it.  It might work.
    And yes, I'm running Mountain Lion, too.  10.8.2.
    Good luck!  ----Todd Ruel

  • Email security when sent from Desktop

    I work for a small company with a couple of users that have their own BBs.  We are on Exchange Server 2007 and our users are running MS Outlook 2000 locally (with their own .pst files, if that matters).  They would like to have their work email sent to their BBs which I don't see as a problem except for one thing, when email is sent to them at work and it is forwarded from our Exchange server to BBs servers, is that email secure?  I know that it is secure when it is sent from BBs servers to their devices.  We do not have BES.
    Thanks for your help and consideration.

    What email back-end system are you using? Exchange? GMAIL?...........

  • Why am I getting messages such as "The command "Image Size" is not currently available" when trying to run an Action that has always worked in the past and when the particular Commands do work if used by themselves?

    Why am I getting messages such as "The command Image Size is not currently available whenever I try to run an Action that uses the particular command (and which has always worked fine previously) and when the particular command works fine when used on its own?

    I would think that image size would always be available when there is an active document in Photoshop.  The only time I remember seeing messages like that where they should work was during the five month period when Adobe released CS6 with so many bugs which took Adobe five months to fix.  During those five month messages like that that should not have happen were common when action switch between documents.  Adobe would start processing the next Action step before the document switch completed, Any step that required an active document could fail with a mess stating the command is not available.
    Are you by some chance using CS6 version 13.0 CS6 without any updates.  Use Photoshop menu Help>About Photoshop.  If it shows CS6 version 13.0 you need to update CS6. .

  • How do I get my messages when sent from my computer to be sent from my number and not email?

    When I send a message from my computer, the person I'm sending it to receives it from my email and not my phone number. How can I change that so that it is always sent from my number?

    Let's back up a step.
    Do you have an iPhone?
    http://support.apple.com/kb/HT5538
    Matt

Maybe you are looking for