Search the Community
Showing results for tags 'postfix'.
-
So I've got a dedicated server at home, and I run several VM's on that for my friends. But, a couple of them want email servers... I have my own email server on a VM (@nikkiedev.com in this case). Each one of my friends have a website. For example, how would I create an email server for every one of their websites. So for example, have an email server for Hidden's vm (@hiddenslair.nl for website hiddenslair.nl) and for tijgersword's vm (@tijgersword.nl for website tijgersword.nl), yet still have my own domain as well on my own VPS? I use CloudFlare DNS, and can easily edit my records. I also have direct access to my Modem/router control panel. I don't use virtual domains, nor virtual users. I just want an email server per website (so per vm) How would I do this?
- 6 replies
-
- vps
- networking
-
(and 3 more)
Tagged with:
-
Hello, I've been trying to setup my own send-only mail server so I could send emails using PHP scripts, but I've been running into some issues. Whenever I send a test email to my gmail account, it doesn't go thorugh and I get the following errors in the mail.log file: Apr 9 06:17:55 driedsponge postfix/smtp[28482]: connect to alt1.gmail-smtp-in.l.google.com[74.125.129.27]:25: Connection timed out Apr 9 06:18:25 driedsponge postfix/smtp[28482]: connect to alt2.gmail-smtp-in.l.google.com[142.250.11.27]:25: Connection timed out Apr 9 06:18:55 driedsponge postfix/smtp[28482]: connect to alt3.gmail-smtp-in.l.google.com[173.194.77.27]:25: Connection timed out Apr 9 06:19:25 driedsponge postfix/smtp[28482]: connect to alt4.gmail-smtp-in.l.google.com[64.233.177.27]:25: Connection timed out Apr 9 06:19:25 driedsponge postfix/smtp[28482]: 57B4E26099E: to=<XXXXXXXXXXX@gmail.com>, relay=none, delay=1985, delays=1835/0.04/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[64.233.177.27]:25: Connection timed out) I figured it was because my ISP was probably blocking port 25, so I changed it in the master.cf file to port 587 to see if it would work, but it didn't. The only time I was actually able to send an email was when I used Gmail SMTP. I would just use the Gmail SMTP server, but it prevents me from using my own domain. Any help would be much appreciated! Thank you! Here are the tutorials I followed: Configure Postfix to Use Gmail SMTP on Ubuntu https://easyengine.io/tutorials/linux/ubuntu-postfix-gmail-smtp/ How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04 https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-16-04 (I don't use a hosting provider, I just host off a machine I own)
- 3 replies
-
- linux
- ubuntu18.04
-
(and 2 more)
Tagged with:
-
Hello all, I was wondering if there are any people here who are knowledgeable when it comes to things like mail servers in Linux. I currently am running my own mail server, however, it is not configured in the most ideal way, as dovecot is using users to sign in and not a database with usernames and passwords. However, I am soon going to be starting another business, and being so, I will purchase a new domain. So, my question is, what would be the most ideal way to configure my mail server to use more than one domain when my users log in online and with their mobile devices? I was thinking something along the lines of a MySQL database, so, I did some research on that, but it was just a little over my head, as I do not know much about mail servers, other than the basics. If any of you know anything and would be willing to lend the help, I would be much obliged.
-
I have set up a personal email server with RoundCube dovecot and postfix I can access my email just fine from my website but I can not figure out how to set it up with my android phone is there anything specific I need to do everything i do comes back with some sort of error
-
Good day to you all, I have tried nearly everything from every different website I can find, none resolve my issue. I have the latest version of Sentora web-hosting control panel installed, I have created an email account and am able to receive mail through roundcube webmail. I however send mail and it shows as sent successfully and drops it into the sent box, but upon checking mail logs and it shows as timed out and not sent, no matter what email I send to. Here's the latest: Oct 21 13:30:41 login postfix/smtp[17110]: 77CB23C12D5: to= <x17andrew71x@gmail.com>, relay=none, delay=162982, delays=162890/0.06/93/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp- in.l.google.com[74.125.192.26]:25: Connection timed out) Sometimes I will instead of get Timed out, it will show Network unreachable: Oct 21 13:30:12 login postfix/smtp[17107]: 81AF93C16AB: to= <x17andrew71x@gmail.com>, relay=none, delay=73057, delays=72994/0.05/63/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp- in.l.google.com[2607:f8b0:400d:c00::1a]:25: Network is unreachable) I've tried changing the sentora config on my panel to send through every different option and with or without smtp, etc. I have followed tutorial after tutorial as well on changing the port it is supposed to use. When I do this though, i try sending new mail and it still attempts to send it through port 25. no matter what i change it to, the log says :25 every time. Please help me get this cleared up. I will be glad to provide any other information necessary. I've opened 25, 587, 2525, etc on my router and through Iptables. - Andrew Edit: Here is the latest, full mail log from the start of me logging into webmail through sending the message and it trying to reach gmail: Oct 21 14:04:13 login postfix/smtpd[18002]: connect from localhost[::1] Oct 21 14:04:13 login postfix/smtpd[18002]: 8AF9C3C16E9: client=localhost[::1], sasl_method=LOGIN, sasl_username=support@vestraweb.com Oct 21 14:04:13 login postfix/cleanup[18007]: 8AF9C3C16E9: message-id=<01768e1a9eb1727ce6a5f086c978a5a7@vestraweb.com> Oct 21 14:04:13 login postfix/qmgr[17785]: 8AF9C3C16E9: from=<support@vestraweb.com>, size=1048, nrcpt=1 (queue active) Oct 21 14:04:13 login postfix/smtpd[18002]: disconnect from localhost[::1] Oct 21 14:04:23 login postfix/qmgr[17785]: C7F2B3C16CB: from=<support@vestraweb.com>, size=1048, nrcpt=1 (queue active) Oct 21 14:04:46 login postfix/smtp[18008]: connect to gmail-smtp-in.l.google.com[64.233.180.27]:25: Connection timed out Oct 21 14:04:46 login postfix/smtp[18008]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4003:c0b::1b]:25: Network is unreachable Oct 21 14:04:54 login postfix/smtp[18021]: connect to gmail-smtp-in.l.google.com[64.233.180.27]:25: Connection timed out Oct 21 14:04:54 login postfix/smtp[18021]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4003:c0b::1b]:25: Network is unreachable Oct 21 14:04:54 login postfix/smtp[18021]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:4002:c03::1a]:25: Network is unreachable
-
Postfix email being marked as spam and it says its not did not encrypt this message.
-
postfix Problem sending out mail from postfix
Ajaydev Singh posted a topic in Programs, Apps and Websites
I have my aws ubuntu linux server for web hosting I am trying to setup mail server. I can send mail from my gmail to the server but when i try to send mail to my gmail using webmin. it didnt work. for the time being all ports are open.-
- mail server
-
(and 2 more)
Tagged with:
-
Hello, I am working on a mail server for my company and have set up Postfix, Dovecot and Squirrelmail. However I am unable to receive mails on Squirrelmail. I am able to send e-mails though. /etc/squirrelmail/apache.conf: Alias /squirrelmail /usr/share/squirrelmail <Directory /usr/share/squirrelmail> Options FollowSymLinks <IfModule mod_php5.c> php_flag register_globals off </IfModule> <IfModule mod_dir.c> DirectoryIndex index.php </IfModule> # access to configtest is limited by default to prevent information leak <Files configtest.php> order deny,allow deny from all allow from 127.0.0.1 </Files> </Directory> # users will prefer a simple URL like http://webmail.example.com #<VirtualHost 1.2.3.4> # DocumentRoot /usr/share/squirrelmail # ServerName webmail.example.com #</VirtualHost> # redirect to https when available (thanks omen@descolada.dartmouth.edu) # # Note: There are multiple ways to do this, and which one is suitable for # your site's configuration depends. Consult the apache documentation if # you're unsure, as this example might not work everywhere. # #<IfModule mod_rewrite.c> # <IfModule mod_ssl.c> # <Location /squirrelmail> # RewriteEngine on # RewriteCond %{HTTPS} !^on$ [NC] # RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L] # </Location> # </IfModule> #</IfModule> /etc/dovecot/dovecot.conf: ## Dovecot configuration file # If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration # "doveconf -n" command gives a clean output of the changed settings. Use it # instead of copy&pasting files when posting to the Dovecot mailing list. # '#' character and everything after it is treated as comments. Extra spaces # and tabs are ignored. If you want to use either of these explicitly, put the # value inside quotes, eg.: key = "# char and trailing whitespace " # Most (but not all) settings can be overridden by different protocols and/or # source/destination IPs by placing the settings inside sections, for example: # protocol imap { }, local 127.0.0.1 { }, remote 10.0.0.0/8 { } # Default values are shown for each setting, it's not required to uncomment # those. These are exceptions to this though: No sections (e.g. namespace {}) # or plugin settings are added by default, they're listed only as examples. # Paths are also just examples with the real defaults being based on configure # options. The paths listed here are for configure --prefix=/usr # --sysconfdir=/etc --localstatedir=/var # Enable installed protocols !include_try /usr/share/dovecot/protocols.d/*.protocol # A comma separated list of IPs or hosts where to listen in for connections. # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces. # If you want to specify non-default ports or anything more complex, # edit conf.d/master.conf. listen = * # Base directory where to store runtime data. #base_dir = /var/run/dovecot/ # Name of this instance. In multi-instance setup doveadm and other commands # can use -i <instance_name> to select which instance is used (an alternative # to -c <config_path>). The instance name is also added to Dovecot processes # in ps output. #instance_name = dovecot # Greeting message for clients. #login_greeting = Dovecot ready. # Space separated list of trusted network ranges. Connections from these # IPs are allowed to override their IP addresses and ports (for logging and # for authentication checks). disable_plaintext_auth is also ignored for # these networks. Typically you'd specify your IMAP proxy servers here. #login_trusted_networks = # Space separated list of login access check sockets (e.g. tcpwrap) #login_access_sockets = # With proxy_maybe=yes if proxy destination matches any of these IPs, don't do # proxying. This isn't necessary normally, but may be useful if the destination # IP is e.g. a load balancer's IP. #auth_proxy_self = # Show more verbose process titles (in ps). Currently shows user name and # IP address. Useful for seeing who are actually using the IMAP processes # (eg. shared mailboxes or if same uid is used for multiple accounts). #verbose_proctitle = no # Should all processes be killed when Dovecot master process shuts down. # Setting this to "no" means that Dovecot can be upgraded without # forcing existing client connections to close (although that could also be # a problem if the upgrade is e.g. because of a security fix). #shutdown_clients = yes # If non-zero, run mail commands via this many connections to doveadm server, # instead of running them directly in the same process. #doveadm_worker_count = 0 # UNIX socket or host:port used for connecting to doveadm server #doveadm_socket_path = doveadm-server # Space separated list of environment variables that are preserved on Dovecot # startup and passed down to all of its child processes. You can also give # key=value pairs to always set specific settings. #import_environment = TZ ## ## Dictionary server settings ## # Dictionary can be used to store key=value lists. This is used by several # plugins. The dictionary can be accessed either directly or though a # dictionary server. The following dict block maps dictionary names to URIs # when the server is used. These can then be referenced using URIs in format # "proxy::<name>". dict { #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext } # Most of the actual configuration gets included below. The filenames are # first sorted by their ASCII value and parsed in that order. The 00-prefixes # in filenames are intended to make it easier to understand the ordering. !include conf.d/*.conf # A config file can also tried to be included without giving an error if # it's not found: !include_try local.conf /etc/postfix/main.cf: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Raspbian) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = arcanerealms.ga alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = arcanerealms.ga, server, localhost.localdomain, localhost # relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 home_mailbox = /var/mail/ mailbox_command = smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname, check_helo_access hash:/etc/postfix/helo_access smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_tls_auth_only = yes If anyone knows why this happens please let me know! Yours, Marijn.
- 15 replies
-
- postfix
- squirrelmail
-
(and 2 more)
Tagged with: