Mails not working
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Mails not working
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)
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
[root@srv1 exim]# tail -f /var/log/exim/main.logmehargags 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)
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 :)
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Mails not working
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>
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
many thanks,for help, my system: CentOS 5.9 32bitmehargags 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>
"/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
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.
This is something to due with either vestacp configuration, clamvd, or something that is binding like this.
Re: Mails not working
in aliases I write this line: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>
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:
Last edited by sanna on Mon Mar 02, 2015 3:49 pm, edited 1 time in total.
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Re: Mails not working
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.
Here you can find commands which routes are picked when you send mail etc.
Hope this helps.
Re: Mails not working
Many thanks for help me:drMac: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.
[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
Last edited by sanna on Mon Mar 02, 2015 3:50 pm, edited 1 time in total.
Re: Mails not working
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
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
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
# 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
Last edited by sanna on Mon Mar 02, 2015 3:51 pm, edited 1 time in total.