ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
168 stars 31 forks source link

How to send as postmaster? #124

Closed psychofaktory closed 1 year ago

psychofaktory commented 1 year ago

Hello,

my PMiaB server is incorrectly listed on a DNSBL.

To remove it from the list, the list operator only accepts emails from postmaster@[domain.tld].

But I could not find a way to send an email as postmaster.

How to send an email as postmaster@[domain.tld] with Mail-In-A-Box?

ddavness commented 1 year ago

The postmaster alias is automatically configured and linked to administrator@box.example.com, which in turn is usually aliased to the first admin account created for the box. You'll need to configure the entity on your own mail client to send as postmaster (use the admin account credentials on the SMTP configuration).

To do this on Roundcube Webmail (https://box.example.com/mail):

image

image

psychofaktory commented 1 year ago

Tried this, but it didn't work for me.

Here's my scenario: I have a domain "domain.tld". My MiaB-Server has the subdomain "mail.domain.tld". The first user i created is "user@domain.tld". This user has admin prvilege. In the alias configuration page in the admin panel "postmaster@mail.domain.tld" is linked to "administrator@mail.domain.tld" There is also the adress "postmaster@domain.tld" linked to "administrator@mail.domain.tld". "administrator@mail.domain.tld" in turn is linked to "user@domain.tld".

Then I set up the identidy "postmaster@mail.domain.tld" for "user@domain.tld" in RoundCube webpanel. I also set up the identidy "postmaster@domain.tld" for "user@domain.tld".

If I try to send from "user@domain.tld" with its alias "postmaster@domain.tld" everything is fine. But If i try to send from "user@domain.tld" with its alias "postmaster@mail.domain.tld" the following error is show in a popup: SMTP Fehler (553): Der Empfänger "mailbox@externaldomain.tld" konnte nicht gesetzt werden (5.7.1 <postmaster@mail.domain.tld>: Sender address rejected: not owned by user user@domain.tld).

psychofaktory commented 1 year ago

Seems that I found the answer myself.

In admin control panel I saw that I set up a Domain Alias for "@domain.tld" linked to "user@domain.tld" before. Thus I tried to create a Domain Alias for "@mail.domain.tld" linked to "user@domain.tld", too. After that sending with the identidy "postmaster@mail.domain.tld" from "user@domain.tld" worked for me.