LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-04-2009, 05:31 AM   #1
milindras
Member
 
Registered: May 2008
Posts: 31

Rep: Reputation: 15
Postfix stop working after you change an Alias


Hi all,
I have a strange problem on my Profix installed on a Ubuntu live web server.We are using postfix for sending & receiving mails. For a perticular virtual server if I change or deleted an existing Alias, it will stops sending & receiving emails for the whole server. I have attached the error when I get on those occations.
So to get into normal mail operation I have to delete the whole Alias & re-create it again as a fresh one.
For an example
info@mydomain.co.uk has an alias > name1@ctc-solutions.co.uk
If I add another one
info@mydomain.co.uk has an alias > name1@ctc-solutions.co.uk, name2@mydomain.co.uk
Its working fine. But if you edit a existing alias like
info@mydomain.co.uk has an alias > name1@ctc-solutions.co.uk, name2222@mydomain.co.uk
it will stop all mail sending & receiving
If you delete/change or etc.. name2222@mydomain.co.uk or the other one, but still mail not working.
If I delete the whole record & re create that, then it starts wroking.

Thanks
Milindra
Attached Files
File Type: txt postfix error.txt (14.1 KB, 10 views)
 
Old 06-04-2009, 05:43 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
This looks like the key.

64.18.7.10 does not like recipient.
Remote host said: 554 <milindra.senaratne@ctc-solutions.co.uk>: Relay access denied
Giving up on 64.18.7.10

What is that IP?
 
Old 06-04-2009, 05:52 AM   #3
milindras
Member
 
Registered: May 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
This looks like the key.

64.18.7.10 does not like recipient.
Remote host said: 554 <milindra.senaratne@ctc-solutions.co.uk>: Relay access denied
Giving up on 64.18.7.10

What is that IP?
The IP is not really familier. According to my knowledge we dont have that kind of IP. Any way to track or find about that?
thanks
 
Old 06-04-2009, 06:02 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you post "postconf -n" and a couple of offending alias lines (copy and pasted)
 
Old 06-04-2009, 06:13 AM   #5
milindras
Member
 
Registered: May 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
Can you post "postconf -n" and a couple of offending alias lines (copy and pasted)
root@ds2:real-root:~# postconf -n
alias_database = hash:/etc/postfix/virtual
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 20971520
mydestination = Remove the server details for security reasons, localhost
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual
root@ds2:real-root:~#


Sorry waht does mean that couple of offending alias lines?
thanks
 
Old 06-04-2009, 06:43 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why do you have virtual alias maps defined? Are you postmapping the alias file when you change it?
I meant to post lines from you alias file that cause the problem (not a re-type)
 
Old 06-04-2009, 08:49 AM   #7
milindras
Member
 
Registered: May 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Hi Im not a expert on Linux. Postfix was installed by someone else. Im adding the Aliases through webmin grapgical interface.
But if you can tell me which file you need to see, I can post that file for you.
Thanks
 
Old 06-04-2009, 03:54 PM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Don't bother then, but what about the rest of the questions?
 
Old 06-08-2009, 10:08 AM   #9
milindras
Member
 
Registered: May 2008
Posts: 31

Original Poster
Rep: Reputation: 15
The thing is if I change or delete an existing Alias it will stop sending/reveiving emails.
 
Old 11-19-2009, 09:17 AM   #10
milindras
Member
 
Registered: May 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Hi,
I still have this problem but found out the following.
If I edit or delete existing alias that will stop receive email(problem before).
Lets say I edited one (so it will stop recv emails).Then if I create a new alias (different one for any domain) that will starts work again as usual.
Does this make sence?
So it looks what ever happen when i edit/delete as alias automatically solve if I create another new one.
Can any expert say what is the connection on above 02 process?

Thanks
milindra
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix alias table problem.. unifiedquarks Linux - Server 2 08-09-2008 01:03 AM
postfix alias domains csaunders Red Hat 1 04-17-2007 11:44 AM
Postfix Alias Problem irishred Linux - Server 3 01-16-2007 02:12 PM
Postfix local catch-all alias cdhgee Linux - Software 2 06-30-2006 03:02 AM
Some questions regarding Stop-A, alias.. linuxtesting2 Solaris / OpenSolaris 13 03-27-2006 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration