ik denk dat ik nader. op die SMS server staat er naast Postfix en Sendmail ook nog wat andere software die invloed heeft op het mailproces:
-SpamAssassin: zou blijkbaar manueel opgestart moeten worden via /usr/bin/spamd -d
- Procmail: geen idee wat dit doet, maar heb nu gedaan zoals ze hier zeggen want in de webmin stond die als blanco geconfigged:
Postfix SpamAssassin Procmail
zal server nu eens rebooten en zien wat het geeft want outgoing mail vanaf de exchange blijft nog steeds in queue van de linux hangen zonder error of iets, incoming nog niet getest.
edit: geen oplossing. er staat ook ClamAV op die server zie ik, tis te veel in één keer, dit is geen "simpele linux smtp server" meer
mijn /etc/postfix/main.cf
(vuile boel i know, al vanalles geprobeerd)
command_directory = /usr/sbin/
daemon_directory = /usr/libexec/postfix
mydestination = $mydomain, localhost.$mydomain, $myhostname
local_recipient_maps = $alias_maps unix

asswd.byname $virtual_mailbox_maps
unknown_local_recipient_reject_code = 550
home_mailbox = Maildir/
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/sbin/newaliases
mailq_path = /usr/sbin/mailq
setgid_group = postdrop
manpage_directory = /usr/man
sample_directory = /etc/postfix/sample
smtp_use_tls = yes
sendmail_path = /usr/sbin/sendmail
virtual_alias_maps = hash:/etc/postfix/virtual, $alias_maps
mail_spool_directory = /var/spool/mail
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_use_tls = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:2501
alias_maps = hash:/etc/mail/aliases, nis:mail.aliases
alias_database = hash:/etc/mail/aliases
smtpd_reject_unlisted_recipient = no
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
smtpd_tls_key_file = /etc/ssl/certs/dovecot.pem
smtpd_milters = unix:/var/run/clamav-milter/milter.sock
milter_default_action = accept
header_checks = regexp:/etc/postfix/header_checks
relayhost = uit.telenet.be
smtp_generic_maps = hash:/etc/postfix/generic
myorigin = $mydomain
mailbox_command = /usr/bin/procmail -f- -a "$USER"
en ivm die
masquerade (die topic van RpR), in die
postmap generic file ,wist ik ook niet meteen wat, waar en hoe te zetten, heb er dit van gemaakt:
...
#
# EXAMPLE
# The following shows a generic mapping with an indexed
# file. When mail is sent to a remote host via SMTP, this
# replaces
[email protected] by his ISP mail address,
# replaces
[email protected] by her ISP mail address,
# and replaces other local addresses by his ISP account,
# with an address extension of +local (this example assumes
# that the ISP supports "+" style address extensions).
#
# /etc/postfix/main.cf:
# smtp_generic_maps = hash:/etc/postfix/generic
#
# /etc/postfix/generic:
#
[email protected] [email protected]
#
# Execute the command "postmap /etc/postfix/generic" when-
# ever the table is changed. Instead of hash, some systems
# use dbm database files. To find out what tables your sys-
# tem supports use the command "postconf -m".
#
# BUGS
...
ter info, shpongle adres is fictief, vervangt mijn voornaam en achternaam.
en in de /var/log/maillog:
Aug 9 21:50:26 linux MailScanner[1847]: File checker failed with real error: Can't fork at /opt/MailScanner/lib/MailScanner/SweepOther.pm line 403.
op internet volgende oplossing:
http://www.bluequartz.us/phpBB2/viewtopic.php?p=452909&sid=d75ac8aeae4f655e9c5f58d9a04d6d42
reinstall Mailscanner...
tja een afgewerkt product is anders imo, zoiets moet toch ootb werken?
en wtf is Mailscanner anyway?? spamass, clamav, procmail???
2e edit: hmm na de spamass die niet vanzelf draait, blijkt ook
mailscanner niet te draaien, en zolang dat deze niet draait, is er geen mail delivery. heb deze nu gestart de mails in de queue zijn verdwenen maar komen niet aan, ook niet na reboot, ze zijn precies opgegeten, de log toont dat ze geremoved zijn, en ook dat de connectie met de exchange precies niet meer goed gaat:
Aug 9 22:22:37 mail MailScanner[2108]: Found 7 messages in the Processing Attempts Database
Aug 9 22:22:38 mail MailScanner[2108]: Using locktype = flock
Aug 9 22:23:08 mail postfix/postsuper[2426]: AC540C1DDB: removed
Aug 9 22:23:08 mail postfix/postsuper[2426]: Deleted: 1 message
Aug 9 22:23:25 mail postfix/smtpd[2509]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Aug 9 22:23:25 mail postfix/smtpd[2509]: connect from exchange.domain.local[192.168.1.200]
Aug 9 22:23:26 mail postfix/cleanup[2511]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Aug 9 22:23:26 mail postfix/smtpd[2509]: 15F16C1DDB: client=exchange.domain.local[192.168.1.200]
Aug 9 22:23:26 mail postfix/cleanup[2511]: 15F16C1DDB: hold: header Received: from exchange.domain.local (exchange.domain.local [192.168.1.200])??by mail.localdomain (Postfix) with ESMTPS id 15F16C1DDB??for <
[email protected]>; Mon, 9 Aug 2010 22:23:25 +0200 (CES from exchange.domain.local[192.168.1.200]; from=<
[email protected]> to=<
[email protected]> proto=ESMTP helo=<exchange.domain.local>
Aug 9 22:23:26 mail postfix/cleanup[2511]: 15F16C1DDB: message-id=<A5326445ECF11F41ABA34B651C6BEDD1018B5A8E4BDD@exchange.domain.local>
Aug 9 22:23:26 mail postfix/cleanup[2511]: 15F16C1DDB: milter-reject: END-OF-MESSAGE from exchange.domain.local[192.168.1.200]:
4.7.1 Service unavailable - try again later; from=<
[email protected]> to=<
[email protected]> proto=ESMTP helo=<exchange.domain.local>