Using external server for IMAP + SMTP - OpenSuSE 13.2

I have my domain hosted by an external hosting company. On that server is my cert. for the domain and all its subdomains and the email works as it should there.

If I try to setup an email server on my own machine then without the proper cert. I’m going to have problems so I would just rather use the ISP’s email server for my domain.

However, when I use utilities like the command line “mail” I would like it to be able to send and receive mail to and from the real world so I clicked on “Mail Server” in YaST and set it up the way I thought it should be however it’s not working. What I did was go to my ISP, setup a mailbox called workstation@mydomain.com and all as I want is for any mail I send to and from the root user on my system to end up in that mailbox on my ISP’s server.

What’s actually happening is the following:

  • I setup Evolution to look at that mailbox on the ISP’s server. I can send an email through Evolution from that account to that account so I know it works.
  • However, shortly after sending any mail to that mailbox the email in the mailbox disappears.
  • I’m no longer getting mail in my workstations system mailbox for the root user
  • If I send mail from the command line utility mail like follows: echo ‘Test’ | mail -v -s ‘Test’ workstation@mydomain.com it just says: “Mail Delivery Status Report will be mailed to <root>” and in the log file I see:
postfix/pickup[8880]: A766E1982: uid=0 from=<root>
postfix/cleanup[10245]: A766E1982: message-id=<20150423162301.A766E1982@workstation.mydomain.com>
postfix/qmgr[8881]: A766E1982: from=<root@workstation.mydomain.com>, size=446, nrcpt=1 (queue active)
postfix/local[10247]: A766E1982: to=<workstation@mydomain.com>, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "workstation")
postfix/cleanup[10245]: AE1591985: message-id=<20150423162301.AE1591985@workstation.mydomain.com>
postfix/bounce[10248]: A766E1982: sender non-delivery notification: AE1591985
postfix/qmgr[8881]: AE1591985: from=<>, size=2247, nrcpt=1 (queue active)
postfix/cleanup[10245]: AF0501986: message-id=<20150423162301.AF0501986@workstation.mydomain.com>
postfix/bounce[10249]: A766E1982: sender delivery status notification: AF0501986
postfix/local[10247]: AE1591985: to=<workstation@mydomain.com>, orig_to=<root@workstation.mydomain.com>, relay=local, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "workstation")
postfix/qmgr[8881]: AF0501986: from=<>, size=2029, nrcpt=1 (queue active)
postfix/qmgr[8881]: A766E1982: removed
postfix/qmgr[8881]: AE1591985: removed
postfix/local[10247]: AF0501986: to=<workstation@mydomain.com>, orig_to=<root@workstation.mydomain.com>, relay=local, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "workstation")
postfix/qmgr[8881]: AF0501986: removed

I’m sure this is a simple settings problem but I am unsure as to what that setting is.

Any help appreciated.

On 2015-04-23 18:36, Reg gie wrote:

> What I did was go to my ISP, setup
> a mailbox called workstation@mydomain.com

Is that the real name, or have you edited it for posting here? Please
clarify.

> - If I send mail from the command line utility mail like follows: echo
> ‘Test’ | mail -v -s ‘Test’ workstation@mydomain.com it just says:
> “Mail Delivery Status Report will be mailed to <root>” and in the log
> file I see:
>
>
> Code:
> --------------------
> postfix/pickup[8880]: A766E1982: uid=0 from=<root>
> postfix/cleanup[10245]: A766E1982: message-id=<20150423162301.A766E1982@workstation.mydomain.com>
> postfix/qmgr[8881]: A766E1982: from=<root@workstation.mydomain.com>, size=446, nrcpt=1 (queue active)
> postfix/local[10247]: A766E1982: to=<workstation@mydomain.com>, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: “workstation”)

Well, here it says that it is sending

From: root@workstation.mydomain.com
To: workstation@mydomain.com

So it looks that your local machine is named “workstation.mydomain.com”,
and your outside account is named “workstation@mydomain.com”, as per the
paragraph at the start.

And it looks like you are sending to “workstation@mydomain.com”, which
looks like also the local machine… yet previously you said it is the
account at your ISP.

Look, clearly you have edited your logs and your account data… and
muddled it up badly. Please redo the post clarifying what is the outside
ISP account name, what is your machine name (if faked, tell so), in a
way that we can follow the logs.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))