Re: [qmailtoaster] block send email for internal domain for all my users

2024-04-07 Thread Giuseppe Perna
Thanks Remo for you repaly, but i would block all user in domain not ono users. Thanks Il giorno dom 7 apr 2024 alle ore 09:53 Remo Mattei ha scritto: > https://briansnelson.com/How_to_disable_qmail_vpopmail_email_user > > > Inviato da iPhone > > Il giorno 7 apr 2024, alle ore 00:51, Remo

[qmailtoaster] block send email for internal domain for all my users

2024-04-07 Thread Giuseppe Perna
Good morning everyone, I have a domain in my qmailtoaster server, mydomain.it, which I am migrating to another server, I would like to block my users and block sending with webmail and with pop3 and imap4, possible? Thank you #rpm -qa qmail* qmail-pop3d-toaster-1.03-1.3.22

Re: [qmailtoaster] block send email for internal domain for all my users

2024-04-07 Thread Remo Mattei
https://briansnelson.com/How_to_disable_qmail_vpopmail_email_userInviato da iPhoneIl giorno 7 apr 2024, alle ore 00:51, Remo Mattei ha scritto:SiInviato da iPhoneIl giorno 7 apr 2024, alle ore 00:29, Giuseppe Perna ha scritto:Good morning everyone,I have a domain in my qmailtoaster server,

Re: [qmailtoaster] block send email for internal domain for all my users

2024-04-07 Thread Remo Mattei
SiInviato da iPhoneIl giorno 7 apr 2024, alle ore 00:29, Giuseppe Perna ha scritto:Good morning everyone,I have a domain in my qmailtoaster server, mydomain.it, which I am migrating to another server, I would like to block my users and block sending with webmail and with pop3 and

Re: [qmailtoaster] block send email for internal domain for all my users

2024-04-07 Thread Qmail
I've just checken one of my domains and I get the choices to disable pop, imap, web access for that domain - though I have not tried because it's in current use. Hope this helps /Finn Den 07-04-2024 kl. 09:28 skrev Giuseppe Perna: Good morning everyone, I have a domain in my qmailtoaster

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
I added this to the top of qmail-remote #my $debugfile = undef; my $debugfile= '/tmp/dkim.debug'; Tried send/receive, but nothing in cat /tmp/dkim.debug From: Eric Broch Sent: 07 April 2024 20:06 To: qmailtoaster-list@qmailtoaster.com Subject: Re:

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
the qmail-remote.orig file I have is 52,056 bytes root:qmail -rwx—x—x This is not working. Can I get the file please ? From: Eric Broch Sent: 07 April 2024 21:01 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Re: I messed up DKIM setup Then

Re: [qmailtoaster] block send email for internal domain for all my users

2024-04-07 Thread Qmail
Hi. Have You checked vqadmin ? I think it is possible to make those changes there /Finn Den 07-04-2024 kl. 09:28 skrev Giuseppe Perna: Good morning everyone, I have a domain in my qmailtoaster server, mydomain.it , which I am migrating to another server, I would like

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
@40006612abd814cc842c warning: trouble injecting bounce message, will try later @40006612abd814d79434 warning: trouble injecting bounce message, will try later @40006612ac5419dfcd5c warning: trouble injecting bounce message, will try later @40006612ac5419eda83c warning: trouble

Re: [qmailtoaster] block send email for internal domain for all my users

2024-04-07 Thread Unet.de
Have a Look at vuserinfo - - helpYou can disallow whatever you want.AndreasWer Rechtschreibfehler findet kann sie behalten. Am 07.04.2024 um 11:07 schrieb Giuseppe Perna :Thanks Remo for you repaly,but i would block all user in domain not ono users.ThanksIl giorno dom 7 apr 2024 alle ore 09:53

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
Then mv /var/qmail/bin/qmail-remote.orig  /var/qmail/bin/qmail-remote check permissions -rwx--x--x 1 root qmail 69864 Mar 30  2022 /var/qmail/bin/qmail-remote On 4/7/2024 9:18 AM, Biju Jose wrote:  qmailctl queue messages in queue: 937 messages in queue but not yet preprocessed: 935 7

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
How do I reverse steps 11 and 12? 1. DKIM verification (no patch): * Assumes 'QMAILQUEUE="/var/qmail/bin/simscan"' defined in /etc/tcprules.d/tcp.smtp && /var/qmail/bin/qmail-queue is a link. Note: Spamassassin has DKIM verification making this unnecessary. * # qmailctl

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
All you should have to do is move qmail-remote (original) back to qmail-remote What's in /var/qmail/bin # ls -l  /var/qmail/bin If there is a symbolic link to qmail-remote (unlink qmail-remote). do you have qmail-remote.orig ??? On 4/7/2024 9:47 AM, Biju Jose wrote: How do I

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Remo Mattei
Wow did you backup the /var/qmail? Not sure why you removed it you could in case reinstall on top but without a backup I would have not run those commands My 2 cents. Inviato da iPhoneIl giorno 7 apr 2024, alle ore 11:32, Biju Jose ha scritto: I have done  rpm -e --nodeps qmail yum

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
Change qmail-remote to look like this #my $debugfile  = undef; my $debugfile    = '/tmp/dkim.debug'; send an email cat /tmp/dkim.debug post output. On 4/7/2024 8:31 AM, Biju Jose wrote: @40006612abd814cc842c warning: trouble injecting bounce message, will try later

[qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
The guide was at http://www.qmailtoaster.com/dkim.html From: Biju Jose Sent: 07 April 2024 19:56 To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] I messed up DKIM setup Hi, I need some urgent help. I messed up a qmail server running on centos 7

[qmailtoaster] I messed up DKIM setup

2024-04-07 Thread Biju Jose
Hi, I need some urgent help. I messed up a qmail server running on centos 7 I was trying to setup DKIM using this guide. But somewhere I made a mistake and now emails are not going out. Request help to solve the issue. Thanks Biju Jose

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Qmail
Hi. Wouldn't it be to just stop qmail and move the qmail-remote.orig to qmail-remote and start qmail. And then start from scratch with Dkim ? /Finn Den 07-04-2024 kl. 16:31 skrev Biju Jose: @40006612abd814cc842c warning: trouble injecting bounce message, will try later

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
That won't work because you'll have #my $debugfile  = undef; my $debugfile    = '/tmp/dkim.debug'; . . . (A bunch of code) . . my $debugfile  = undef; remove what you've put in that file. Find the line my $debugfile  = undef; comment it #my $debugfile  = undef; create an new line under

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
Is there anything in /var/log/qmail/send/current log? On 4/7/2024 8:27 AM, Biju Jose wrote: The guide was at http://www.qmailtoaster.com/dkim.html *From:* Biju Jose *Sent:* 07 April 2024 19:56 *To:*

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
Does it work now? On 4/7/2024 6:57 PM, Biju Jose wrote: # qmailctl stat send: up (pid 1761) 126 seconds smtp: up (pid 1760) 126 seconds submission: up (pid 1774) 126 seconds send/log: up (pid 1770) 126 seconds smtp/log: up (pid 1762) 126 seconds submission/log: up (pid 1759) 126 seconds

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
Update: created a new domain. I am able to send and receive using email ids from this domain. Now, how do I restore the other domains already existed on the server? Please help. Biju From: Biju Jose Sent: 08 April 2024 08:22 To:

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
doveadm auth test postmas...@xx.in '*7YOBpkeE3ybN' passdb: postmas...@xx.in auth succeeded extra fields: user=postmas...@xx.in # conntest Enter a valid remote email account to which QMT will send mail via Submission & SMTPS: bijuko...@outlook.com Error. Domain domain1.co.in was

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
No, I can login to newly created domain, but not to the existing domains. How can I fix this? From: Eric Broch Sent: 08 April 2024 07:23 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Re: I messed up DKIM setup Does it work now? On

Re: Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
renamed assign.rpmsave to assign renamed cdb.rpmsave to cdb Now it seems working shall revert soon after checking Thank you Eric for the support Best regards Biju Jose. From: Eric Broch Sent: 08 April 2024 09:44 To: qmailtoaster-list@qmailtoaster.com

Re: Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
# cat /var/qmail/users/assign.rpmsave Make sure it has what you want and copy and past contents to assign file above the ending period and run qmailctl cdb On Apr 7, 2024, 10:10 PM, at 10:10 PM, Biju Jose wrote: > cat /var/qmail/users/assign

Re: Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
Good On Apr 7, 2024, 10:19 PM, at 10:19 PM, Biju Jose wrote: >renamed assign.rpmsave to assign >renamed cdb.rpmsave to cdb > >Now it seems working shall revert soon after checking > >Thank you Eric for the support > >Best regards >Biju Jose. > > > > >From:

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
qmailctl queue messages in queue: 937 messages in queue but not yet preprocessed: 935 7 Apr 2024 13:15:35 GMT #269010074 45155bouncing 7 Apr 2024 13:16:12 GMT #269010075 63818bouncing Priority is to bring it back to send and receive state, DKIM can be setup next weekend.

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
And while your at it, can you check the queue? #qmailctl queue I might ask, do you want to debug this now, or do you want mail to start flowing again? On 4/7/2024 9:14 AM, Eric Broch wrote: That won't work because you'll have #my $debugfile  = undef; my $debugfile    =

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
#ls -l /var/qmail/bin total 1512 -rwxr-xr-x 1 root qmail 14552 Sep 10 2019 bouncesaying -rwxr-xr-x 1 root qmail 31224 Sep 10 2019 condredirect -rwxr-xr-x 1 root qmail 1087 Sep 10 2019 config-fast -rwxr-xr-x 1 root qmail126 Sep 10 2019 datemail -rw--- 1 root root 11430

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
I have done 1. rpm -e --nodeps qmail 2. yum install qmail 3. restored .rpmsave files in /var/qmail/control Now I am unable to login to existing domains . But I can create and login to a test domain. How do I connect to existing domains? Need some urgent help please. Biju Jose

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
# qmailctl stat send: up (pid 44308) 13 seconds smtp: up (pid 44504) 0 seconds submission: up (pid 44505) 0 seconds send/log: up (pid 44309) 13 seconds smtp/log: up (pid 44310) 13 seconds submission/log: up (pid 44312) 13 seconds From: Biju Jose Sent: 08 April

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
send and submission is not running, unable to login to existing domains. From: Eric Broch Sent: 08 April 2024 04:07 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Re: I messed up DKIM setup All you had to do was... yum -y reinstall qmail

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
# cat /var/qmail/users/assign If there is nothing in it it's going to have to be rebuilt. On Apr 7, 2024, 9:48 PM, at 9:48 PM, Biju Jose wrote: >doveadm auth test postmas...@xx.in '*7YOBpkeE3ybN' >passdb: postmas...@xx.in auth succeeded >extra fields: > user=postmas...@xx.in > >#

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
Here are what entries in the assign file look like, below. You'll need to check the domains in /home/vpopmail/domains and add them in the assign file then run qmailctl cdb. Then you'll need to add domains to the rcpthosts file.

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
All you had to do was... yum -y reinstall qmail What is the status now? On 4/7/2024 12:45 PM, Biju Jose wrote: # qmailctl stat send: up (pid 44308) 13 seconds smtp: up (pid 44504) 0 seconds submission: up (pid 44505) 0 seconds send/log: up (pid 44309) 13 seconds smtp/log: up (pid 44310)

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
# qmailctl stat send: up (pid 1761) 126 seconds smtp: up (pid 1760) 126 seconds submission: up (pid 1774) 126 seconds send/log: up (pid 1770) 126 seconds smtp/log: up (pid 1762) 126 seconds submission/log: up (pid 1759) 126 seconds From: Biju Jose Sent: 08 April

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
The *ONLY* thing that should have changed for a DKIM upgrade is qmail-remote. This has absolutely *NOTHING* to do with logging in. What else changed on your system besides qmail-remote? The *ONLY* thing needed to restore the system (outgoing mail) was to cp qmail-remote.orig back to

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Eric Broch
Biju, The first thing to do is to check dovecot. doveadm auth test usern...@somedomain.com 'password' To check Submission & SMTPS download conntest # wget -P /usr/local/binhttps://raw.githubusercontent.com/qmtoaster/scripts/master/conntest # conntest Enter a valid remote email

Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
DKIM install messed up qmail-remote.orig lost in the mess rpm -e --nodeps qmail yum install qmail copied the contents from .rpmsave in /var/qmail/control to the respective files including virtualdomains restarted the machine toaststat and qmailctl stat shows everything up. virtual domain

Re: Re: [qmailtoaster] Re: I messed up DKIM setup

2024-04-07 Thread Biju Jose
cat /var/qmail/users/assign +domain1.in-:domain1.in:89:89:/home/vpopmail/domains/domain1.in:-:: +domain2.in-:domain2.in:89:89:/home/vpopmail/domains/domain2.in:-:: I have /var/qmail/assign.rpmsave , how do I add the domains therin to assign file and rebuild it?