i really tried with email....

sorry to bother you guys but i can't figure this out and i've tried searching the google to no avail. i can send emails fine but not receive.

ok so where do i start? deploying a debian install with LAMP, Postfix, Dovecot, ISPConfig among others. i have 6 databases including a roundcube database, not sure if i need another for postfix or dovecot for inbound mails.

this is the error i get from the bounce back:

Reporting-MTA: dns; duggancorp.com

X-Postfix-Queue-ID: C68DD2687C

X-Postfix-Sender: rfc822; [email protected]

Arrival-Date: Thu, 16 Feb 2017 03:10:58 +0000 (UTC)

Final-Recipient: rfc822; [email protected]

Original-Recipient: rfc822;[email protected]

Action: failed

Status: 5.1.1

Diagnostic-Code: X-Postfix; unknown user: "admin"

–----------------------------------------------------------------------------------------------------------------------------------

my hosts file looks like this:

127.0.0.1 localhost

45.33.47.207 duggancorp.com duggancorp

–-----------------------------------------------------------------------------------------------------------------------------------

my postfix setup was as follows:

General type of mail configuration: Internet Site

System mail name: duggancorp.com

–------------------------------------------------------------------------------------------------------------------------------------

postfix config (etc/postfix/master.cf)

#

Postfix master process configuration file. For details on the format

of the file, see the master(5) manual page (command: "man 5 master" or

on-line: http://www.postfix.org/master.5.html).

#

Do not forget to execute "postfix reload" after editing this file.

#

==========================================================================

service type private unpriv chroot wakeup maxproc command + args

(yes) (yes) (yes) (never) (100)

==========================================================================

smtp inet n - - - - smtpd

smtp inet n - - - 1 postscreen

smtpd pass - - - - - smtpd

dnsblog unix - - - - 0 dnsblog

tlsproxy unix - - - - 0 tlsproxy

submission inet n - - - - smtpd

-o syslog_name=postfix/submission

-o smtpdtlssecurity_level=encrypt

-o smtpdsaslauth_enable=yes

-o smtpdrejectunlisted_recipient=no

-o smtpdclientrestrictions=$muaclientrestrictions

-o smtpdhelorestrictions=$muahelorestrictions

-o smtpdsenderrestrictions=$muasenderrestrictions

-o smtpdrecipientrestrictions=

-o smtpdrelayrestrictions=permitsaslauthenticated,reject

-o miltermacrodaemon_name=ORIGINATING

smtps inet n - - - - smtpd

-o syslog_name=postfix/smtps

-o smtpdtlswrappermode=yes

-o smtpdsaslauth_enable=yes

-o smtpdrejectunlisted_recipient=no

-o smtpdclientrestrictions=$muaclientrestrictions

-o smtpdhelorestrictions=$muahelorestrictions

-o smtpdsenderrestrictions=$muasenderrestrictions

-o smtpdrecipientrestrictions=

-o smtpdrelayrestrictions=permitsaslauthenticated,reject

-o miltermacrodaemon_name=ORIGINATING

628 inet n - - - - qmqpd

pickup unix n - - 60 1 pickup

cleanup unix n - - - 0 cleanup

qmgr unix n - n 300 1 qmgr

qmgr unix n - n 300 1 oqmgr

tlsmgr unix - - - 1000? 1 tlsmgr

rewrite unix - - - - - trivial-rewrite

bounce unix - - - - 0 bounce

defer unix - - - - 0 bounce

trace unix - - - - 0 bounce

verify unix - - - - 1 verify

flush unix n - - 1000? 0 flush

proxymap unix - - n - - proxymap

proxywrite unix - - n - 1 proxymap

smtp unix - - - - - smtp

relay unix - - - - - smtp

-o smtphelotimeout=5 -o smtpconnecttimeout=5

showq unix n - - - - showq

error unix - - - - - error

retry unix - - - - - error

discard unix - - - - - discard

local unix - n n - - local

virtual unix - n n - - virtual

lmtp unix - - - - - lmtp

anvil unix - - - - 1 anvil

scache unix - - - - 1 scache

#

====================================================================

Interfaces to non-Postfix software. Be sure to examine the manual

pages of the non-Postfix software to find out what options it wants.

#

Many of the following services use the Postfix pipe(8) delivery

agent. See the pipe(8) man page for information about ${recipient}

and other message envelope options.

====================================================================

–---------------------------------------------------------------------------------------------------------------------------

after pasting that i just realized postfix has nothing to do with this problem but it may be useful, not sure :?

i am just not familiar with the email inbox portion of this and suspect it has to do with dovecot and quite possibly not having a database setup or dovecot not properly configured.

netstat -lvpnut output:

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 30783/named

tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 29704/smtpd

tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 30635/dovecot

tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 30635/dovecot

tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 3532/postgrey.pid -

tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 30626/amavisd-new (

tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 30583/master

tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 30626/amavisd-new (

tcp 0 0 127.0.0.1:10027 0.0.0.0:* LISTEN 30583/master

tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 30583/master

tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 10700/memcached

tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 30635/dovecot

tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 30635/dovecot

tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 30583/master

tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 23264/pure-ftpd (SE

tcp 0 0 192.168.218.66:53 0.0.0.0:* LISTEN 30783/named

tcp 0 0 45.33.47.207:53 0.0.0.0:* LISTEN 30783/named

tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 30783/named

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3387/sshd

tcp6 0 0 ::1:953 :::* LISTEN 30783/named

tcp6 0 0 :::25 :::* LISTEN 29704/smtpd

tcp6 0 0 :::443 :::* LISTEN 28134/apache2

tcp6 0 0 :::993 :::* LISTEN 30635/dovecot

tcp6 0 0 :::995 :::* LISTEN 30635/dovecot

tcp6 0 0 ::1:10023 :::* LISTEN 3532/postgrey.pid -

tcp6 0 0 ::1:10024 :::* LISTEN 30626/amavisd-new (

tcp6 0 0 :::9000 :::* LISTEN 16379/hhvm

tcp6 0 0 ::1:10026 :::* LISTEN 30626/amavisd-new (

tcp6 0 0 :::3306 :::* LISTEN 30292/mysqld

tcp6 0 0 :::587 :::* LISTEN 30583/master

tcp6 0 0 :::110 :::* LISTEN 30635/dovecot

tcp6 0 0 :::143 :::* LISTEN 30635/dovecot

tcp6 0 0 :::8080 :::* LISTEN 28134/apache2

tcp6 0 0 :::80 :::* LISTEN 28134/apache2

tcp6 0 0 :::8081 :::* LISTEN 28134/apache2

tcp6 0 0 :::465 :::* LISTEN 30583/master

tcp6 0 0 :::21 :::* LISTEN 23264/pure-ftpd (SE

tcp6 0 0 :::53 :::* LISTEN 30783/named

tcp6 0 0 :::22 :::* LISTEN 3387/sshd

udp 0 0 192.168.218.66:53 0.0.0.0:* 30783/named

udp 0 0 45.33.47.207:53 0.0.0.0:* 30783/named

udp 0 0 127.0.0.1:53 0.0.0.0:* 30783/named

udp 0 0 192.168.218.66:123 0.0.0.0:* 3870/ntpd

udp 0 0 45.33.47.207:123 0.0.0.0:* 3870/ntpd

udp 0 0 127.0.0.1:123 0.0.0.0:* 3870/ntpd

udp 0 0 0.0.0.0:123 0.0.0.0:* 3870/ntpd

udp 0 0 127.0.0.1:11211 0.0.0.0:* 10700/memcached

udp6 0 0 :::53 :::* 30783/named

udp6 0 0 ::1:123 :::* 3870/ntpd

udp6 0 0 fe80::f03c:91ff:fe2:123 :::* 3870/ntpd

udp6 0 0 2600:3c01::f03c:91f:123 :::* 3870/ntpd

udp6 0 0 :::123 :::* 3870/ntpd

i did try and add an email domain and so forth inside ISPConfig but again cannot receive emails. thank you in advance!

19 Replies

/etc/postfix/main.cf is where the main config is; master.cf controls the spawning of the various daemons that actually handle parts of the internal pipeline postfix uses for processing mail (both inbound and outbound). I'm not familiar with ISPConfig, but my guess is that you haven't added a mailbox for that address yet. This guide will probably be helpful: http://docs.ispconfig.org/my-first-email/

@dwfreed:

/etc/postfix/main.cf is where the main config is; master.cf controls the spawning of the various daemons that actually handle parts of the internal pipeline postfix uses for processing mail (both inbound and outbound). I'm not familiar with ISPConfig, but my guess is that you haven't added a mailbox for that address yet. This guide will probably be helpful: http://docs.ispconfig.org/my-first-email/
thank you for the rapid response! i've reviewed that ISPConfig link and already have everything setup accordingly. good looking on the main config for postfix and after i quickly scanned it, i still don't see my problem :(

my 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

smtpdbanner = $myhostname ESMTP $mailname (Debian/GNU)

biff = no

appending .domain is the MUA's job.

appenddotmydomain = no

Uncomment the next line to generate "delayed mail" warnings

delaywarningtime = 4h

readme_directory = /usr/share/doc/postfix

TLS parameters

smtpdtlscert_file = /etc/postfix/smtpd.cert

smtpdtlskey_file = /etc/postfix/smtpd.key

smtpdusetls = yes

smtpdtlssessioncachedatabase = btree:${datadirectory}/smtpdscache

smtptlssessioncachedatabase = btree:${datadirectory}/smtpscache

See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for

information on enabling SSL in the smtp client.

smtpdrelayrestrictions = permitmynetworks permitsaslauthenticated deferunauth_destination

myhostname = duggancorp.com

alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases

alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases

myorigin = /etc/mailname

mydestination = duggancorp.com, localhost, localhost.localdomain

relayhost =

mynetworks = 127.0.0.0/8 [::1]/128

mailbox_command = procmail -a "$EXTENSION"

mailboxsizelimit = 0

recipient_delimiter = +

inet_interfaces = all

html_directory = /usr/share/doc/postfix/html

virtualaliasdomains =

virtualaliasmaps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, prox$

virtualmailboxdomains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

virtualmailboxmaps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf

virtualmailboxbase = /var/vmail

virtualuidmaps = mysql:/etc/postfix/mysql-virtual_uids.cf

virtualgidmaps = mysql:/etc/postfix/mysql-virtual_gids.cf

senderbccmaps = proxy:mysql:/etc/postfix/mysql-virtualoutgoingbcc.cf

inet_protocols = all

smtpdsaslauth_enable = yes

brokensaslauth_clients = yes

smtpdsaslauthenticated_header = yes

smtpdrestrictionclasses = greylisting

greylisting = checkpolicyservice inet:127.0.0.1:10023

smtpdrecipientrestrictions = permitmynetworks, permitsaslauthenticated, rejectunauthdestination, checkrecipient_acce$

smtpdtlssecurity_level = may

transportmaps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtualtransports.cf

relaydomains = mysql:/etc/postfix/mysql-virtualrelaydomains.cf

relayrecipientmaps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf

smtpdsenderloginmaps = proxy:mysql:/etc/postfix/mysql-virtualsenderloginmaps.cf

proxyreadmaps = $localrecipientmaps $mydestination $virtualaliasmaps $virtualaliasdomains $senderbccmaps $virtual_$

smtpdhelorequired = yes

smtpdhelorestrictions = permitsaslauthenticated, permitmynetworks, checkheloaccess regexp:/etc/postfix/heloaccess, r$

smtpdsenderrestrictions = checksenderaccess regexp:/etc/postfix/tagasoriginating.re , permitmynetworks, permitsasl_a$

smtpdclientrestrictions = checkclientaccess mysql:/etc/postfix/mysql-virtual_client.cf

smtpdclientmessageratelimit = 100

maildropdestinationconcurrency_limit = 1

maildropdestinationrecipient_limit = 1

virtual_transport = dovecot

headerchecks = regexp:/etc/postfix/headerchecks

mimeheaderchecks = regexp:/etc/postfix/mimeheaderchecks

nestedheaderchecks = regexp:/etc/postfix/nestedheaderchecks

bodychecks = regexp:/etc/postfix/bodychecks

ownerrequestspecial = no

smtptlssecurity_level = may

smtpdtlsmandatory_protocols = !SSLv2, !SSLv3

smtpdtlsprotocols = !SSLv2,!SSLv3

smtptlsprotocols = !SSLv2,!SSLv3

smtpdtlsexclude_ciphers = RC4, aNULL

smtptlsexclude_ciphers = RC4, aNULL

dovecotdestinationrecipient_limit = 1

smtpdsasltype = dovecot

smtpdsaslpath = private/auth

content_filter = amavis:[127.0.0.1]:10024

receiveoverrideoptions = noaddressmappings

messagesizelimit = 0

myhostname = duggancorp.com

mydestination = duggancorp.com, localhost, localhost.localdomain

Needs to have the hostname as part of it. If you type hostname on the command line, it should return something.ie: #hostname

fredblogs

Change to match :

myhostname = fredblogs.duggancorp.com

mydestination = fredblogs.duggancorp.com, localhost, localhost.localdomain

Restart postfix and see how you go.

Woops, edit, I was hasty. edit: Postfix cannot find the admin user. Check your sql query.

Diagnostic-Code: X-Postfix; unknown user: "admin"

@kangaby:

myhostname = duggancorp.com

mydestination = duggancorp.com, localhost, localhost.localdomain

Needs to have the hostname as part of it. If you type hostname on the command line, it should return something.ie: #hostname

fredblogs

Change to match :

myhostname = fredblogs.duggancorp.com

mydestination = fredblogs.duggancorp.com, localhost, localhost.localdomain

Restart postfix and see how you go.
hostname output is duggancorp

and my main.cf is properly configured as you have suggested

myhostname = duggancorp.com

mydestination = duggancorp.com, localhost, localhost.localdomain

@jeremye77:

Woops, edit, I was hasty. edit: Postfix cannot find the admin user. Check your sql query.

Diagnostic-Code: X-Postfix; unknown user: "admin"
excuse my ignorance here but how do i check my sql query? i believe its possible i don't have a database setup but one would think that was done when i installed postfix?

also here is my smtp confirmation from roundcube as the [email protected] can send mail just not receive.

MIME-Version: 1.0

Content-Type: text/plain; charset=US-ASCII;

format=flowed

Content-Transfer-Encoding: 7bit

Date: Wed, 15 Feb 2017 19:15:49 -0800

From: [email protected]

To: [email protected]

Subject: TEST

Message-ID: <[email protected]>

X-Sender: [email protected]

User-Agent: Roundcube Webmail/1.1.5

EDIT: i'm pretty sure i dont have the sql database setup but i can confirm the admin account is setup with a directory. see below:

[email protected]:/var/vmail/duggancorp.com/admin# cd Maildir/

[email protected]:/var/vmail/duggancorp.com/admin/Maildir# ls

cur dovecot-uidvalidity subscriptions

dovecot.index.log dovecot-uidvalidity.58a5163f tmp

dovecot-uidlist new

I am not sure how to ask this. Where do you think your users are coming from. Where should Postfix be looking for the admin user?

You are telling postfix to look for mysql queries here:

virtualaliasmaps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, prox$

virtualmailboxdomains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

virtualmailboxmaps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf

virtualmailboxbase = /var/vmail

virtualuidmaps = mysql:/etc/postfix/mysql-virtual_uids.cf

virtualgidmaps = mysql:/etc/postfix/mysql-virtual_gids.cf

@jeremye77:

I am not sure how to ask this. Where do you think your users are coming from. Where should Postfix be looking for the admin user?

You are telling postfix to look for mysql queries here:

virtualaliasmaps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, prox$

virtualmailboxdomains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

virtualmailboxmaps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf

virtualmailboxbase = /var/vmail

virtualuidmaps = mysql:/etc/postfix/mysql-virtual_uids.cf

virtualgidmaps = mysql:/etc/postfix/mysql-virtual_gids.cf
to answer you question about where the users are coming from, the answer is no i dont :oops: sorry, for the ignorance. i am thinking this setup i currently have is for a local mailbox domain server i.e. the user [email protected] must also be an active user added to the server itself, whereas i currently just have a root account (currently). so if im understanding what you're saying and what i've been reading i need a virtual mailbox domain properly configured to an sql database?

should i just create a database? and if so how do i point postfix to it? isn't it setup with "mysql" literally as the database now? me thinks i should have another but i really don't know. sorry again for not being totally up to speed and i much appreciate your help :D

http://dpaste.de/sqmR this is my postconf -n output

http://dpaste.de/Y9Fc and this is my /var/log/mail.log output

i had to change the name of the host and that may have something to do with this but i dont know. not sure that ISPConfig is helping here either….

EDIT: i restarted all postfix and dovecot and checked the logs again. it appears dovecot is saying it cant login to the imap or pop3 account for [email protected]. how do i go about fixing this?

I wrote a document on the linode wiki (which has since been retired) a long time ago, about setting up a new linode on Debian with Postfix and Dovecot and a bunch of other stuff.

It is still available via the web archive: http://web.archive.org/web/201401231155 … er:Kangaby">http://web.archive.org/web/20140123115558/https://www.linode.com/wiki/index.php/User:Kangaby

Have a look through those notes and see if it helps you out. It's using plain text files for configuration of the mail server virtual users, not a database, but if you can get the system working with static text files first, moveing to a database should be a little easier. It may not be the best or most optimum way to set things up, but should give you some starter ideas, and some explanation as to why the setting are being set, rather than just a do this, then do that approach.

On another note, if hostname returned duggancorp then:

myhostname = duggancorp.duggancorp.com

mydestination = duggancorp.duggancorp.com, localhost, localhost.localdomain

assuming that duggancorp.com was your domain name.

Hope this helps, rather than confuses the issue.

Try zimbra (open source edition) :)

https://www.zimbra.com/open-source-email-overview/

@jeremye77:

Try zimbra (open source edition) :)

https://www.zimbra.com/open-source-email-overview/
thank you for the option but negative on zimbra. i will work this out and have made huge bounds in a matter of hours. while my webmail no longer works i can confirm i can login into my email server with IMAP and SSL but sending mail is a no go. i think i need to rewire my server for a seperate email server such as imap.duggancorp.com and smtp.duggancorp.com to make this easier. i've checked the ports on my email client and everything is accurate, strange. maybe port 587 not open on my firewall?

~~[https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql" target="_blank">](https://www.linode.com/docs/email/postf … -and-mysql">https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql](

https://workaround.org/ispmail/jessie

some interesting output from /var/log/mail.log

Feb 18 03:03:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26511, secured, session= Feb 18 03:03:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=233 out=891

Feb 18 03:03:37 duggancorp postfix/smtpd[26512]: connect from mail-pf0-x232.google.com[2607:f8b0:400e:c00::232]

Feb 18 03:03:37 duggancorp postfix/trivial-rewrite[26515]: warning: do not list domain duggancorp.com in BOTH mydestination and virtualmailboxdomains

Feb 18 03:03:37 duggancorp postfix/smtpd[26512]: NOQUEUE: filter: RCPT from mail-pf0-x232.google.com[2607:f8b0:400e:c00::232]: <[email protected]>: Sender addres$

Feb 18 03:03:37 duggancorp postfix/smtpd[26512]: NOQUEUE: filter: RCPT from mail-pf0-x232.google.com[2607:f8b0:400e:c00::232]: <[email protected]>: Sender addres$

Feb 18 03:03:37 duggancorp postfix/smtpd[26512]: 5171926891: client=mail-pf0-x232.google.com[2607:f8b0:400e:c00::232]

Feb 18 03:03:37 duggancorp postfix/cleanup[26521]: 5171926891: message-id=<[email protected]>

Feb 18 03:03:37 duggancorp postfix/qmgr[11953]: 5171926891: from=<[email protected]>, size=4719, nrcpt=1 (queue active)

Feb 18 03:03:37 duggancorp amavis[30677]: (30677-03) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone awa$

Feb 18 03:03:37 duggancorp postfix/smtpd[26512]: disconnect from mail-pf0-x232.google.com[2607:f8b0:400e:c00::232]

Feb 18 03:03:37 duggancorp postfix/smtpd[26526]: connect from localhost[127.0.0.1]

Feb 18 03:03:37 duggancorp postfix/trivial-rewrite[26515]: warning: do not list domain duggancorp.com in BOTH mydestination and virtualmailboxdomains

Feb 18 03:03:37 duggancorp postfix/smtpd[26526]: C562726892: client=localhost[127.0.0.1]

Feb 18 03:03:37 duggancorp postfix/cleanup[26521]: C562726892: message-id=<[email protected]>

Feb 18 03:03:37 duggancorp postfix/qmgr[11953]: C562726892: from=<[email protected]>, size=5260, nrcpt=1 (queue active)

Feb 18 03:03:37 duggancorp postfix/trivial-rewrite[26515]: warning: do not list domain duggancorp.com in BOTH mydestination and virtualmailboxdomains

Feb 18 03:03:37 duggancorp postfix/smtpd[26526]: disconnect from localhost[127.0.0.1]

Feb 18 03:03:37 duggancorp amavis[30677]: (30677-03) Passed CLEAN {RelayedInbound}, [2607:f8b0:400e:c00::232]:33387 [24.4.239.58] <[email protected]> -> Feb 18 03:03:37 duggancorp postfix/smtp[26522]: 5171926891: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.54, delays=0.09/0.01/0/0.44, dsn=2$

Feb 18 03:03:37 duggancorp postfix/qmgr[11953]: 5171926891: removed

Feb 18 03:03:38 duggancorp postfix/smtp[26528]: C562726892: to=<[email protected]>, relay=none, delay=0.43, delays=0.02/0.01/0.4/0, dsn=5.4.6, status=bounced (m$

Feb 18 03:03:38 duggancorp postfix/cleanup[26521]: 3CB4F26893: message-id=<[email protected]>

Feb 18 03:03:38 duggancorp postfix/qmgr[11953]: 3CB4F26893: from=<>, size=7125, nrcpt=1 (queue active)

Feb 18 03:03:38 duggancorp postfix/bounce[26529]: C562726892: sender non-delivery notification: 3CB4F26893

Feb 18 03:03:38 duggancorp postfix/qmgr[11953]: C562726892: removed

Feb 18 03:03:39 duggancorp postfix/smtp[26528]: 3CB4F26893: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[74.125.28.26]:25, delay=0.86, delays=0/0/0.2$

Feb 18 03:03:39 duggancorp postfix/qmgr[11953]: 3CB4F26893: removed

Feb 18 03:04:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26557, secured, session=<4SyHSMVIHgAAAAAAA$

Feb 18 03:04:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:04:45 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26559, secured, session= Feb 18 03:04:45 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=76 out=495

Feb 18 03:04:46 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26561, secured, session= Feb 18 03:04:46 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=76 out=495

Feb 18 03:05:01 duggancorp postfix/smtpd[26512]: connect from localhost[::1]

Feb 18 03:05:01 duggancorp postfix/smtpd[26512]: lost connection after CONNECT from localhost[::1]

Feb 18 03:05:01 duggancorp postfix/smtpd[26512]: disconnect from localhost[::1]

Feb 18 03:05:01 duggancorp dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session= Feb 18 03:05:01 duggancorp dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session= Feb 18 03:05:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26646, secured, session= Feb 18 03:05:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:06:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26673, secured, session= Feb 18 03:06:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:07:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26699, secured, session= Feb 18 03:07:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:08:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26727, secured, session= Feb 18 03:08:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:08:21 duggancorp postfix/anvil[26514]: statistics: max connection rate 1/60s for (smtp:2607:f8b0:400e:c00::232) at Feb 18 03:03:37

Feb 18 03:08:21 duggancorp postfix/anvil[26514]: statistics: max connection count 1 for (smtp:2607:f8b0:400e:c00::232) at Feb 18 03:03:37

Feb 18 03:08:21 duggancorp postfix/anvil[26514]: statistics: max message rate 1/60s for (smtp:2607:f8b0:400e:c00::232) at Feb 18 03:03:37

Feb 18 03:08:21 duggancorp postfix/anvil[26514]: statistics: max cache size 1 at Feb 18 03:03:37

Feb 18 03:09:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26827, secured, session=<0HdwWsVIPAAAAAAAA$

Feb 18 03:09:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:10:01 duggancorp dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session= Feb 18 03:10:01 duggancorp dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<3ta3XcVIRgAAAAAAAAAAAAAAAAA$

Feb 18 03:10:01 duggancorp postfix/smtpd[26906]: connect from localhost[::1]

Feb 18 03:10:01 duggancorp postfix/smtpd[26906]: lost connection after CONNECT from localhost[::1]

Feb 18 03:10:01 duggancorp postfix/smtpd[26906]: disconnect from localhost[::1]

Feb 18 03:10:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26912, secured, session= Feb 18 03:10:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:11:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26946, secured, session= Feb 18 03:11:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:12:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=26972, secured, session= Feb 18 03:12:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:13:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=27002, secured, session= Feb 18 03:13:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:14:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=27036, secured, session= Feb 18 03:14:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:15:01 duggancorp dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<6baXb8VI5AAAAAAAAAAAAAAAAAA$

Feb 18 03:15:01 duggancorp dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session= Feb 18 03:15:01 duggancorp postfix/smtpd[27142]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:15:02 duggancorp postfix/master[11951]: warning: process /usr/lib/postfix/smtpd pid 27142 exit status 1

Feb 18 03:15:02 duggancorp postfix/master[11951]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:15:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=27148, secured, session= Feb 18 03:15:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:16:02 duggancorp postfix/smtpd[27186]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:16:03 duggancorp postfix/master[11951]: warning: process /usr/lib/postfix/smtpd pid 27186 exit status 1

Feb 18 03:16:03 duggancorp postfix/master[11951]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:16:06 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=27188, secured, session= Feb 18 03:16:06 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:17:03 duggancorp postfix/smtpd[27214]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:17:04 duggancorp postfix/master[11951]: warning: process /usr/lib/postfix/smtpd pid 27214 exit status 1

Feb 18 03:17:04 duggancorp postfix/master[11951]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:46:22 duggancorp postfix/smtpd[28957]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:46:23 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 28957 exit status 1

Feb 18 03:46:23 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:46:48 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28961, secured, session= Feb 18 03:46:48 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:47:23 duggancorp postfix/smtpd[28984]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:47:24 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 28984 exit status 1

Feb 18 03:47:24 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:47:48 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28992, secured, session= Feb 18 03:47:48 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:47:59 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=24.4.239.58, lip=45.33.47.207, mpid=28995, TLS, session= Feb 18 03:47:59 duggancorp dovecot: imap([email protected]): Disconnected: Disconnected in IDLE in=11 out=372

Feb 18 03:48:24 duggancorp postfix/smtpd[29018]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:48:25 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29018 exit status 1

Feb 18 03:48:25 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:48:33 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=24.4.239.58, lip=45.33.47.207, mpid=29024, TLS, session= Feb 18 03:48:33 duggancorp dovecot: imap([email protected]): Disconnected: Disconnected in IDLE in=11 out=372

Feb 18 03:48:48 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=29026, secured, session= Feb 18 03:48:48 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475

Feb 18 03:49:07 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=29050, secured, session= Feb 18 03:49:07 duggancorp dovecot: imap([email protected]): Disconnected: Logged out in=76 out=495

Feb 18 03:57:22 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29414 exit status 1

Feb 18 03:57:22 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:57:33 duggancorp postfix/smtpd[29415]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:57:34 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29415 exit status 1

Feb 18 03:57:34 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:58:04 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=24.4.239.58, lip=45.33.47.207, mpid=29446, TLS, session= Feb 18 03:58:04 duggancorp dovecot: imap([email protected]): Disconnected: Disconnected in IDLE in=11 out=372

Feb 18 03:58:22 duggancorp postfix/submission/smtpd[29449]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:58:23 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29449 exit status 1

Feb 18 03:58:23 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:58:34 duggancorp postfix/smtpd[29454]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:58:35 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29454 exit status 1

Feb 18 03:58:35 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:59:23 duggancorp postfix/submission/smtpd[29477]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:59:24 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29477 exit status 1

Feb 18 03:59:24 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:59:35 duggancorp postfix/smtpd[29478]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 03:59:36 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29478 exit status 1

Feb 18 03:59:36 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 03:59:55 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=24.4.239.58, lip=45.33.47.207, mpid=29486, TLS, session= Feb 18 03:59:55 duggancorp dovecot: imap([email protected]): Disconnected: Disconnected in IDLE in=11 out=372

Feb 18 04:00:02 duggancorp dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session= Feb 18 04:00:02 duggancorp dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session= Feb 18 04:00:24 duggancorp postfix/submission/smtpd[29604]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 04:00:25 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29604 exit status 1

Feb 18 04:00:25 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 04:00:36 duggancorp postfix/smtpd[29609]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 04:00:37 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29609 exit status 1

Feb 18 04:00:37 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 04:01:15 duggancorp dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=24.4.239.58, lip=45.33.47.207, mpid=29638, TLS, session=<2ADx$

Feb 18 04:01:15 duggancorp dovecot: imap([email protected]): Disconnected: Disconnected in IDLE in=11 out=372

Feb 18 04:01:25 duggancorp postfix/submission/smtpd[29641]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 04:01:26 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29641 exit status 1

Feb 18 04:01:26 duggancorp postfix/master[27823]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

Feb 18 04:01:37 duggancorp postfix/smtpd[29642]: fatal: /var/lib/mailman/data/virtual-mailman: bad string length 0 < 1: dbname =

Feb 18 04:01:38 duggancorp postfix/master[27823]: warning: process /usr/lib/postfix/smtpd pid 29642 exit status 1

Then get mysql out of there. It seems to confuse you. It also seems you WANT to use system accounts? Which I am unclear on. You had configured Postifx, originally to use MySQL?

This would probably be easier:

Replace 192.168.1.0/24 with your IP and through ip6 in should really be about all the changes you would need.

The tutorial is a couple of years old. The commands look accurate but you might have to tweak very slightly.

http://nolabnoparty.com/en/setup-mail-s … be-centos/">http://nolabnoparty.com/en/setup-mail-server-postfix-dovecot-roundcube-centos/

I cannot tell if the log is truncated or …

but it looks like your database name is blank in fatal: /var/lib/mailman/data/virtual-mailman

@jeremye77:

Then get mysql out of there. It seems to confuse you. It also seems you WANT to use system accounts? Which I am unclear on. You had configured Postifx, originally to use MySQL?

This would probably be easier:

Replace 192.168.1.0/24 with your IP and through ip6 in should really be about all the changes you would need.

The tutorial is a couple of years old. The commands look accurate but you might have to tweak very slightly.

http://nolabnoparty.com/en/setup-mail-s … be-centos/">http://nolabnoparty.com/en/setup-mail-server-postfix-dovecot-roundcube-centos/

I cannot tell if the log is truncated or …

but it looks like your database name is blank in fatal: /var/lib/mailman/data/virtual-mailman

no sir, i do NOT WANT to use system accounts. i thinked i fluster cucked that in the beginning and since went back to try and fix, and thats now part of the mess. mysql is good, just getting a grip on it as with nealy every piece of software ive installed on this vps :lol: and when i say everything, i mean i've documented all programs ive installed along with directories they're installed, and website wikis, docs for easy access and learning. self-taught and devouring all of it :twisted:

log is also half-ass trunicated, meaning i took only bits of today i thought were relevant.

i need to re-do this with a seperate host i.e. mail.duggancorp.com

You can try Zimbra. New open source edition

https://www.zimbra.com/open-source-email-overview/

@rcduggan3:

i need to re-do this with a seperate host i.e. mail.duggancorp.com

Why not use Postfix and MySQL? Works great. I can add as many users for as many domains as I see fit. It does take some administering, keep an eye on the logs, updates that might change things which really is only when a new LTS comes out. I like the raw simplicity and zero cost. I also like administering my own systems too so I guess I'm weird that way as a developer.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct