# 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 <bijuko...@outlook.com> wrote:
>doveadm auth test postmas...@xxxxxx.in '*7YOBpkeE3ybN'
>passdb: postmas...@xxxxxx.in auth succeeded
>extra fields:
>  user=postmas...@xxxxxx.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 not found in the assign file
>Error. Domain domain2.co.in was not found in the assign file
>
>IMAPS: postmas...@domain1.co.in [failed]
>Submission: postmas...@domain1.co.in --> bijuko...@outlook.com [failed]
>SMTPS: postmas...@domain1.co.in --> bijuko...@outlook.com [failed]
>
>
>________________________________
>From: Eric Broch <ebr...@whitehorsetc.com>
>Sent: 08 April 2024 07:57
>To: qmailtoaster-list@qmailtoaster.com
><qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>
>Biju,
>
>
>The first thing to do is to check dovecot.
>
>
>doveadm auth test
>usern...@somedomain.com<mailto:usern...@somedomain.com> 'password'
>
>
>To check
>
>
>Submission & SMTPS
>
>
>download conntest
>
>
># wget -P /usr/local/bin
>https://raw.githubusercontent.com/qmtoaster/scripts/master/conntest
># conntest
>Enter a valid remote email account to which QMT will send mail: 'your
>outlook account'
>IMAPS: postmas...@domain.tld<mailto:postmas...@domain.tld> --> success
>Submission: postmas...@domain.tld<mailto:postmas...@domain.tld> -->
>success
>SMTPS: postmas...@domain.tld<mailto:postmas...@domain.tld> --> success
>
>
>
>
>If Dovecot does not work, check the log file /var/log/dovecot.log. You
>may need to put advanced logging in the config file. Does that log file
>presently give you any errors?
>
>
>Eric
>
>
>
>On 4/7/2024 8:12 PM, Eric Broch wrote:
>
>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 qmail-remote.
>
>
>Again, what else changed????!!!!!
>
>
>
>
>On 4/7/2024 7:55 PM, Biju Jose wrote:
>No, I can login to newly created domain, but not to the existing
>domains.
>How can I fix  this?
>________________________________
>From: Eric Broch
><ebr...@whitehorsetc.com><mailto:ebr...@whitehorsetc.com>
>Sent: 08 April 2024 07:23
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>
>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
>________________________________
>From: Biju Jose <bijuko...@outlook.com><mailto:bijuko...@outlook.com>
>Sent: 08 April 2024 00:15
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
># 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 <bijuko...@outlook.com><mailto:bijuko...@outlook.com>
>Sent: 08 April 2024 00:01
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>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
>________________________________
>From: Biju Jose <bijuko...@outlook.com><mailto:bijuko...@outlook.com>
>Sent: 07 April 2024 21:44
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>#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   qmail    126 Sep 10  2019 datemail
>-rw------- 1 root   root   11430 Apr  7 20:20 DEADJOE
>-rwxr-xr-x 1 root   qmail    928 Sep 10  2019 dh_key
>-rwxr-xr-x 1 root   root    2777 Apr 30  2018 dkimverify.pl
>-rwxr-xr-x 1 root   qmail    114 Sep 10  2019 elq
>-rwxr-xr-x 1 root   qmail  14552 Sep 10  2019 except
>-rwxr-xr-x 1 root   qmail  31224 Sep 10  2019 forward
>-rwxr-xr-x 1 root   qmail  26888 Sep 10  2019 instcheck
>-rwxr-xr-x 1 root   qmail  26952 Sep 10  2019 maildir2mbox
>-rwxr-xr-x 1 root   qmail  14568 Sep 10  2019 maildirmake
>-rwxr-xr-x 1 root   qmail  22888 Sep 10  2019 maildirwatch
>-rwxr-xr-x 1 root   qmail    179 Sep 10  2019 mailsubj
>-rwxr-xr-x 1 root   qmail   8259 Sep 10  2019 makecert.sh
>-rwxr-xr-x 1 root   qmail    115 Sep 10  2019 pinq
>-rwxr-xr-x 1 root   qmail  18856 Sep 10  2019 predate
>-rwxr-xr-x 1 root   qmail  18792 Sep 10  2019 preline
>-rwxr-xr-x 1 root   qmail    115 Sep 10  2019 qail
>-rwxr-xr-x 1 root   qmail  18760 Sep 10  2019 qbiff
>-rwxr-xr-x 1 root   qmail  18744 Sep 10  2019 qmail-badloadertypes
>-rwxr-xr-x 1 root   qmail  18744 Sep 10  2019 qmail-badmimetypes
>-rwx--x--x 1 root   qmail  14712 Sep 10  2019 qmail-clean
>-rws--x--x 1 qmailq qmail  52144 Sep 10  2019 qmail-dk
>-rwx--x--x 1 root   qmail  10480 Sep 10  2019 qmail-getpw
>-rwxr-xr-x 1 root   qmail  51768 Sep 10  2019 qmail-inject
>-rwx--x--x 1 root   qmail  64184 Sep 10  2019 qmail-local
>-rwx------ 1 root   qmail  22904 Sep 10  2019 qmail-lspawn
>-rwx------ 1 root   qmail  18744 Sep 10  2019 qmail-newmrh
>-rwx------ 1 root   qmail  14648 Sep 10  2019 qmail-newu
>-rwx--x--x 1 root   qmail  22976 Sep 10  2019 qmail-pw2u
>-rwxr-xr-x 1 root   qmail  18816 Sep 10  2019 qmail-qmqpc
>-rwxr-xr-x 1 root   qmail  22904 Sep 10  2019 qmail-qmqpd
>-rwxr-xr-x 1 root   qmail  31096 Sep 10  2019 qmail-qmtpd
>-rwxr-xr-x 1 root   qmail  22840 Sep 10  2019 qmail-qread
>-rwxr-xr-x 1 root   qmail    371 Sep 10  2019 qmail-qstat
>-rwx--x--x 1 root   root   27104 Apr  7 21:25 qmail-queue
>lrwxrwxrwx 1 root   root      26 Apr  7 18:58 qmail-queue.1 ->
>/var/qmail/bin/qm                                ail-queue
>-rws--x--x 1 qmailq qmail  27104 Sep 10  2019 qmail-queue.orig
>-rwsrwxrwx 1 qmailq qmail    488 Jul 18  2018 qmail-queue.pl.sh
>-rwx--x--x 1 root   qmail  52056 Apr  7 21:10 qmail-remote
>-rw-r--r-- 1 root   root    7545 Apr  7 20:59 qmail-remote~
>-rwx--x--x 1 root   qmail   7554 Apr  7 20:51 qmail-remote.0
>-rwx--x--x 1 root   qmail  52056 Sep 10  2019 qmail-remote.org
>-rwxrwxrwx 1 root   qmail   7545 Apr  7 19:28 qmail-remove.eric
>-rwx--x--x 1 root   qmail  18768 Sep 10  2019 qmail-rspawn
>-rwx--x--x 1 root   qmail  60000 Sep 10  2019 qmail-send
>-rwxr-xr-x 1 root   qmail  22856 Sep 10  2019 qmail-showctl
>-rwxr-xr-x 1 root   qmail 205752 Sep 10  2019 qmail-smtpd
>-rwx------ 1 root   qmail  10488 Sep 10  2019 qmail-start
>-rwxr-xr-x 1 root   qmail  14584 Sep 10  2019 qmail-tcpok
>-rwxr-xr-x 1 root   qmail  14616 Sep 10  2019 qmail-tcpto
>-rwxr-xr-x 1 root   qmail  31192 Sep 10  2019 qreceipt
>-rwxr-xr-x 1 root   qmail  14632 Sep 10  2019 qsmhook
>-rwxr-xr-x 1 root   root    3820 May  6  2019 rcptcheck-overlimit.sh
>-rwxr-xr-x 1 root   qmail  14616 Sep 10  2019 sendmail
>-rws--x--x 1 clamav root   34774 Apr  7  2016 simscan
>-rwsr-xr-x 1 root   root   24461 Apr  7  2016 simscanmk
>-rwxr-xr-x 1 root   qmail  35560 Sep 10  2019 spfquery
>-rwx--x--x 1 root   qmail  10536 Sep 10  2019 splogger
>-rwxr-xr-x 1 root   qmail  31224 Sep 10  2019 srsfilter
>-rwxr-xr-x 1 root   qmail  26920 Sep 10  2019 tcp-env
>-rwxr-xr-x 1 root   root     618 Dec 24  2013 update-simscan
>________________________________
>From: Eric Broch
><ebr...@whitehorsetc.com><mailto:ebr...@whitehorsetc.com>
>Sent: 07 April 2024 21:40
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>
>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 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 stop
>        *   Add 'export DKVERIFY=1' to /var/qmail/supervise/smtp/run
>   *   Increase softlimit to 128000000 in /var/qmail/supervise/smtp/run
>        *   # cd /var/qmail/bin
>        *   # wget http://www.qmailtoaster.org/dkimverify.pl
>        *   # wget http://www.qmailtoaster.org/qmail-queue.pl.sh
>        *   # chown root:root dkimverify.pl
>        *   # chown qmailq:qmail qmail-queue.pl.sh
>        *   # chmod 755 dkimverify.pl
>        *   # chmod 4777 qmail-queue.pl.sh
>        *   # unlink qmail-queue
>        *   # ln -s qmail-queue.pl.sh qmail-queue
>        *   # qmailctl start
>        *   Send email to user on the host
>        *   Check email header dkim verification
>
>
>________________________________
>From: Biju Jose <bijuko...@outlook.com><mailto:bijuko...@outlook.com>
>Sent: 07 April 2024 21:14
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>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
><ebr...@whitehorsetc.com><mailto:ebr...@whitehorsetc.com>
>Sent: 07 April 2024 21:01
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>
>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 Apr 2024 13:15:35 GMT  #269010074  45155
><b...@home-trendz.in><mailto:b...@home-trendz.in>  bouncing
>7 Apr 2024 13:16:12 GMT  #269010075  63818
><b...@whitesindia.com><mailto:b...@whitesindia.com>  bouncing
>
>Priority is to bring it back to send and receive state, DKIM can be
>setup next weekend.
>________________________________
>From: Eric Broch
><ebr...@whitehorsetc.com><mailto:ebr...@whitehorsetc.com>
>Sent: 07 April 2024 20:46
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>
>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    = '/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 it
>
>my $debugfile    = '/tmp/dkim.debug';
>
>save the file
>
>
>
>
>On 4/7/2024 9:01 AM, Biju Jose wrote:
>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
><ebr...@whitehorsetc.com><mailto:ebr...@whitehorsetc.com>
>Sent: 07 April 2024 20:06
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>
>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:
>@400000006612abd814cc842c warning: trouble injecting bounce message,
>will try later
>@400000006612abd814d79434 warning: trouble injecting bounce message,
>will try later
>@400000006612ac5419dfcd5c warning: trouble injecting bounce message,
>will try later
>@400000006612ac5419eda83c warning: trouble injecting bounce message,
>will try later
>@400000006612acd01e97e2e4 warning: trouble injecting bounce message,
>will try later
>@400000006612acd01ea413fc warning: trouble injecting bounce message,
>will try later
>@400000006612ad4c21f3b044 warning: trouble injecting bounce message,
>will try later
>@400000006612ad4c2202a07c warning: trouble injecting bounce message,
>will try later
>@400000006612adc825609c74 warning: trouble injecting bounce message,
>will try later
>@400000006612adc8256ce114 warning: trouble injecting bounce message,
>will try later
>________________________________
>From: Eric Broch
><ebr...@whitehorsetc.com><mailto:ebr...@whitehorsetc.com>
>Sent: 07 April 2024 19:59
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto:qmailtoaster-list@qmailtoaster.com>
>Subject: Re: [qmailtoaster] Re: I messed up DKIM setup
>
>
>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 <bijuko...@outlook.com><mailto:bijuko...@outlook.com>
>Sent: 07 April 2024 19:56
>To:
>qmailtoaster-list@qmailtoaster.com<mailto:qmailtoaster-list@qmailtoaster.com>
><qmailtoaster-list@qmailtoaster.com><mailto: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
>
>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

Reply via email to