Postfix set up with postfixadmin, trying to create /dev/null account

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
K F
Reply | Threaded
Open this post in threaded view
|

Postfix set up with postfixadmin, trying to create /dev/null account

K F
Hi All

As I wrote above, this mailserver is set up with postfixadmin and mysql.

I'm trying to set up a /dev/null mail account.
So I've created an alias
devnull: /dev/null
And I've created a virtual mailbox on one of the domains
If I look in the MySQL database I see:

select * from alias where address='[hidden email]';

+-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
| address                       | goto                | domain              | created             | modified            | active |
+-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
| [hidden email] | devnull | my.ownserver.com | 2018-04-25 10:18:24 | 2018-04-25 10:18:24 |      1 |
+-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+

But if I look in the maillog I see this:
Apr 25 10:28:13 bounce postfix/smtp[61347]: 6A23E40ED1F2: to=<[hidden email]>, orig_to=<[hidden email]>, relay=none, delay=22, delays=22/0.01/0.02/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=bounce.localdomain type=A: Host not found)

The servers hostname is bounce.

So what should I do?
I tried changing the goto to devnull@localhost and also [hidden email] but I still get errors.

I hope somebody can help me out?

Best wishes
Kenneth
Reply | Threaded
Open this post in threaded view
|

Re: Postfix set up with postfixadmin, trying to create /dev/null account

Wilfried.Essig@Essignetz.de
Hi,


suggest you to tell your postfix to accept mail for bounce.localdomain
for local delivery (http://www.postfix.org/postconf.5.html#mydestination)


Willi

Am 25.04.2018 um 11:11 schrieb K F:

> Hi All
> As I wrote above, this mailserver is set up with postfixadmin and mysql.
> I'm trying to set up a /dev/null mail account.So I've created an aliasdevnull: /dev/nullAnd I've created a virtual mailbox on one of the domains
> If I look in the MySQL database I see:
> select * from alias where address='[hidden email]';
> +-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
> | address                       | goto                | domain              | created             | modified            | active |
> +-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
> | [hidden email] | devnull | my.ownserver.com | 2018-04-25 10:18:24 | 2018-04-25 10:18:24 |      1 |
> +-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
> But if I look in the maillog I see this:Apr 25 10:28:13 bounce postfix/smtp[61347]: 6A23E40ED1F2: to=<[hidden email]>, orig_to=<[hidden email]>, relay=none, delay=22, delays=22/0.01/0.02/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=bounce.localdomain type=A: Host not found)
> The servers hostname is bounce.
> So what should I do?I tried changing the goto to devnull@localhost and also [hidden email] but I still get errors.
> I hope somebody can help me out?
> Best wishesKenneth
>
K F
Reply | Threaded
Open this post in threaded view
|

SV: Postfix set up with postfixadmin, trying to create /dev/null account

K F
I decided to keep the mailbox, and now I've created a loop test in PRTG, so that it sends to the smtp server, which forwards to another of out mailservers (thus testing the forward), and it's now picked up from there. That will test it more thoroughly.
Thankyou for the help!


Den 14:29 onsdag den 25. april 2018 skrev "[hidden email]" <[hidden email]>:


Hi,


suggest you to tell your postfix to accept mail for bounce.localdomain
for local delivery (http://www.postfix.org/postconf.5.html#mydestination)


Willi

Am 25.04.2018 um 11:11 schrieb K F:

> Hi All
> As I wrote above, this mailserver is set up with postfixadmin and mysql.
> I'm trying to set up a /dev/null mail account.So I've created an aliasdevnull: /dev/nullAnd I've created a virtual mailbox on one of the domains
> If I look in the MySQL database I see:
> select * from alias where address='[hidden email]';
> +-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
> | address                       | goto                | domain              | created             | modified            | active |
> +-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
> | [hidden email] | devnull | my.ownserver.com | 2018-04-25 10:18:24 | 2018-04-25 10:18:24 |      1 |
> +-------------------------------+---------------------+---------------------+---------------------+---------------------+--------+
> But if I look in the maillog I see this:Apr 25 10:28:13 bounce postfix/smtp[61347]: 6A23E40ED1F2: to=<[hidden email]>, orig_to=<[hidden email]>, relay=none, delay=22, delays=22/0.01/0.02/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=bounce.localdomain type=A: Host not found)
> The servers hostname is bounce.
> So what should I do?I tried changing the goto to [hidden email] and also [hidden email] but I still get errors.
> I hope somebody can help me out?
> Best wishesKenneth
>