Page 1 of 2 12 LastLast
Results 1 to 16 of 25

Thread: SMTP enabled mail server

  1. #1
    Senior Member kopite's Avatar
    Join Date
    Sep 2006
    Location
    Liverpool
    Posts
    3,499
    Thanks
    81
    Thanked
    158 times in 127 posts
    • kopite's system
      • Motherboard:
      • Asus Maximus IV Gene-Z
      • CPU:
      • Intel Core i5 2500K
      • Memory:
      • 8GB DDR3 1600 MHz Corsair Memory Vengeance Black
      • Storage:
      • 128GB Crucial m4 for main drive. 3.5 TB of storage space over western Digital Drives
      • Graphics card(s):
      • Gigabyte NVIDIA GTX 970 G1 Gaming Edition
      • PSU:
      • 750W ANTEC TRUEPOWER
      • Case:
      • Silverstone Fortress FT03
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 1 x 27 inch dell Monitor 1 x 20 inch Dell monitor
      • Internet:
      • Virgin media 150MB

    SMTP enabled mail server

    hey,

    Trying to set up my own mail server atm. I have used Exim4 before and liked it but the problem I have is i havent been able to get SMTP working. I know i`m probably doing something really wrong in the setup.

    basically I want a mail server that Can host a pile of accounts for a pile of domains. I want to have some kind of spam checking on the server to make sure I dont get too much crap though.

    any help would be grand

  2. #2
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: SMTP enabled mail server

    I haven't used Exim, but AFIK it is an MTA, not a server in that it hosts mail accounts. You have probably got this link, but just in case...

    exim Internet Mailer

    I run a small mail server using postfix, so it accepts mail for my domains and shoves them in a directory, but I use Dovecot to get them and present them to the mail client.

    If you aren't using a mail client and all your users have shell accounts, then you can deliver directly to the userd directory so they can pick up mail useing mail or mutt (and I think evolution will also pick up from a directory directly).

    Spam assassin is a reasonably good spam filter, although I use some fairly restrivive directives (in Postfix) to reject mail where (for example) the sender domain doesn't resolve back to the sending IP address, but that approach does sometimes reject legitimate mail.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  3. #3
    Senior Member kopite's Avatar
    Join Date
    Sep 2006
    Location
    Liverpool
    Posts
    3,499
    Thanks
    81
    Thanked
    158 times in 127 posts
    • kopite's system
      • Motherboard:
      • Asus Maximus IV Gene-Z
      • CPU:
      • Intel Core i5 2500K
      • Memory:
      • 8GB DDR3 1600 MHz Corsair Memory Vengeance Black
      • Storage:
      • 128GB Crucial m4 for main drive. 3.5 TB of storage space over western Digital Drives
      • Graphics card(s):
      • Gigabyte NVIDIA GTX 970 G1 Gaming Edition
      • PSU:
      • 750W ANTEC TRUEPOWER
      • Case:
      • Silverstone Fortress FT03
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 1 x 27 inch dell Monitor 1 x 20 inch Dell monitor
      • Internet:
      • Virgin media 150MB

    Re: SMTP enabled mail server

    The part of the server i`m having problems with atm is being able to send emails from the server.

    i`m on sky so i need an SMTP server to allow me to send email out

  4. #4
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: SMTP enabled mail server

    Ok, using Sky as a relay. That should work, although their T&C might say that you can't run a mail server . have you set up relaying in the EXIM config file? (You don't have to relay via Sky of course, but a lot of ISP MTAs require some form of sender policy framework before they will accept mail, and that appears to be a pain to set up. I relay mail via Zen, without any problems. It sounds like a config issue, particularly if you can send mail via sky using a normal client, like outlook or evolution.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  5. #5
    Senior Member kopite's Avatar
    Join Date
    Sep 2006
    Location
    Liverpool
    Posts
    3,499
    Thanks
    81
    Thanked
    158 times in 127 posts
    • kopite's system
      • Motherboard:
      • Asus Maximus IV Gene-Z
      • CPU:
      • Intel Core i5 2500K
      • Memory:
      • 8GB DDR3 1600 MHz Corsair Memory Vengeance Black
      • Storage:
      • 128GB Crucial m4 for main drive. 3.5 TB of storage space over western Digital Drives
      • Graphics card(s):
      • Gigabyte NVIDIA GTX 970 G1 Gaming Edition
      • PSU:
      • 750W ANTEC TRUEPOWER
      • Case:
      • Silverstone Fortress FT03
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 1 x 27 inch dell Monitor 1 x 20 inch Dell monitor
      • Internet:
      • Virgin media 150MB

    Re: SMTP enabled mail server

    The dedicated server isnt on my DSL connection its a proper hosted server in a data centre in paris.

    When i try and use sky as my outgoing server the address gets changed to the sky one.

  6. #6
    VTECmeous Vimeous's Avatar
    Join Date
    Aug 2003
    Posts
    2,006
    Thanks
    62
    Thanked
    52 times in 51 posts

    Re: SMTP enabled mail server

    Scalix?
    There is a community version that's free.
    Similar in look and feel to Exchange 2k3
    Vimeous : i7 7700K | 16Gb | ASUS Strix Z270G | GTX1080 | 960 EVO 500GB NVMe | 850 EVO 500GB | TX650W | NZXT S340 Elite | Dell U2713H + 17" | 10 Pro
    Willowin : i7 3570K | 16Gb | ASUS P8Z77-I Deluxe | GTX 660 TI | 2x 1TB 840EVO | Sugo SG05BB-450 | Dell U2713H + 17" | 8.1 Pro
    Svr : X2 4200+ | 2Gb | ASUS A8N-SLI Premium | HD6870 | SonicFury | 8x 250Gb (2x RAID10) | 3Ware 9650SE-8LPML | Seasonic 700W | CM Stacker 830 | XP Pro
    NAS : DS1511+ | DX513
    W : Dell Precision T3610 | E5-1650 V2 | 16GB | Quadro K2000 | 256GB SSD | 1TB HDD | 8.1 Pro | 2x Dell U2515H


  7. #7
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMTP enabled mail server

    it's pretty easy to set up exim to do this (though i don't have my book of documentation with me right now), but you need to be very careful when running your own mail server - e.g. that other web servers don't think of you as a spammer (due to lack of some obscure records like SPF, for example), and make sure you're not open to abuse by spammers passing spam through you

  8. #8
    Theoretical Element Spud1's Avatar
    Join Date
    Jul 2003
    Location
    North West
    Posts
    7,508
    Thanks
    336
    Thanked
    320 times in 255 posts
    • Spud1's system
      • Motherboard:
      • Gigabyte Aorus Master
      • CPU:
      • 9900k
      • Memory:
      • 16GB GSkill Trident Z
      • Storage:
      • Lots.
      • Graphics card(s):
      • RTX3090
      • PSU:
      • 750w
      • Case:
      • BeQuiet Dark Base Pro rev.2
      • Operating System:
      • Windows 10
      • Monitor(s):
      • Asus PG35VQ
      • Internet:
      • 910/100mb Fibre

    Re: SMTP enabled mail server

    What OS is your server running?

    MailEnable - Standard Edition

    Has options for anti spam (PTR record checking, DNS blacklisting, auto-banning of IP addresses etc)/multiple domains&accounts/smtp and a bunch of 3rd party plugin modules. Config is pretty simple too, and its one of the few windows apps to actually follow guidelines and use MMC snapins to do this

    The Professional edition has a nice webmail client too and adds in many more features (such as SPF, more detailed anti spam and so on).

    Worth a look if you are running windows anyway

  9. #9
    Senior Member kopite's Avatar
    Join Date
    Sep 2006
    Location
    Liverpool
    Posts
    3,499
    Thanks
    81
    Thanked
    158 times in 127 posts
    • kopite's system
      • Motherboard:
      • Asus Maximus IV Gene-Z
      • CPU:
      • Intel Core i5 2500K
      • Memory:
      • 8GB DDR3 1600 MHz Corsair Memory Vengeance Black
      • Storage:
      • 128GB Crucial m4 for main drive. 3.5 TB of storage space over western Digital Drives
      • Graphics card(s):
      • Gigabyte NVIDIA GTX 970 G1 Gaming Edition
      • PSU:
      • 750W ANTEC TRUEPOWER
      • Case:
      • Silverstone Fortress FT03
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 1 x 27 inch dell Monitor 1 x 20 inch Dell monitor
      • Internet:
      • Virgin media 150MB

    Re: SMTP enabled mail server

    Im using Debian etch.

    The server has a static non blacklisted IP address which is registered to me. I have set up the RDNS on the IP address as well so it should be fine that way.

  10. #10
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

  11. #11
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: SMTP enabled mail server

    KLet me get this straight in my head...

    You are setting up a local mail server for all the machines on your local net to send mail out. What are you using the Paris data centre mail server for? Are you trying to relay all mail to the data centre using sky as a bearer? If that is the case, you may have problems. I had a similar situationm with a Fren ckh ISP (Wanadoo) which wouldn't let me send SMTP (Port 25) traffic directly to my mail server, I had to clear my outgoing mail through Wanadoo's mail server.

    Sky may be insisting that all outgoing mail is relayed via them - so they handle the final distribution, meanbing that you can't just use them as a pipe to relay directly to the data centre, it has to be via sky's mail server. TIf that is teh case, the only solution may be avia a VPN tunnel, so the nature oif the traffic is transparent to Sky.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  12. #12
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMTP enabled mail server

    Quote Originally Posted by peterb View Post
    KLet me get this straight in my head...

    You are setting up a local mail server for all the machines on your local net to send mail out. What are you using the Paris data centre mail server for? Are you trying to relay all mail to the data centre using sky as a bearer? If that is the case, you may have problems. I had a similar situationm with a Fren ckh ISP (Wanadoo) which wouldn't let me send SMTP (Port 25) traffic directly to my mail server, I had to clear my outgoing mail through Wanadoo's mail server.

    Sky may be insisting that all outgoing mail is relayed via them - so they handle the final distribution, meanbing that you can't just use them as a pipe to relay directly to the data centre, it has to be via sky's mail server. TIf that is teh case, the only solution may be avia a VPN tunnel, so the nature oif the traffic is transparent to Sky.
    he wants to run his own non-sky smarthost, on his colo'd box, because sky do rewriting on outgoing mail

  13. #13
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: SMTP enabled mail server

    In that case, the problem is probably Sky not accepting traffic on port 25 unless it is via their mail relay - which they then re-write.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  14. #14
    Senior Member kopite's Avatar
    Join Date
    Sep 2006
    Location
    Liverpool
    Posts
    3,499
    Thanks
    81
    Thanked
    158 times in 127 posts
    • kopite's system
      • Motherboard:
      • Asus Maximus IV Gene-Z
      • CPU:
      • Intel Core i5 2500K
      • Memory:
      • 8GB DDR3 1600 MHz Corsair Memory Vengeance Black
      • Storage:
      • 128GB Crucial m4 for main drive. 3.5 TB of storage space over western Digital Drives
      • Graphics card(s):
      • Gigabyte NVIDIA GTX 970 G1 Gaming Edition
      • PSU:
      • 750W ANTEC TRUEPOWER
      • Case:
      • Silverstone Fortress FT03
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 1 x 27 inch dell Monitor 1 x 20 inch Dell monitor
      • Internet:
      • Virgin media 150MB

    Re: SMTP enabled mail server

    I want my mail server to be hosted on my Colo`d box.

    I am able to connect to other servers using port 25 with little problem so its not an issue. I really want to have my own mail server that does everything. I want SMTP to be authenticated though.

  15. #15
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: SMTP enabled mail server

    Quote Originally Posted by kopite View Post
    I want my mail server to be hosted on my Colo`d box.

    I am able to connect to other servers using port 25 with little problem so its not an issue. I really want to have my own mail server that does everything. I want SMTP to be authenticated though.
    Exim Smtp Auth - Waikato Linux Users Group

  16. #16
    Senior Member kopite's Avatar
    Join Date
    Sep 2006
    Location
    Liverpool
    Posts
    3,499
    Thanks
    81
    Thanked
    158 times in 127 posts
    • kopite's system
      • Motherboard:
      • Asus Maximus IV Gene-Z
      • CPU:
      • Intel Core i5 2500K
      • Memory:
      • 8GB DDR3 1600 MHz Corsair Memory Vengeance Black
      • Storage:
      • 128GB Crucial m4 for main drive. 3.5 TB of storage space over western Digital Drives
      • Graphics card(s):
      • Gigabyte NVIDIA GTX 970 G1 Gaming Edition
      • PSU:
      • 750W ANTEC TRUEPOWER
      • Case:
      • Silverstone Fortress FT03
      • Operating System:
      • Windows 10
      • Monitor(s):
      • 1 x 27 inch dell Monitor 1 x 20 inch Dell monitor
      • Internet:
      • Virgin media 150MB

    Re: SMTP enabled mail server

    I have niow managed to get Exim4 up and running using
    Exim4 on Debian with SpamAssassin, ClamAV, Virtual Domain Alias Files and Message Size Limits per Domain to set up exim, spamassasin and clamav.
    HowTo Setup Basic SMTP AUTH in Exim4 to set up smtp with auth.

    The problem i`m having now though is that It wont sent email unless I set clamav to run as root. I get the following errors in exim4 mainlog if I run user as clamav.

    008-05-22 08:09:09 1Jz4vF-0004TT-Lp malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
    2008-05-22 08:09:09 1Jz4vF-0004TT-Lp H=5ad1f586.bb.sky.com ([###.###.###.###]) [###.###.###.###] F=<email@address.com> temporarily rejected after DATA

    Email goes through fine if I run as root so i`m thinking its a permissions issue but I dont know what theyy are supposed to be.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. What software for my new server
    By kopite in forum Software
    Replies: 3
    Last Post: 11-02-2008, 11:50 AM
  2. Do BT INTERNET use Yahoo for a mail server?
    By Zak33 in forum Networking and Broadband
    Replies: 4
    Last Post: 25-01-2008, 09:03 PM
  3. How is email fowarded to an exchange server.
    By funnelhead in forum Networking and Broadband
    Replies: 17
    Last Post: 16-08-2007, 11:05 AM
  4. Mail server Help
    By kopite in forum Software
    Replies: 3
    Last Post: 07-03-2007, 07:58 PM
  5. server upgrade advise
    By neul in forum PC Hardware and Components
    Replies: 1
    Last Post: 06-02-2007, 09:56 PM

Posting Permissions

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