DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2 Weeks Ago
billy_bazooka billy_bazooka is offline
Port Guard
 
Join Date: Sep 2016
Posts: 25
Unhappy [solved] email server not sending mails

I am following this guide on vultr: https://www.vultr.com/docs/an-openbs...d-and-rainloop to setup an email server on openbsd.

I fire up thunderbird. I can receive mail just fine. But I cannot send mail. Nothing happens when I send mail.

Email seems very complicated. Much more so than web server, I dont know how to debug this - what is my first step to solve this?

here is my smtpd.conf, with my domain name switched to "example.org" of course:

Code:
pki "mail" cert "/etc/ssl/mail.crt"
pki "mail" key "/etc/ssl/private/mail.key"

table aliases file:/etc/mail/aliases
table credentials passwd:/etc/mail/credentials
table virtuals file:/etc/mail/virtuals

filter "rspamd" proc-exec "/usr/local/libexec/smtpd/filter-rspamd"

# To accept external mail, replace with: listen on all

listen on all tls pki "mail" hostname "mail.example.org" filter "rspamd"
listen on egress port submission tls-require pki "mail" hostname "mail.example.org" auth <credentials> filter "rspamd"

action "local_mail" mbox alias <aliases>
action "domain_mail" maildir "/var/vmail/example.org/%{dest.user}" \
    virtual <virtuals>
action "outbound" relay

# Uncomment the following to accept external mail for domain "example.org"

match from any for domain "example.org" action "domain_mail"
match from local for local action "local_mail"

match from local for any action "outbound"
match auth from any for any action "outbound"
Not really sure what to do?

Last edited by billy_bazooka; 2 Weeks Ago at 04:55 PM.
Reply With Quote
  #2   (View Single Post)  
Old 2 Weeks Ago
billy_bazooka billy_bazooka is offline
Port Guard
 
Join Date: Sep 2016
Posts: 25
Default

hm.. it seems maybe vultr blocks outgoing mail...
Reply With Quote
  #3   (View Single Post)  
Old 2 Weeks Ago
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 571
Default

Are you sure you server does not send e-mail? Maybe it sends, but is rejected by other servers?
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #4   (View Single Post)  
Old 2 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,059
Default

By default, Vultr blocks outbound SMTP from their networks. A service ticket must be opened to request it for your server.
Reply With Quote
  #5   (View Single Post)  
Old 2 Weeks Ago
billy_bazooka billy_bazooka is offline
Port Guard
 
Join Date: Sep 2016
Posts: 25
Default

Yes, its the vultr. Blocked email.

They did not want to open it for me.
You know what - the only reason i bought a vultr vps was because of their "openbsd mail server" article. And smtp is closed - and they said they will review my request in a month. And that my account cannot lay dormant.
Jeez - downright disgusting.
Reply With Quote
  #6   (View Single Post)  
Old 2 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,059
Default

I've previously had no problems getting outbound destination port 25 opened by Vultr. The first time, I recall it taking about 15 minutes from opening a ticket to getting the port opened. The second time I recall that they emailed me a form to fill out and return, telling them that I was going to use it for limited personal Email, that I wasn't a spammer, that I wasn't a bozo, and that I'd take responsibility for my actions. The entire turnaround from open ticket to form to open port was probably 60 minutes.
Reply With Quote
  #7   (View Single Post)  
Old 2 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,059
Default

To follow-up again, Vultr policy must have changed. I went through my tickets looking for my most recent request, which was in 2019. At the time, Vultr responded with the following request. Note that the PDF referred to below is no longer a valid link:
Quote:
Originally Posted by Vultr
Please understand as a precaution this port is blocked to combat spam and spam-like activities. To remove this block, we will need additional information to assist you with your request.

Please attach the following information using the customer portal at https://my.vultr.com/support/.

1. The following form located at https://my.vultr.com/billing/cc_auth_form.pdf.
2. A photo of your government issued ID (a name and valid photo required)
3. A partial photo of your Credit Card showing only a name and the last 4 digits showing for security
Reply With Quote
  #8   (View Single Post)  
Old 2 Weeks Ago
openletter openletter is offline
New OpenBSD User
 
Join Date: Feb 2020
Posts: 8
Default

I have been using Vultr for several years. At first I only ran a webserver that sent transactional email, and never an issue.

Later I moved my mail server over and never an issue.

I have been using Dallas DC.

Are you by chance using a newly purchased domain? That might play into taking a longer time for them to approve.

OTOH, their IP address reputation seems solid.

Last edited by openletter; 2 Weeks Ago at 02:18 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security RCE bug in OpenSMTPD email server e1-531g News 12 1st March 2020 03:21 PM
FreeBSD email server ? roundkat FreeBSD General 1 30th March 2017 03:08 PM
Most Secure Email Server Package EverydayDiesel OpenBSD Security 5 24th July 2013 05:18 AM
FreeBSD 6.2 + qmail = problem sending email to freebsd.org DNAeon FreeBSD Ports and Packages 2 29th September 2008 12:27 AM
Mutt not sending email cssgalactic FreeBSD General 4 3rd July 2008 09:54 PM


All times are GMT. The time now is 04:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick