[opensuse-factory] local mail not working
![](https://seccdn.libravatar.org/avatar/e164891e4d850a5cfd6a5765eb3965d0.jpg?s=120&d=mm&r=g)
Hello List , my local mail is not working : " Konsole output #systemctl status postfix.service ●postfix.service - Postfix Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor p reset: enabled) Active: active (running)since Wed 2015-07-15 09:46:25 EEST; 4h 12min ago Main PID: 1372 (master) CGroup: /system.slice/postfix.service ├─ 1372 /usr/lib/postfix/master -w ├─ 1375 qmgr -l -t unix -u └─23856 pickup -l -t unix -u Jul 15 13:56:27 AIG postfix/error[25369]: error: open database /etc/postf...y Jul 15 13:56:27 AIG postfix/error[25370]: error: open database /etc/postf...y Jul 15 13:56:27 AIG postfix/error[25369]: C14E11180969: to=<pisti@AIG.org...) Jul 15 13:56:27 AIG postfix/error[25369]: warning: hash:/etc/postfix/rela...y Jul 15 13:56:27 AIG postfix/error[25369]: warning: hash:/etc/postfix/rela...m Jul 15 13:56:27 AIG postfix/error[25369]: warning: C14E11180969: flush se...e Jul 15 13:56:27 AIG postfix/error[25370]: E0E1D1180972: to=<pisti@AIG.org...) Jul 15 13:56:27 AIG postfix/error[25370]: warning: hash:/etc/postfix/rela...y Jul 15 13:56:27 AIG postfix/error[25370]: warning: hash:/etc/postfix/rela...m Jul 15 13:56:27 AIG postfix/error[25370]: warning: E0E1D1180972: flush se...e Hint: Some lines were ellipsized, use -l to show in full. " ................... - any hints How to fix , please ?? thanks regards ellan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-15 13:02, ellanios82 wrote:
Hint: Some lines were ellipsized, use -l to show in full. "
...................
- any hints How to fix , please ??
See above. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWmQLkACgkQja8UbcUWM1yJmwD/W76fygyPKeMWPYHf0F1PuXRp +s95DHzuHqfH9lws/yoBAJSfAF3YgUdwKkT4ztlqWufgzjbH7DZz+6QARYCbTl81 =t9Lg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/e164891e4d850a5cfd6a5765eb3965d0.jpg?s=120&d=mm&r=g)
On 07/15/2015 02:15 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-15 13:02, ellanios82 wrote:
Hint: Some lines were ellipsized, use -l to show in full. "
...................
- any hints How to fix , please ?? See above. ..............
thanks : the full read-out is : "error: open database /etc/postfix/relay.db: Invalid argument " - what is next step please Carlos ? thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-15 14:12, ellanios82 wrote:
On 07/15/2015 02:15 PM, Carlos E. R. wrote:
thanks : the full read-out is :
"error: open database /etc/postfix/relay.db: Invalid argument "
That one is new to me. And what about the warnings? seems to be related. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWmTqQACgkQja8UbcUWM1y5zAD7BozRb1pH3sxEUa37APNeFEk9 1iYfeWPTwlteqbVNYPoA/1gjOKX6ugPQ/NI6btMchaEVlyVNuJ+0lT9SNUPCuold =srsJ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/e164891e4d850a5cfd6a5765eb3965d0.jpg?s=120&d=mm&r=g)
On 07/15/2015 03:14 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-15 14:12, ellanios82 wrote:
On 07/15/2015 02:15 PM, Carlos E. R. wrote: thanks : the full read-out is :
"error: open database /etc/postfix/relay.db: Invalid argument" That one is new to me. ...................
- the first complaint i originally got, was : no file "/etc/postfix/relay.db" - my next try was to create it , by doing : #0>/etc/postfix/relay.db .......................... the latest error-complaint is : "warning: hash:/etc/postfix/relay: table lookup problem " ............. thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/5b748275c3dbb1ceee18ed554486547d.jpg?s=120&d=mm&r=g)
On Wednesday 2015-07-15 14:20, ellanios82 wrote:
- the first complaint i originally got, was :
no file "/etc/postfix/relay.db"
- my next try was to create it , by doing :
#0>/etc/postfix/relay.db
The file must be in the proper format, you cannot just go pound at the keyboard hoping it will be okay. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/e164891e4d850a5cfd6a5765eb3965d0.jpg?s=120&d=mm&r=g)
On 07/15/2015 03:33 PM, Jan Engelhardt wrote:
On Wednesday 2015-07-15 14:20, ellanios82 wrote:
- the first complaint i originally got, was :
no file "/etc/postfix/relay.db"
- my next try was to create it , by doing :
#0>/etc/postfix/relay.db The file must be in the proper format, you cannot just go pound at the keyboard hoping it will be okay.
- thank you : how to make correctly ? thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
ellanios82 wrote:
On 07/15/2015 03:33 PM, Jan Engelhardt wrote:
On Wednesday 2015-07-15 14:20, ellanios82 wrote:
- the first complaint i originally got, was :
no file "/etc/postfix/relay.db"
- my next try was to create it , by doing :
#0>/etc/postfix/relay.db The file must be in the proper format, you cannot just go pound at the keyboard hoping it will be okay.
- thank you : how to make correctly ?
dd if=/dev/null of=/etc/postfix/relay postmap /etc/postfix/relay That'll give you an empty database. -- Per Jessen, Zürich (28.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-15 14:20, ellanios82 wrote:
On 07/15/2015 03:14 PM, Carlos E. R. wrote:
- the first complaint i originally got, was :
no file "/etc/postfix/relay.db"
- my next try was to create it , by doing :
#0>/etc/postfix/relay.db
Sigh..., you can't do that. It is a database with a specific format. cd /etc/postfix/ postmap relay - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWmU5AACgkQja8UbcUWM1yWWwD/aNC7ojzHy1fPs3DQJWRmZZjq vKoZJiMHzKVPtalN82kA/3G/vEatCMdLDr1ByLrNqiKeAkH1rhMXKDOQNtyzxTRJ =Utge -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/e164891e4d850a5cfd6a5765eb3965d0.jpg?s=120&d=mm&r=g)
On 07/15/2015 03:35 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-15 14:20, ellanios82 wrote:
On 07/15/2015 03:14 PM, Carlos E. R. wrote: - the first complaint i originally got, was :
no file "/etc/postfix/relay.db"
- my next try was to create it , by doing :
#0>/etc/postfix/relay.db Sigh..., you can't do that. It is a database with a specific format.
cd /etc/postfix/ postmap relay
- -- Cheers
- aha ! : brill : thank you so much Carlos regards -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/9a22d987cba65984271fe481dc6694c5.jpg?s=120&d=mm&r=g)
On Wed, 15 Jul 2015, 14:12:08 +0200, ellanios82 wrote:
On 07/15/2015 02:15 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-15 13:02, ellanios82 wrote:
Hint: Some lines were ellipsized, use -l to show in full. "
...................
- any hints How to fix , please ?? See above. ..............
thanks : the full read-out is :
"error: open database /etc/postfix/relay.db: Invalid argument "
- what is next step please Carlos ?
Run as "root": postmap /etc/postfix/relay or, again as "root": config.postfix (hoping it still exists... - this had been cared for by SuSEconfig ages ago ;) )
thanks
HTH, cheers. l8er manfred
![](https://seccdn.libravatar.org/avatar/e164891e4d850a5cfd6a5765eb3965d0.jpg?s=120&d=mm&r=g)
On 07/15/2015 03:34 PM, Manfred Hollstein wrote:
On Wed, 15 Jul 2015, 14:12:08 +0200, ellanios82 wrote:
On 07/15/2015 02:15 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-15 13:02, ellanios82 wrote:
Hint: Some lines were ellipsized, use -l to show in full. "
...................
- any hints How to fix , please ?? See above. ..............
thanks : the full read-out is :
"error: open database /etc/postfix/relay.db: Invalid argument"
- what is next step please Carlos ? Run as "root":
postmap /etc/postfix/relay
or, again as "root":
config.postfix
(hoping it still exists... - this had been cared for by SuSEconfig ages ago ;) )
.............. thanks Manfred , on my TW system these commands did not seem to work . . . am now getting : " Konsole output error: open database /etc/postfix/relay.db: Invalid argument" thus , as mr jan says, i have to set up relay.db correctly . . . how to do this please ? thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/9a22d987cba65984271fe481dc6694c5.jpg?s=120&d=mm&r=g)
On Wed, 15 Jul 2015, 15:30:59 +0200, ellanios82 wrote:
On 07/15/2015 03:34 PM, Manfred Hollstein wrote:
On Wed, 15 Jul 2015, 14:12:08 +0200, ellanios82 wrote:
On 07/15/2015 02:15 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-15 13:02, ellanios82 wrote:
Hint: Some lines were ellipsized, use -l to show in full. "
...................
- any hints How to fix , please ?? See above. ..............
thanks : the full read-out is :
"error: open database /etc/postfix/relay.db: Invalid argument"
- what is next step please Carlos ? Run as "root":
postmap /etc/postfix/relay
or, again as "root":
config.postfix
(hoping it still exists... - this had been cared for by SuSEconfig ages ago ;) )
..............
thanks Manfred , on my TW system these commands did not seem to work
Strange, here is what I just ran on my TW system (inside a root console): [root@saturn (0) ~]# postmap /etc/postfix/relay [root@saturn (0) ~]# config.postfix Reading /etc/sysconfig and updating the system... [root@saturn (0) ~]# postfix reload postfix/postfix-script: refreshing the Postfix mail system So, all commands do work for me!
. . . am now getting :
" Konsole output error: open database /etc/postfix/relay.db: Invalid argument"
How do you start your "root" console? If there is no such menu item, please start a _normal_ user console (such as xterm, gnome-terminal, konsole, ...) and then elevate to become the super-user "root" by typing the following command: su - Here you have to enter the password of the super-user "root". Once you get a root-prompt you can check if it's really a root-prompt: id Here you should see something like uid=0(root) gid=0(root) groups=0(root) If that's the case, you can simply enter the commands I initially wrote: postmap /etc/postfix/relay postfix reload # I didn't include this one initialy, it just reloads/restarts postfix or config.postfix
thus , as mr jan says, i have to set up relay.db correctly . . . how to do this please ?
Read and follow the stuff above.
thanks
HTH, cheers. l8er manfred
![](https://seccdn.libravatar.org/avatar/e164891e4d850a5cfd6a5765eb3965d0.jpg?s=120&d=mm&r=g)
On 07/15/2015 04:58 PM, Manfred Hollstein wrote:
On Wed, 15 Jul 2015, 15:30:59 +0200, ellanios82 wrote:
On 07/15/2015 03:34 PM, Manfred Hollstein wrote:
On Wed, 15 Jul 2015, 14:12:08 +0200, ellanios82 wrote:
On 07/15/2015 02:15 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-15 13:02, ellanios82 wrote:
Hint: Some lines were ellipsized, use -l to show in full. "
...................
- any hints How to fix , please ?? See above. ..............
thanks : the full read-out is :
"error: open database /etc/postfix/relay.db: Invalid argument"
- what is next step please Carlos ? Run as "root":
postmap /etc/postfix/relay
or, again as "root":
config.postfix
(hoping it still exists... - this had been cared for by SuSEconfig ages ago ;) ) ..............
thanks Manfred , on my TW system these commands did not seem to work Strange, here is what I just ran on my TW system (inside a root console):
[root@saturn (0) ~]# postmap /etc/postfix/relay [root@saturn (0) ~]# config.postfix Reading /etc/sysconfig and updating the system... [root@saturn (0) ~]# postfix reload postfix/postfix-script: refreshing the Postfix mail system
So, all commands do work for me!
. . . am now getting :
" Konsole output error: open database /etc/postfix/relay.db: Invalid argument" How do you start your "root" console? If there is no such menu item, please start a _normal_ user console (such as xterm, gnome-terminal, konsole, ...) and then elevate to become the super-user "root" by typing the following command:
su -
Here you have to enter the password of the super-user "root". Once you get a root-prompt you can check if it's really a root-prompt:
id
Here you should see something like
uid=0(root) gid=0(root) groups=0(root)
If that's the case, you can simply enter the commands I initially wrote:
postmap /etc/postfix/relay postfix reload # I didn't include this one initialy, it just reloads/restarts postfix
or
config.postfix
thus , as mr jan says, i have to set up relay.db correctly . . . how to do this please ? Read and follow the stuff above.
- thank you kindly Manfred regards -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/e76779f0629280df6d2dfce07e4e1600.jpg?s=120&d=mm&r=g)
Hello, Am Mittwoch, 15. Juli 2015 schrieb ellanios82:
Jul 15 13:56:27 AIG postfix/error[25369]: error: open database /etc/postf...y Jul 15 13:56:27 AIG postfix/error[25370]: error: open database /etc/postf...y
That's your problem.
Hint: Some lines were ellipsized, use -l to show in full. "
- any hints How to fix , please ??
The first hint was already printed to you by your computer (quoted above). Please follow it and post the non-shortened logs so that we can see the important parts ;-) Regards, Christian Boltz --
ganz im Gegensatz zu dir süffisanten Personal-Firewall-/-Knallkopp. cool ... du bist ja putzig. Geh mal einen Psychologen aufsuchen. ich dachte ich bin der Psychologe. soll ich mich also selber aufsuchen, ja? [> Timo Nentwig und Michael Meyer in suse-linux]
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (6)
-
Carlos E. R.
-
Christian Boltz
-
ellanios82
-
Jan Engelhardt
-
Manfred Hollstein
-
Per Jessen