mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 22:02:32 -06:00
[GH-ISSUE #33] MAIL_GW parameter #27
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/sendmailanalyzer#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dedisoft on GitHub (Nov 25, 2015).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/33
Hi,
I have some difficulties to configure the MAIL_GW parameter.
On file senders.dat, no relay is stored for mail managed by the server (the last field is empty on each line).
So there is non difference between external/internal mails.
Is this normal ?
Regards,
@darold commented on GitHub (Nov 25, 2015):
Hi,
I don't know. Could you post your configuration file and some email anonymized lines of your log file?
Regards
@dedisoft commented on GitHub (Nov 25, 2015):
Hi,
A precision : field is empty for mail on local delivery (domains managed by the server). Fields are ok for outgoing mail.
Lines from the mail.log :
Nov 22 07:48:09 plesk postfix/smtpd[18589]: connect from mta.smtp.wyz.com[1.2.3.4]
Nov 22 07:48:09 plesk postfix/smtpd[18589]: 47CDB2A5: client=mta.smtp.wyz.com[1.2.3.4]
Nov 22 07:48:09 plesk postfix/cleanup[19713]: 47CDB2A5: message-id=1-92040169-065-914012@domainsender.com
Nov 22 07:48:09 plesk /usr/lib/plesk-9.0/psa-pc-remote[9293]: handlers_stderr: SKIP
Nov 22 07:48:09 plesk /usr/lib/plesk-9.0/psa-pc-remote[9293]: SKIP during call 'check-quota' handler
Nov 22 07:48:09 plesk postfix/qmgr[9605]: 47CDB2A5: from=news@domainsender.com, size=22306, nrcpt=1 (queue active)
Nov 22 07:48:09 plesk postfix-local[19924]: postfix-local: from=news@domainsender.com, to=user@destdomain.net, dirname=/var/qmail/mailnames
Nov 22 07:48:09 plesk dovecot: service=lda, user=user@destdomain.net, ip=[]. copy from stdin: box=INBOX, uid=47792, msgid=1-92040169-065-914012@domainsender.com, size=22100
Nov 22 07:48:09 plesk dovecot: service=lda, user=user@destdomain.net, ip=[]. msgid=1-92040169-065-914012@domainsender.com: saved mail to INBOX
Nov 22 07:48:09 plesk plesk sendmail[19929]: handlers_stderr: SKIP
Nov 22 07:48:09 plesk plesk sendmail[19929]: SKIP during call 'check-quota' handler
Nov 22 07:48:09 plesk postfix/pipe[19715]: 47CDB2A5: to=user@destdomain.net, relay=plesk_virtual, delay=0.17, delays=0.11/0/0/0.06, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Nov 22 07:48:09 plesk postfix/qmgr[9605]: 47CDB2A5: removed
Regards,
@darold commented on GitHub (Nov 25, 2015):
Ok, you just need to add plesk_virtual to the list of host where mail are redirected or delivered, ex:
as message are distributed localy and the recipient relay is set to plesk_virtual. MAIL_GW must remain empty.
In the configutation file it is said that you must use ip addresses but this is in the case where recipient relay is written like follow:
in this case this sendmailanalyzer will extract the ip address and use it instead of fsqn. Here you just have a name, so sendmailanalyzer will take it as recipient relay/
Regards,