Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview

How do you know that the mail has been sent?

Last post 07-24-2008, 23:53 by Rolf Lindby. 18 replies.
Page 1 of 2 (19 items)   1 2 Next >
Sort Posts: Previous Next
  •  07-18-2008, 23:28

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    How do you know that the mail has been sent?

    I have installed Mercury/32 via XAMPP, and I use mail() via .PHP to send mail..

     My log looks like this:

     

    T 20080718 230954 48811f47 Connection from 127.0.0.1
    T 20080718 230954 48811f47 HELO PHAs
    T 20080718 230954 48811f47 MAIL FROM:<Admin@tecfan.no-ip.org>
    T 20080718 230954 48811f47 RCPT TO:<somvaan@gmail.com>
    T 20080718 230954 48811f47 DATA - 9 lines, 341 bytes.
    T 20080718 230954 48811f47 QUIT
    T 20080718 230954 48811f47 Connection closed with 127.0.0.1, 0 sec. elapsed.

    Does this mean that it was sent? I tried sending to both my hotmail and gmail, haven't received any of those mails...
  •  07-19-2008, 1:07

    Re: How do you know that the mail has been sent?

    This means that the message was successfully received by the MercuryS server module. Do you use MercuryE (end-to-end) or MercuryC (relay) for external delivery? Check the logs in the module you use to find out was has happened.

    /Rolf 

  •  07-19-2008, 11:03

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    Re: How do you know that the mail has been sent?

    the Mercury SMTP Server log says "Relay attempt from <> to <>..."

    and then gives me 553 error.

    I did not get the 553 yesterday :s

  •  07-19-2008, 13:01

    Re: How do you know that the mail has been sent?

    Check Local domains section in Core configuration and then make sure that Relaying control (Mercury SMTP Server configuration, Connection control) is OK. The usual setting here is to have the first two checkboxes checked.

    /Rolf 

  •  07-19-2008, 19:10

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    Re: How do you know that the mail has been sent?

    Rolf Lindby:

    Check Local domains section in Core configuration and then make sure that Relaying control (Mercury SMTP Server configuration, Connection control) is OK. The usual setting here is to have the first two checkboxes checked.

    /Rolf 

     

    The two first checkboxes are checked. I'm sending from "Admin@localhost" to "somvaan@gmail.com", when I get the 553 (non-local) error.

     

    WHat do you mean by "check local domains section"? what should I check for?

  •  07-19-2008, 21:23

    Re: How do you know that the mail has been sent?

    From Mercury help:

    Domains recognized as local by this server  This is probably the single most critical area of configuration in the Mercury system -- if you get this section wrong, you will inevitably get mail loops and other problems. In this section, you must tell Mercury all the Internet names it should regard as "local" -- that is, for which it should attempt direct delivery on the local system rather than forwarding the mail to another machine for processing.

    When entering domains into this section, you should usually provide three entries per local Internet domain - a fully-qualified version, a simple version, and a special entry called a domain literal version, which is the IP number of your system enclosed in square brackets. For example, if your system's Internet name was calliope.pmail.gen.nz (192.156.225.76), you might create these domains definitions:

        calliope        calliope
        calliope        calliope.pmail.gen.nz
        calliope        [192.156.225.76
    ]

    /Rolf 

  •  07-20-2008, 14:25

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    Re: How do you know that the mail has been sent?

    yep. I have this.

     

    The mail I'm sending from is now "Admin@tecfan.no-ip.org" to "somvaan@gmail.com"

    My local domains looks like this:

    tecfan tecfan

    tecfan tecfan.no-ip.org

    tecfan [81.167.170.12]

     

    still get 553.

     


    Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:\xampp\htdocs\spill\log.php on line 110

    $subject = "Ditt brukernavn og passord";
            $body = "Brukernavn: " . $name . "\nPassord: " . $pw . "\n\nLogg på med dette passordet her: <a href=\"http://tecfan.no-ip.org/spill\">http://tecfan2.no-ip.org/spill</a>. Husk på å endre passordet når du har logget inn.";
            $headers = "From: Admin@tecfan.no-ip.org";
            if (mail($mail, $subject, $body, $headers)) {

     

  •  07-20-2008, 16:00

    Re: How do you know that the mail has been sent?

    You may need to restart Mercury after changing domain settings. Does the SMTP server log entry still look the same way? Do you use MercuryE or MercuryC for external delivery?

    /Rolf 

  •  07-21-2008, 19:06

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    Re: How do you know that the mail has been sent?

    Rolf Lindby:

    You may need to restart Mercury after changing domain settings. Does the SMTP server log entry still look the same way? Do you use MercuryE or MercuryC for external delivery?

    /Rolf 

     

    How do I know?

     http://tecfan.nitrolinken.net/2.jpg screenshot of log/stuff

  •  07-21-2008, 19:41

    Re: How do you know that the mail has been sent?

    In the configuration menu you should have a line for either MercuryE or MercuryC. You can select active modules from the Protocol module line in the same menu.

    Can't get that link to work, though...

    /Rolf
     

  •  07-22-2008, 11:48

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    Re: How do you know that the mail has been sent?

    my fault, it was png.. http://tecfan.nitrolinken.net/2.png

     

    Looks like I'm using MercuryE.

  •  07-23-2008, 1:28

    Re: How do you know that the mail has been sent?

    Ah, OK!... In Mercury SMTP server configuration you need to add a line in the connection control box as well. Add a "restriction" to allow relaying from 127.0.0.1 (any any other IP range that belongs to your local network that should be allowed to send mail externally).

    There may be an issue with the MercuryE module as you are getting connection errors (apparently there was some message that you had managed to get through that far). A lot of Internet providers block outgoing SMTP traffic (port 25) to stop spam. If so you need either to contact your ISP to have them remove that block for you, or use MercuryC to relay through your Internet provider's SMTP server instead.

    /Rolf 

  •  07-23-2008, 17:39

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    Re: How do you know that the mail has been sent?

    Rolf Lindby:

    Ah, OK!... In Mercury SMTP server configuration you need to add a line in the connection control box as well. Add a "restriction" to allow relaying from 127.0.0.1 (any any other IP range that belongs to your local network that should be allowed to send mail externally).

    There may be an issue with the MercuryE module as you are getting connection errors (apparently there was some message that you had managed to get through that far). A lot of Internet providers block outgoing SMTP traffic (port 25) to stop spam. If so you need either to contact your ISP to have them remove that block for you, or use MercuryC to relay through your Internet provider's SMTP server instead.

    /Rolf 

     

    Okay, I don't get 553s anymore, that's a good thing.. But none of the mails actually ends up in my inbox..

    You were right, as of 1. april 2008 my Internet provider (and many of the big ones in Norway) blocks sending mail from external e-mail servers on port 25..

  •  07-23-2008, 17:43

    • Tecfan is not online. Last active: 07-24-2008, 21:43 Tecfan
    • Top 150 Contributor
    • Joined on 07-18-2008
    • Member
    • Points 170

    Re: How do you know that the mail has been sent?

    Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 <12.81-167-170.customer.lyse.net[81.167.170.12]>: Client host rejected: Access denied in C:\xampp\htdocs\spill\log.php on line 105

     

    what should I do?

     

    I changed SMTP to "smtp.ent.lyse.net" i PHP.ini.

    (as they say here: http://www.lyse.no/category.php?categoryID=12101)

  •  07-23-2008, 18:38

    Re: How do you know that the mail has been sent?

    Tecfan:

    Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 <12.81-167-170.customer.lyse.net[81.167.170.12]>: Client host rejected: Access denied in C:\xampp\htdocs\spill\log.php on line 105

     

    what should I do?

     

    I changed SMTP to "smtp.ent.lyse.net" i PHP.ini.

    (as they say here: http://www.lyse.no/category.php?categoryID=12101)

     

    They do not allow relaying off their server.  You need to test sending to a user at smtp.ent.lyse.net to see if your PHP application works.  In any case since you are sending directly from your PHP application through their server this is not something that the we can help you with all that much.  Talk to your ISP or the owner of the SMTP host.

     

    220 asav6.lyse.net ESMTP Postfix
    ehlo thomas
    250-asav6.lyse.net
    250-PIPELINING
    250-SIZE 83886080
    250-ETRN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    MAIL FROM: <test@tstephenson.com>
    250 2.1.0 Ok
    RCPT TO: <test@tstephenson.com>
    554 5.7.1 <mail.tstephenson.com[209.128.94.2]>: Client host rejected: Access denied


    Thomas R. Stephenson
    Member of Pegasus Mail Support Team
Page 1 of 2 (19 items)   1 2 Next >
View as RSS news feed in XML

Copyright © 2007 David Harris / Peter Strömblad. All Rights Reserved. | Terms of Use | Privacy Statement
Questions/Problems with community.pmail.com? | Visit our Hoster: PraktIT | Pegasus Mail Home Page