Postfix, Not working on my server

Ubuntu Server:
20.04:

The very first thing I did was see if postfix was running and it was:

Next I checked to see if i could send an email and checked the logs: using this -> cat /etc/issue | mail -s test mcooper@coopfire.com

logs:
Jan 25 08:38:27 ohweb01 postfix/cleanup[1824359]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Jan 25 08:38:27 ohweb01 postfix/pickup[1800211]: E768BCCDB7: uid=1007 from=
Jan 25 08:38:27 ohweb01 postfix/trivial-rewrite[1824360]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Jan 25 08:38:27 ohweb01 postfix/cleanup[1824359]: E768BCCDB7: message-id=oEaB1WbX6w063cSHYfgLMP0Dk13Omms2SivjJNO3MY@www.rpihobby.us
Jan 25 08:38:27 ohweb01 postfix/qmgr[1762421]: E768BCCDB7: from=rpiadmin@ohweb01.cfs.loc, size=11719, nrcpt=1 (queue active)
Jan 25 08:38:28 ohweb01 postfix/smtp[1824361]: E768BCCDB7: to=nexusguy59@gmail.com, relay=gmail-smtp-in.l.google.com[173.194.68.26]:25, delay=1, delays=0.05/0.01/0.64/0.31, dsn=2.0.0, status=sent (250 2.0.0 OK 1611563908 u69si8259717qka.109 - gsmtp)
Jan 25 08:38:28 ohweb01 postfix/qmgr[1762421]: E768BCCDB7: removed
Jan 25 09:06:56 ohweb01 postfix/cleanup[1830050]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Jan 25 09:06:56 ohweb01 postfix/pickup[1800211]: 3CDF3CCDB7: uid=0 from=root@ohweb01.cfs.loc
Jan 25 09:06:56 ohweb01 postfix/trivial-rewrite[1830051]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Jan 25 09:06:56 ohweb01 postfix/cleanup[1830050]: 3CDF3CCDB7: message-id=20210125090656.3CDF3CCDB7@ohweb01.cfs.loc
Jan 25 09:06:56 ohweb01 postfix/qmgr[1762421]: 3CDF3CCDB7: from=root@ohweb01.cfs.loc, size=356, nrcpt=1 (queue active)
Jan 25 09:06:56 ohweb01 postfix/error[1830052]: 3CDF3CCDB7: to=mcooper@coopfire.com, relay=none, delay=0.05, delays=0.02/0.01/0/0.02, dsn=5.1.1, status=bounced (User unknown in virtual alias table)
Jan 25 09:06:56 ohweb01 postfix/cleanup[1830050]: 49EC7CCE96: message-id=20210125090656.49EC7CCE96@ohweb01.cfs.loc
Jan 25 09:06:56 ohweb01 postfix/bounce[1830053]: 3CDF3CCDB7: sender non-delivery notification: 49EC7CCE96
Jan 25 09:06:56 ohweb01 postfix/qmgr[1762421]: 49EC7CCE96: from=<>, size=2246, nrcpt=1 (queue active)
Jan 25 09:06:56 ohweb01 postfix/trivial-rewrite[1830051]: warning: do not list domain ohweb01.cfs.loc in BOTH mydestination and virtual_alias_domains
Jan 25 09:06:56 ohweb01 postfix/qmgr[1762421]: 3CDF3CCDB7: removed
Jan 25 09:06:59 ohweb01 postfix/local[1830054]: 49EC7CCE96: to=root@ohweb01.cfs.loc, relay=local, delay=2.8, delays=0/0.01/0/2.7, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jan 25 09:06:59 ohweb01 postfix/qmgr[1762421]: 49EC7CCE96: removed

to be perfectly honest I have no clue what I am looking for or looking at…Please help.

nexusguy59

What is it that you mean is not working?
You’ve sent two emails, one to nexusguy59@gmail.com which was delivered successfully, and one to mcooper@coopfire.com that fails because that email address does not exist (apparently).

@toreskev

You were right it did get delivered but was marked as Sapm and I failed to look in there. Thank you for pointing it out that it did work, However the mcooper@coopfire.com is a valid address and does indeed work:

This makes me very curious as to why it doesn’t deliver to mcooper@coopfire.com or support@coopfire.com. If I could build my own email server and get it working from my residence I would definitely dump google (gmail) for sure.

Thank you sir,
Nexusguy59

How’s the sending IP? Is rDNS set up? Does it have any reputation one way or the other?

I doubt Google uses third-party reputation services like Senderscore, but they probably maintain one of their own. I’d send a handful (not an avalanche) of sufficiently different mails every day, to a handful of friends who use gmail, and ask them to tag them “not spam.”

Richard

1 Like

Thank you sir that is something I hadn’t considered. I will look into.

1 Like

Hm, have you added coopfire.com as a domain on the server?

Yes I did actually,

Thank you sir,
Michael

As long as the domain is created, but not a user matching that address it will fail with that message :slight_smile:
Hope you got things sorted!

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.