Who is good with SMTP/MX??

I have a question. Since my ISP (canada's bell sympatico) blocks port 25 for in and outbound and I want to host my own email server, I was wondering if this would work.
I have read that one strategy to get around outgoing smtp traffic is to send through the ISP smtp server. I have my smtp server relay through the ISP's and it works great. So thats done.
But for incoming SMTP traffic, shouldnt it work if I set my ISP's SMTP address to my domain's MX record and then have a second MX record (of lower piority) point to my local SMTP server? Now the idea is based on the following assumption
1) ISP's SMTP server accepts traffic outside of their client ip. This is true, I can telnet to SMTP server just fine from anywhere
2) ISP's SMTP server will query the second MX record if it sees itself as being the first MX record. (I think this is true for most SMTP server?)
3) Thirdly, ISP does not block 25 traffic from itself to its clients? This I am not sure but it would only make sense?
Any info or insights into this? I have read this strategy online somwhere so apparently it must have worked at a period of time, with certain ISPs.

Just pointing your MX record to your ISP is not going to help unless:
1) Your ISP's mail servers know to accept mail for your domain (they probably don't, so would just reject any mail they receive)
2) either:
a) your ISP supports ETRN to hold your mail until your mail server picks it up, or
b) your ISP will forward the mail to your machine.
Neither of 2 is going to be the case for a typical residential account, but may be offered to business clients.
As for changing port numbers, forget that. While you know you're running on a different port, no other remote server does, so they'll all try to connect on port 25, regardless of where your server is actually listening.

Similar Messages

  • Who's good with regular expressions?

    i'm trying to get blockhosts to work, but i don't think it's matching.
    here's a snippet from my auth.log
    Jan 15 09:28:11 myhostname (IDLE)[19960]: ([email protected]) [WARNING] Authentication failed for user [admin]
    here's the regex that should match it in /etc/blockhosts.cfg
    "PureFTPD-Fail": re.compile(r"""pure-ftpd: (?@(?P<host>d{1,3}.d{1,3}.d{1,3}.d{1,3})) [WARNING] Authentication failed"""),
    call me lazy, but i'm sure some expert here can solve this in 2 seconds while it would take me 2 hours to figure out the syntax.
    thanks!

    It's clear that your regex will miss this line. For starters, your regex is looking for a match to find 'pure-ftpd:' which doesn't exist in your sample line. Also, your RE expects a match to end with 'Authentication failed'. Again, this is not the case in you sample line.
    I don't see why you need the r"""...""". What's wrong with single quotes?
    That aside, if you change your RE to
    re.compile(r'(?@(?P<host>d{1,3}.d{1,3}.d{1,3}.d{1,3})) [WARNING]')
    Then then 'host' group is matched ok.
    Get hold of Pyreb (in the AUR) for testing with REs.

  • Someone who is good with CSS-P tell me what is wrong with this?

    I'm doing a remake of my current site but this time I'm going
    to do it
    COMPLETLEY tabless and use CSS-P. So far I'm doing great but
    there is one
    thing I can't figure out for the life of me...
    http://verticalterrain.com/Templates/main.dwt
    Check out my template I'm building there and someone tell me
    why in god's
    name is the "About Us" button on a totally seperate line. If
    you view my
    source code there is no <br /> or anything like that.
    Anyone have any
    ideas?
    Best Regards,
    Chris Jumonville
    iMedia Web Design
    503.277.3553

    On Fri, 10 Nov 2006 11:48:55 +0100, A.Translator
    <[email protected]> wrote:
    >You are asking about CSS-P but only show your html.
    >Makes it hard to tell what is going on.
    The link is in the template!
    http://verticalterrain.com/style.css
    Steve
    steve at flyingtigerwebdesign dot com

  • I have iPad 2 with wifi and no 3G. I want to use iMessage to talk to a friend in Russia from here in the UK. For some reason I can't send messages to her. Please try to make your answers basic and easy to follow as I'm not any good with technology :)

    Hi everyone!
    I'm wanting to use iMessage to talk to a friend in Russia. She has iPhone 4s and I have ipad2 wifi only. For some reason I can't send messages to her but I can to UK iPhones.
    Please could you make your answers easy to understand and in plain English I I'm not good with technology and I'm not up to date on the jargon :)
    Thanks in advance to anyone who can help!

    Hi everyone!
    I'm wanting to use iMessage to talk to a friend in Russia. She has iPhone 4s and I have ipad2 wifi only. For some reason I can't send messages to her but I can to UK iPhones.
    Please could you make your answers easy to understand and in plain English I I'm not good with technology and I'm not up to date on the jargon :)
    Thanks in advance to anyone who can help!

  • AuthenticationFailedException when using JNDI and JavaMail with SMTP auth

    Hi all - I've been banging my head on this one for awhile now - hopefully someone else has done this.
    We are working in a servlet container (tomcat), and need obtain a mail session from JNDI. We do this as follows:
                   Context initCtx = new InitialContext();
                   Context envCtx = (Context) initCtx.lookup("java:comp/env");
                   Session mailSession=(Session) envCtx.lookup("mailSession/trumpetinc");so far so good. The jndi entry for the mail session is configured in server.xml as follows:
              <Resource name="mailSession/trumpetinc" scope="Shareable" type="javax.mail.Session"/>
              <ResourceParams name="mailSession/trumpetinc">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>mail.server.com</value>
                </parameter>
                <parameter>
                  <name>mail.smtp.password</name>
                  <value>ABCDEFG</value>
                </parameter>
                <parameter>
                  <name>mail.smtp.user</name>
                  <value>trumpet_kevin</value>
                </parameter>
             <parameter>
               <name>mail.smtp.auth</name>
               <value>true</value>
             </parameter>
              </ResourceParams>With the above, whenever we hit Transport.send(msg), we got an AuthenticationFailedException thrown. I have run into this before with SMTP authentication, so I decided to try using the transport.sendMessage() method instead.
    So, I get the transport:
    Transport trans = mailSession.getTransport("smtp");
    trans.connect();Then I send my message using:
    msg.saveChanges();
    trans.sendMessage(msg, msg.getAllRecipients());and finally, I close the transport:
    trans.close();Unfortunately, I'm still getting the exception. Is it possible that my connect() method is not picking up the JNDI properties set in the server.xml file (this seems likely)? If so, what's the best way for me to get those properties so I can set them explicitly in the connect() method?
    Thanks in advance,
    - Kevin

    Hi,
    I have faced the same problem and after some googling and trying I have discovered what causes the AuthenticationFailedException exception. I just wanted to share the knowedge maybe it will be helpfull to others.
    Here it is what the API says:
    To use SMTP authentication you'll need to set the mail.smtp.auth property (see below) and provide the SMTP Transport with a username and password when connecting to the SMTP server. You can do this using one of the following approaches:
    1.Provide an Authenticator object when creating your mail Session and provide the username and password information during the Authenticator callback.
    Note that the mail.smtp.user property can be set to provide a default username for the callback, but the password will still need to be supplied explicitly.
    This approach allows you to use the static Transport send method to send messages.
    2.Call the Transport connect method explicitly with username and password arguments.
    This approach requires you to explicitly manage a Transport object and use the Transport sendMessage method to send the message. The transport.java demo program demonstrates how to manage a Transport object. The following is roughly equivalent to the static Transport send method, but supplies the needed username and password:
    Using the Transport.connect makes the JNDI not very helpfull for configuration.
    It seems that using just the mail.smtp.user and mail.smtp.pass is not sufficient for the authentication.
    so, the solution is :
    just place these to lines in the JNDI configuration:
              username="test"
              password="test1"
    so it should looks as follows:
              <Resource name="mail/Session" auth="Container"
              type="javax.mail.Session"
              username="test"
              password="test1"
              mail.transport.protocol="smtp"
              mail.smtp.auth="true"     
              mail.smtp.host="localhost"
              mail.smtp.port="25"
              mail.smtp.user="test"
              mail.smtp.password="test1"
    />
    where test and test1 are the user's credentials
    Regards,
    Kiril
    Message was edited by:
    Kireto
    Message was edited by:
    Kireto

  • Help with SMTP class function with authentication

    My server is no longer supporting the php mail() functionality.  I need to use SMTP class function with authentication in my php code and they suggested this to replace it: http://www.yrhostsupport.com/index.php?/Knowledgebase/Article/View/101/2/smtp-class-functi on-with-authentication-in-php-code
    So I tried it, but can't get it to work. This is my test form:
    <form method="post" action="forms/sendmail-test2.php" onsubmit="return checkEmail(this);">
    <script type="text/javascript" language="JavaScript">
    </script>
    <fieldset><legend>Info</legend>
    <label> Name </label>
      <input type="text"
      name="name" size="30" maxlength="40"/><br />
    <label> <span class="redText">*</span> Email </label>
        <input name="email" type="text" size="30" maxlength="40"/>
        <br />
    <label><span class="redText">*</span> Message </label>
      <textarea cols="40" rows="5" name="message" type="text" /></textarea><br />
        </fieldset>
    <input type="reset" value="Reset" />
    <input type=submit value="Submit Form" />
    </fieldset>
    </form>
    This is sendmail-test2.php where the form goes. It won't send unless I comment out the first 10 lines.
    <?php
    include('Mail.php');
    //$to = "[email protected]";
    //$name = $_REQUEST['name'] ;
    //$email = $_REQUEST['email'] ;
    //$message = $_REQUEST['name'] ;
    //$headers = "From: $email";
    //$subject = " price quote";
    //$fields = array();
    //$fields{"name"} = "Name"; 
    //$fields{"email"} = "Email";
    //$fields{"message"} = "Message";
    $recipients = '[email protected]'; //CHANGE
    $headers['From']    = '[email protected]'; //CHANGE
    $headers['To']      = '[email protected]'; //CHANGE
    $headers['Subject'] = 'Test message';
    $body = 'Test message';
    // Define SMTP Parameters
    $params['host'] = 'levy.dnsbox25.com';
    $params['port'] = '25';
    $params['auth'] = 'PLAIN';
    $params['username'] = '[email protected]'; //CHANGE
    $params['password'] = 'xxxxxx'; //CHANGE
    /* The following option enables SMTP debugging and will print the SMTP
    conversation to the page, it will only help with authentication issues. */
    $params['debug'] = 'true';
    // Create the mail object using the Mail::factory method
    $mail_object =& Mail::factory('smtp', $params);
    // Print the parameters you are using to the page
    foreach ($params as $p){
          echo "$p<br />";
    // Send the message
    $mail_object->send($recipients, $headers, $body);
    ?>
    It used to work fine when I used
    $send = mail($to, $subject, $body, $headers);
    $send2 = mail($from, $subject2, $autoreply, $headers2);
    But they said I can't use it any more. I'm good with HTML and CSS but I don't know much about php. Thanks for any help integrating a from into this new code!

    Thanks, bregent. I changed it to this and it sends, but nothing shows up in the body except "Test message". How would I "insert the form fields' 'email' and 'name' and 'message' in the body"?
    <?php
    include('Mail.php');
    $to = "[email protected]";
    $name = $_REQUEST['name'] ;
    $email = $_REQUEST['email'] ;
    $message = $_REQUEST['name'] ;
    //$headers = "From: $email";
    $subject = " price quote";
    $fields = array();
    $fields{"name"} = "Name"; 
    $fields{"email"} = "Email";
    $fields{"message"} = "Message";
    $recipients = '[email protected]'; //CHANGE
    $headers['From']    = '[email protected]'; //CHANGE
    $headers['To']      = '[email protected]'; //CHANGE
    $headers['Subject'] = 'Test message';
    $body = 'Test message';
    $fields = array();
    $fields{"name"} = "Name"; 
    $fields{"email"} = "Email";
    $fields{"message"} = "Message";
    // Define SMTP Parameters
    $params['host'] = 'levy.dnsbox25.com';
    $params['port'] = '25';
    $params['auth'] = 'PLAIN';
    $params['username'] = '[email protected]'; //CHANGE
    $params['password'] = xxx'; //CHANGE
    /* The following option enables SMTP debugging and will print the SMTP
    conversation to the page, it will only help with authentication issues. */
    $params['debug'] = 'true';
    // Create the mail object using the Mail::factory method
    $mail_object =& Mail::factory('smtp', $params);
    // Print the parameters you are using to the page
    foreach ($params as $p){
          echo "$p<br />";
    // Send the message
    $mail_object->send($recipients, $headers, $body);
    ?>

  • Who knows good iPad apps for using in school?

    Hey,
    Soon I'm gonna use my iPad in school. But I don't know good apps for using in school.
    Specially for using my iPad a notebook.
    I'm looking for an app that can write and draw. I also want to keep my notes organized.
    Who has good suggestions?
    Thanks in advance,
    Thijs
    PS. Sorry for my bad English

    I would recommend Evernote, a cloud storage app that allows you to organize notes and access them anywhere, over the built-in Notes. For handwriting drawing, I use Notability and email my notes directly from there to my Evernote account; Penultimate is (in my opinion) not as good a writing app, but works better with Evernote. Paper is another good writing app. If you want handwriting recognition, check out Writepad (also works well with Evernote).

  • Return Secondary SMTP Addresses that prefix with SMTP

    I am running the following command which returns a few properties along with all the secondary addresses. The issue I need to resolve is to filter all secondary addresses which do not begin with "smtp". I also do not want to return
    the case sensitive version of smtp: "SMTP"
    Output Below:
    Get-Mailbox UnityVM -DomainController DC05-ResultSize Unlimited | Where {(!($_.RecipientTypeDetails -Match "RoomMailbox|SharedMailbox"))} | Select-Object DisplayName,alias,Identity,ServerName,RecipientTypeDetails,PrimarySmtpAddress, @{Name=“SecondaryAddresses”;Expression={$_.EmailAddresses
    -join "`n"}}

    This thread appears to be abandoned.  Here is the crux post by the OP.  I reformatted for clarity
    Get-Mailbox crusso -DomainController DC01 -ResultSize Unlimited |
    Where {(!($_.RecipientTypeDetails -Match "RoomMailbox|SharedMailbox"))} |
    Select-Object DisplayName,
    alias,
    Identity,
    ServerName,
    RecipientTypeDetails,
    PrimarySmtpAddress,
    Name="SecondaryAddresses";
    Expression={
    $mbx.EmailAddresses|Where {$_.ProxyAddressString -cmatch '^smtp:'}
    The OP asked a specific and narrow question but has added a convoluted and unstated complexity at the end. I suspect the thread was abandoned when the OP realized the problem.  In reality most of the solutions answer the original question.  The
    legerdemain actually alters the question.
    Look closely at the whole code snippet and note that the OP has no understanding of PS and has just blindly added the examples into code that was likely copied from yet another forum.
    Using PowerShell without the brain disengaged is foolish.  It is like flying an airplane blindfolded.  It can be done but often leads to a crash.
    Notice how I was able to adeptly slip in "the word of the day" and yesterday's "word of the day" and now tomorrow's "word of the day".  Pretty good, huh?
    Ciao..  a presto!
    ¯\_(ツ)_/¯

  • Hello! I'm looking to purchase a Bluetooth. I'm really liking the LG Tone Pro. Does this work Good with a Iphone 4S?

    Hello! I'm looking to purchase a Bluetooth. I'm really liking the LG Tone Pro. Does this work Good with a Iphone 4S?

    It should. I don't see why it wouldn't. It all depends on the quality of the headphones though. You should borrow one from someone who has it and test the headphones itself (music, calls, and other features)

  • Cost(vprs) of free goods with batch managment

    Dear Gurus,
    I have a problem ahout free goods with batch management.
    Cost(VPRS) is not accumulated in billing(free goods is not relevant for billing).
    My configurations are shown as below:
    Ordered goods (and batch) item category :zta1(copied from tan)
    Free goods (and batch) item category :zann (copied from tann) pricing:B ;not relevant for billing;dermination cost:X
    copy control(from delivery to billing):
    ztan: accumulation cost :X
    If I use the material without batch management,Cost of free goods(without batch) is accumulated to main item(ordered goods).
    So, what can I do?
    Thanks and Best Regards,
    Lykin Kan

    Hi,
    These notes are useful:
    SAP Note 1365939 - VPRS logic and Customizing settings in SD
    SAP Note 547570 - FAQ: VPRS in pricing
    If you have the problem in the transfer from SD conditions to CO-PA, check if you transfer only invoices to COPA, if you don't invoice the deliveries of free goods, then you don't transfer this 'sales' or costs of 'gifts' to COPA. You can check the customizing of COPA in tcode ORKE (IMG for COPA). SAP Note 74486 - INFO: Overview of consulting notes for CO-PA is a good summary about this issue.
    I hope this helps you
    Regards,
    Eduardo
    PD: I forgot SAP Note Number 33968 SD/CO-PA: Characteristics from sales doc tables
    Edited by: E_Hinojosa on Sep 10, 2010 9:44 AM

  • Hello, I am interested in buying this week of a mac mini 2011 with intel graphics HD3000 but I'm not sure it looks good with my Samsung SyncMaster933HD monitor. How would it look better with the hdmi-dvi connection or a built-in display adapter port-vga

    Hello, I am interested in buying this week of a mac mini 2011 withintel graphics HD3000 but I'm not sure it looks good with my Samsung SyncMaster 933HD monitor. How would it look better.... with the hdmi-dvi connection built in, buying a HDMI 1.3 cable and HDMI-making or buying an adapter hdmi display port - vga and connected through the port thunderbolt
    Thanks

    I originally set up my mini with the included HDMI -> DVI adaptor to connect to a Sycmaster monitor. The graphics were very good.

  • Can i text international from one iphone to another iphone over wifi with other friends who will be with us overseas?

    can i text international from one iphone to another iphone over wifi with other friends that have iPhones
    who will be with us overseas?

    Yes, if you are provisioned by your carrier to do so.  IF both phones are iphones with IOS 5.0 or higher then you can use imessage.

  • Free goods with other taxes

    Dear SAP Gurus,
    Can any one give me an idea to deal with the scenario of free  goods PO if we have to pay octroi / freight / insurance etc and incase of imported material ,DVD, Customs charges, frignt and other handling charges,
    please suggest me,

    hi
    For free goods with taxes make change in your pricing procedure make one negative condition of same value as pb00. so after calculating taxes and freight you can deduct the gross price . you you will be able to pay taxes but the cost of material will be zero.
    suppose price of free good is 100
    and tax is 12 % and freight 2%.
    then
    follow this.
    1 gross price - 100
    2 tax - 12 % of 1
    3 freight 2 % of 1
    4.add new condition
    negative gross price - 100% of 1.
    Regards,
    Vijay

  • Sales Order for Goods with a Disposition for Disposal

    Dear Friends
    Please Provide information below concerning the requested change.
    In some countries, we may use a disposal company that has an excise license.  The disposal process would differ because the change of excise ownership would be triggered via the use of a sales order.  This scenario would involve two key steps:
    1)     Assess the change of excise ownership as soon as goods with disposal disposition leave the plant/warehouse.
    2)     Record inventory depletion as soon as the disposal service provider advises us of the goodsu2019 destruction
    Regards
    Prakash

    Solution identified

  • Free goods with materials having BOM

    I have defined a free goods procedure and assigned it but get a warning message as below. It doesn't give free goods at the sales documents because the paid material has a BOM. How can I come over this problem and give free goods with the material including the ones with BOMs?
    Thanks in advance.
    Message no. V1684
    Diagnosis
    There are certain business transactions where it is not possible to
    determine free goods in the SAP standard system: reason 3
    Explanation of reasons
    1      Document category is not from sales order category (VBTYP <> 'C')
    2      Lower-level item
    3      Bill of material
    4      Product selection
    5      Configurable item
    6      Scheduling agreement/forecast delivery schedule
    7      Item with active ingredient management
    8      Item without schedule lines

    hi,
    Go thru this details
    "Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: ‘With material 1, material 2 and material 3 are free of charge‘ or ‘If material 1 and material 2 are ordered at the same time, then material 3 is free of charge‘.
    Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    Free goods are only supported for sales orders with document category C (for example, not quotations).
    Free goods are not supported for deliveries without reference to a sales order.
    Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix."
    chandu

Maybe you are looking for

  • Is it possible the query in view object is dynamic?

    Is it possible the query in view object is dynamic? Generally, make the column list dynamic. I think this is related to whether view object can be assembled at runtime based on a dynamic cursor in a procedure? I ask this because I would like to know

  • How to export the data to a excel file from RSA3?

    Hi experts, 1.I am trying to save the RSA (SRM extractor) to excel spread sheet to compare SRM data with BI data. When i run the the transaction RSA3 it just showed me 10 different data packets. How to export the data to excel spread sheet for reconc

  • Substitution in Invoice Parked Document

    Hi! Is it possible to create a substitution for invoice parked documents which were parked via tcode MIR7? Thanks, Chaikaru

  • Adding a listener to Active directory for user creation using Java

    Hi, I would like to add a listener to active directory such that when a user is created to the "Users" container, I should be notified or informed. I would like to do this with Java. What should I do ? Regards, Anand Kumar D

  • I got scam. They have a video of me what do I do

    Fine ass chick showing nude and got a video of me nude damming I sign up for all these pages. Got my fb and other stuff saying she'll put it on my page and YouTube what do I do