- edited description
Piler not receiving mail.
Hi, im having some problems archiving mail from my Gateway. It's a spam filter called Mailcleaner and i has a archiving option, i typed inn the adresse and port of the piler but nothing seems to happen on the piler. The mailcleaner are using Exim to handle mail, and i read here how it should be configured But the exim file inside the gateway seems to look very different, you can download both of the exim.conf files which seems to have anything to do with archiving here. Could someone maybe take a look at them to see if they are configured right? Or is there anything i need to configure on the Piler to make receive mail? I know this most likely isn't a bug issue, its just me who are a little over my head. But i would still appreciate any help on this, thank :)
I also just noticed that on your demo page it shows "SMTP status: piler: OK" on mine it only says "SMTP status: smarthost: OK"
Comments (7)
-
reporter -
repo owner Check the mail log on the piler host. If piler received anything, it would appear in the logs. For starters telnet to piler host port 25 from the mail server. Can you see an answer? Does it appear in the piler mail log?
-
repo owner -
assigned issue to
- marked as task
- marked as trivial
-
assigned issue to
-
reporter Thanks for the reply. I just checked the logs on the pilar host after restarting the service, this is what is shown on the log file.
Oct 12 09:23:45 archive piler[30434]: piler has been terminated Oct 12 09:23:47 archive piler[16138]: reloaded config: /usr/local/etc/piler.conf Oct 12 09:23:47 archive piler[16138]: piler 1.1.1, build 904 starting
It seems to start as it should, it didn't find any other error but the logg is filled with this
Oct 12 09:35:02 archive logger: INDEXER INFO: indexing delta1 finished Oct 12 09:35:07 archive logger: INDEXER INFO: merging delta to dailydelta started Oct 12 09:35:07 archive logger: INDEXER INFO: merging delta to dailydelta finished Oct 12 10:05:01 archive logger: INDEXER INFO: indexing delta1 started Oct 12 10:05:02 archive logger: INDEXER INFO: indexing delta1 finished Oct 12 10:05:07 archive logger: INDEXER INFO: merging delta to dailydelta started Oct 12 10:05:07 archive logger: INDEXER INFO: merging delta to dailydelta finished
I also tried to telnet to both port 25 and 587 and both connected as they should. This was also shown in the log "archive piler[30440]: connection from 192.168..**" I also did a netstat to see what ports the server was listening to, this was my output.
Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:mysql *:* LISTEN tcp 0 0 *:submission *:* LISTEN tcp 0 0 localhost:11211 *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 *:ssh *:* LISTEN tcp 0 0 localhost:smtp *:* LISTEN tcp 0 0 localhost:9306 *:* LISTEN tcp 0 0 *:44668 *:* LISTEN tcp 0 0 localhost:9312 *:* LISTEN tcp6 0 0 [::]:sunrpc [::]:* LISTEN tcp6 0 0 [::]:http [::]:* LISTEN tcp6 0 0 [::]:ssh [::]:* LISTEN tcp6 0 0 localhost:smtp [::]:* LISTEN tcp6 0 0 [::]:49478 [::]:* LISTEN udp 0 0 *:47797 *:* udp 0 0 *:18197 *:* udp 0 0 localhost:11211 *:* udp 0 0 *:975 *:* udp 0 0 localhost:1018 *:* udp 0 0 *:bootpc *:* udp 0 0 *:sunrpc *:* udp6 0 0 [::]:55988 [::]:* udp6 0 0 [::]:26383 [::]:* udp6 0 0 [::]:975 [::]:* udp6 0 0 [::]:sunrpc [::]:* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 4952 /var/run/rpcbind.sock unix 2 [ ACC ] SEQPACKET LISTENING 3200 /run/udev/control unix 2 [ ACC ] STREAM LISTENING 23235 /var/run/dbus/system_ bus_socket unix 2 [ ACC ] STREAM LISTENING 21736 /var/run/mysqld/mysql d.sock unix 2 [ ACC ] STREAM LISTENING 5361 /var/run/acpid.socket
I might also add that i followed this tutorial.
-
repo owner You have something (postfix, exim, ... probably), thus piler can't bind to 0.0.0.0:25. Fix piler.conf by editing the listen_addr parameter, and define your ip-address, then try starting piler again.
-
reporter Thanks for the help, finally made it work. What i was doing wrong was installing "Standard System Utilities" software on the debian installation which included exim, so port 25 ended up beening occupied.
-
repo owner - changed status to resolved
You are welcome.
- Log in to comment