Page 2 of 3

Re: Mails not working

Posted: Thu Feb 19, 2015 6:14 am
by mehargags
philly

check mail in your spam folder... usually a new server's mail is often trapped in SPAM/JUNK.

also open a new terminal and : tail -f /var/log/exim4/mainlog

then in another console issue this
echo "MailCheck- Test Mail sent $(date +"%T")" | mail -s Testing <youremailid.com>

then see in the Tail of exim log what happens to your email.

I'm no expert, but I've been exercising Email Sending problems very hard towards perfection... still learning!

The only way to debug is "check logs" (skurudo)

Re: Mails not working

Posted: Thu Feb 19, 2015 4:08 pm
by sanna
mehargags wrote:philly

check mail in your spam folder... usually a new server's mail is often trapped in SPAM/JUNK.

also open a new terminal and : tail -f /var/log/exim4/mainlog

then in another console issue this
echo "MailCheck- Test Mail sent $(date +"%T")" | mail -s Testing <youremailid.com>

then see in the Tail of exim log what happens to your email.

I'm no expert, but I've been exercising Email Sending problems very hard towards perfection... still learning!

The only way to debug is "check logs" (skurudo)
[root@srv1 exim]# tail -f /var/log/exim/main.log
2015-02-19 09:58:42 1YO0WV-0000Eg-T4 Message is frozen
2015-02-19 09:58:42 End queue run: pid=26686
2015-02-19 10:58:42 Start queue run: pid=31407
2015-02-19 10:58:42 1YNkg6-0007Q2-8z Message is frozen
2015-02-19 10:58:42 1YOMzy-0000NJ-Dl Message is frozen
2015-02-19 10:58:42 1YOD15-0005s1-FL Message is frozen
2015-02-19 10:58:42 1YO0WN-0008M8-GF Message is frozen
2015-02-19 10:58:42 1YO0WV-0000Eg-T4 Message is frozen
2015-02-19 10:58:42 1YON04-0000Oa-2E Message is frozen
2015-02-19 10:58:42 End queue run: pid=31407

after echo:
2015-02-19 11:10:22 1YOTgE-00005h-PK <= [email protected] U=root P=local S=422
2015-02-19 11:10:22 1YOTgE-00005h-PK ** [email protected] <[email protected]>: Unrouteable address
2015-02-19 11:10:22 1YOTgE-00005j-Rf <= <> R=1YOTgE-00005h-PK U=exim P=local S=1280
2015-02-19 11:10:22 1YOTgE-00005h-PK Completed
2015-02-19 11:10:22 1YOTgE-00005j-Rf ** [email protected]: Unrouteable address
2015-02-19 11:10:22 1YOTgE-00005j-Rf Frozen (delivery error message)
2015-02-19 11:11:17 1YOTh7-00005o-V0 <= [email protected] U=root P=local S=422
2015-02-19 11:11:17 1YOTh7-00005o-V0 ** [email protected] <[email protected]>: Unrouteable address
2015-02-19 11:11:17 1YOTh7-00005q-Vc <= <> R=1YOTh7-00005o-V0 U=exim P=local S=1280
2015-02-19 11:11:17 1YOTh7-00005o-V0 Completed
2015-02-19 11:11:18 1YOTh7-00005q-Vc ** [email protected]: Unrouteable address
2015-02-19 11:11:18 1YOTh7-00005q-Vc Frozen (delivery error message)

2015-02-19 11:12:31 1YOTiJ-00005z-Fu <= [email protected] U=root P=local S=422
2015-02-19 11:12:31 1YOTiJ-00005z-Fu ** [email protected] <[email protected]>: Unrouteable address
2015-02-19 11:12:31 1YOTiJ-000061-Gd <= <> R=1YOTiJ-00005z-Fu U=exim P=local S=1280
2015-02-19 11:12:31 1YOTiJ-000061-Gd ** [email protected]: Unrouteable address
2015-02-19 11:12:31 1YOTiJ-000061-Gd Frozen (delivery error message)
2015-02-19 11:12:31 1YOTiJ-00005z-Fu Completed

many thanks for support us :)

Re: Mails not working

Posted: Thu Feb 19, 2015 5:36 pm
by mehargags
Whats srv1.iacserver.com is that your hostname ?
cat /etc/hostname -- result?

do and exim -bt <[email protected]> for the addesses you see FROZEN queue and post results -- you may need the Magic Trick by Skurudo

nano /etc/exim4/exim4.conf.template
Change domains = !+local_domains to domains = *
to allow lookups for all domains

But if that is your local hosts -- why are you sending mails to yourself ?

may you need to do setup /etc/aliases
root = <your official email ID>

Re: Mails not working

Posted: Thu Feb 19, 2015 10:32 pm
by sanna
mehargags wrote:Whats srv1.iacserver.com is that your hostname ? YES
cat /etc/hostname -- result? no host

do and exim -bt <[email protected]> for the addesses you see FROZEN queue and post results -- you may need the Magic Trick by Skurudo

nano /etc/exim4/exim4.conf.template
Change domains = !+local_domains to domains = *
to allow lookups for all domains

But if that is your local hosts -- why are you sending mails to yourself ?

may you need to do setup /etc/aliases
root = <your official email ID>
many thanks,for help, my system: CentOS 5.9 32bit

"/etc/exim4/exim4.conf.template" I have /etc/exim/exim.conf not .template

if i do: setup /etc/aliases :

Text Mode Setup Utility 1.19.2 (c) 1999-2006 Red Hat, Inc.




┌────────┤ Choose a Tool ├─────────┐
│ │
│ Authentication configuration │
│ Firewall configuration │
│ Network configuration │
│ System services │
│ │
│ ┌──────────┐ ┌──────┐ │
│ │ Run Tool │ │ Quit │ │
│ └──────────┘ └──────┘ │
│ │
│ │
└──────────────────────────────────┘
What I have to do here.

my email is : affari @ mclink.it , I typed in the VestaCP installation

Re: Mails not working

Posted: Fri Feb 20, 2015 2:14 pm
by philly75
Exim still chooses to send out emails on random ports.

This is something to due with either vestacp configuration, clamvd, or something that is binding like this.

Re: Mails not working

Posted: Fri Feb 20, 2015 10:41 pm
by sanna
mehargags wrote:
But if that is your local hosts -- why are you sending mails to yourself ?

may you need to do setup /etc/aliases
root = <your official email ID>
in aliases I write this line:
root: [email protected]
# trap decode to catch security attacks
decode: root
# Person who should get root's mail
#root: iacopo

restarted Exim:

[root@srv1 /]# service exim restart
Shutting down exim: [ OK ]
Starting exim: [ OK ]

sent test email
[root@srv1 /]# echo test | mail -s "test message" root

no email in my inbox:

Re: Mails not working

Posted: Sat Feb 21, 2015 11:11 am
by drMacFaulty
This might also come in handy for you: http://bradthemad.org/tech/notes/exim_cheatsheet.php.
Here you can find commands which routes are picked when you send mail etc.

Hope this helps.

Re: Mails not working

Posted: Sat Feb 21, 2015 9:58 pm
by sanna
drMacFaulty wrote:This might also come in handy for you: http://bradthemad.org/tech/notes/exim_cheatsheet.php.
Here you can find commands which routes are picked when you send mail etc.

Hope this helps.
Many thanks for help me:drMac:

[root@srv1 ~]# exim -bP

[email protected]

148P Received: from exim by srv1.iacserver.com with local (Exim 4.77)
id 1YP5wz-0006px-Ru
for [email protected]; Sat, 21 Feb 2015 04:02:13 -0500
045 X-Failed-Recipients: [email protected]
029 Auto-Submitted: auto-replied
062F From: Mail Delivery System <[email protected]>
028T To: [email protected]
059 Subject: Mail delivery failed: returning message to sender
051I Message-Id: <[email protected]>
038 Date: Sat, 21 Feb 2015 04:02:13 -0500

Re: Mails not working

Posted: Tue Feb 24, 2015 11:59 pm
by sanna
In Vesta panel:

admin
System Administrator
Bandwidth: 9mb
Disk: 57mb
Web: 55mb Databases: 2mb
Mail: 0mb User Directories: 1mb
Web Domains: 1 / 100
DNS Domains: 1 / 100
Mail Domains: 0 / 100
Databases: 2 / 100
Cron Jobs: 7 / 100
Backups: 3 / 3
Email: affari @ mclink.it ----> my email
Package: default
SSH Access: bash
IP Addresses: 1
Name Servers: ns1.iacserver.com
ns2.iacserver.com

Re: Mails not working

Posted: Sun Mar 01, 2015 9:50 pm
by sanna
hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
104.194.14.77 srv1.iacserver.com srv1