Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 14 of 14

Thread: Postfix SMTP experiment

  1. #1
    Grandmaster Peon's Avatar
    Join Date
    Sep 2006
    Location
    Hartbeespoort
    Posts
    1,528

    Default Postfix SMTP experiment

    Fellas,

    I have searched the forums before posting. I do not feel previous posts answered by question regarding reverse DNS lookups on an ADSL line, for SMTP purposes.

    Ubuntu, postfix etc,etc. Im fiddling with SpamAssassin, mail storage, user accounting and various tricks and tools, go through the logs and see how it executed. As I can fiddle to much then just restore VMware state. I prefer to have this test server on a local network. I am not keen to hemorrhage money to a upstream provider just for fiddling and testing purposes.

    As many of you know, smtp from an adsl line will always be rejected, from "DOMAIN NOT FOUND" to "SENDER REJECTED" to "I DONT FEEL LIKE ROUTING YOUR MESSAGE TODAY". The DSL ip will be rejected and reverse dns will faulter.

    How does one overcome this? Im not keen on using ClearOS's dyndns feature supplied by clear solutions. This will work but not the solution if you setup a scratch postfix box.

    Peon
    Look me in the eyes when I stare at you. -Borderlands 2 fiend

  2. #2

    Default

    Overcome this by setting your mailserver's smart host to your ISP's smtp server.
    You cannot affect reverse Dns using dyndns or anything like that.

  3. #3

    Default

    What router do you have?
    With NetGear's (and im sure some other routers also have this) you can create firewall rules to allow smtp to your server IP.

    I think this is what you require?

    Regards

  4. #4

    Default

    Like Sinbad said, either forward all internet bound email to a smrthost (your ISP's smtp server) or create another VM and play by sending email between the two VMs. A complete closed environment with two VM's where you also control the DNS is a great way to learn how this all works.
    Why yes, my one eye is bigger than the other. Thanks for pointing that out.

  5. #5
    SmoothSupport The_Librarian's Avatar
    Join Date
    Apr 2005
    Location
    Lothlorien
    Posts
    73,350
    Blog Entries
    19

    Default

    By default all good sysadmins block/blacklist mail from dial-up connections as this is the way spammers try to peddle their wares.

    You will need to use smarthost in order to smtp mail.



    I have set this up using clearOS and iBurst, and it works really well - client is able to SMTP to world+dog via iBurst's SMTP server.
    Christ-mass is NOT for Christians. Jeremiah 10.
    Is the 10 Commandments for Christians?

    Saturday is the Seventh day, Sunday is the first day.

    Shmiert Shpammer

  6. #6
    Grandmaster Peon's Avatar
    Join Date
    Sep 2006
    Location
    Hartbeespoort
    Posts
    1,528

    Default

    Thank you all for the input.

    I was hoping to avoid the smarthost plan, wondering if there was a slick DNS workaround.
    Look me in the eyes when I stare at you. -Borderlands 2 fiend

  7. #7

    Default

    Quote Originally Posted by Peon View Post
    Thank you all for the input.

    I was hoping to avoid the smarthost plan, wondering if there was a slick DNS workaround.
    Reverse DNS authority is delegated by IP block. You won't manage to get a dynamic ip address delegated to a DNS outside of your ISP's.
    Smart host should work perfectly, and transparently to your users.

  8. #8
    Grandmaster Peon's Avatar
    Join Date
    Sep 2006
    Location
    Hartbeespoort
    Posts
    1,528

    Default

    I keep getting hit by this:

    to=<pvt.peon@gmail.com>, relay=smtp.isadsl.co.za[196.23.28.232]:25, delay=27, delays=0.01/0.01/24/2.4, dsn=4.0.0, status=deferred (host smtp.isadsl.co.za[196.23.28.232] said: 451-host lookup did not complete 451 Could not complete sender verify (in reply to RCPT TO command))

    Im sure this is a DNS issue, dont know where....
    Look me in the eyes when I stare at you. -Borderlands 2 fiend

  9. #9
    SmoothSupport The_Librarian's Avatar
    Join Date
    Apr 2005
    Location
    Lothlorien
    Posts
    73,350
    Blog Entries
    19

    Default

    Smarthosts.
    Christ-mass is NOT for Christians. Jeremiah 10.
    Is the 10 Commandments for Christians?

    Saturday is the Seventh day, Sunday is the first day.

    Shmiert Shpammer

  10. #10
    Grandmaster Peon's Avatar
    Join Date
    Sep 2006
    Location
    Hartbeespoort
    Posts
    1,528

    Default

    Quote Originally Posted by The_Librarian View Post
    Smarthosts.
    Not working.

    EDIT: changed the login script for auth on smarthost. Works. One should rather use the TAB button to space than just hitting the space bar. I knew this, thought it wouldnt matter though.
    Last edited by Peon; 13-01-2012 at 06:17 PM.
    Look me in the eyes when I stare at you. -Borderlands 2 fiend

  11. #11
    SmoothSupport The_Librarian's Avatar
    Join Date
    Apr 2005
    Location
    Lothlorien
    Posts
    73,350
    Blog Entries
    19

    Default

    How's things going so far?
    Christ-mass is NOT for Christians. Jeremiah 10.
    Is the 10 Commandments for Christians?

    Saturday is the Seventh day, Sunday is the first day.

    Shmiert Shpammer

  12. #12
    Grandmaster Peon's Avatar
    Join Date
    Sep 2006
    Location
    Hartbeespoort
    Posts
    1,528

    Default

    Worked like a charm. It was just a virtualbox experiment.
    Look me in the eyes when I stare at you. -Borderlands 2 fiend

  13. #13

    Default

    Smarthost probably with authentication is your best bet.

    Sent from South Africas most popular smartphone BlackBerry

  14. #14
    SmoothSupport The_Librarian's Avatar
    Join Date
    Apr 2005
    Location
    Lothlorien
    Posts
    73,350
    Blog Entries
    19

    Default

    Quote Originally Posted by Peon View Post
    Worked like a charm. It was just a virtualbox experiment.
    Good to hear

    It always help to experiment and play around with stuff - so you know what will work and what not.
    Christ-mass is NOT for Christians. Jeremiah 10.
    Is the 10 Commandments for Christians?

    Saturday is the Seventh day, Sunday is the first day.

    Shmiert Shpammer

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •