Unable to send e-mail

2011-10-19 Thread Tolga

Hi,

I am using postfixadmin to add mailboxes.

Oct 19 15:40:01 vps postfix/pickup[3517]: 5DBFA4100B2B: uid=1005 from=iegg
Oct 19 15:40:01 vps postfix/cleanup[3575]: 5DBFA4100B2B: 
message-id=20111019124001.5dbfa4100...@mail.bilgisayarciniz.org
Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: 
from=i...@vps.ozses.net, size=652, nrcpt=1 (queue active)
Oct 19 15:40:01 vps postfix/smtp[3577]: 5DBFA4100B2B: 
to=i...@vps.ozses.net, orig_to=iegg, relay=none, delay=0.04, 
delays=0.02/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or domain name 
not found. Name service error for name=vps.ozses.net type=A: Host not found)
Oct 19 15:40:01 vps postfix/cleanup[3575]: 66B774100B2C: 
message-id=20111019124001.66b774100...@mail.bilgisayarciniz.org
Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: from=, 
size=2672, nrcpt=1 (queue active)
Oct 19 15:40:01 vps postfix/bounce[3579]: 5DBFA4100B2B: sender 
non-delivery notification: 66B774100B2C

Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: removed
Oct 19 15:40:01 vps postfix/smtp[3577]: 66B774100B2C: 
to=i...@vps.ozses.net, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.4, 
status=bounced (Host or domain name not found. Name service error for 
name=vps.ozses.net type=A: Host not found)

Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: removed

I have these logs and below postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_command = procmail -a $EXTENSION
mailbox_size_limit = 0
mydestination = localhost
myhostname = mail.bilgisayarciniz.org
mynetworks = 127.0.0.0/8 127.0.0.2/32 184.82.40.0/24
myorigin = /etc/mailname
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_sasl_authenticated,  
permit_mynetworks,  reject_unauth_destination,  
reject_non_fqdn_hostname,  reject_non_fqdn_sender,  
reject_non_fqdn_recipient,  reject_unauth_pipelining,  
reject_invalid_hostname,  reject_rbl_client sbl.spamhaus.org,  
reject_rbl_client xbl.spamhaus.org

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /srv/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 100
virtual_transport = virtual
virtual_uid_maps = static:5000

When I add a new mailbox, I get Unable to send e-mail from 
postfixadmin. Where should I look for the problem?


Regards,


Re: Unable to send e-mail

2011-10-19 Thread Robert Schetterer
Am 19.10.2011 14:57, schrieb Tolga:
 Hi,
 
 I am using postfixadmin to add mailboxes.
 
 Oct 19 15:40:01 vps postfix/pickup[3517]: 5DBFA4100B2B: uid=1005
 from=iegg
 Oct 19 15:40:01 vps postfix/cleanup[3575]: 5DBFA4100B2B:
 message-id=20111019124001.5dbfa4100...@mail.bilgisayarciniz.org
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B:
 from=i...@vps.ozses.net, size=652, nrcpt=1 (queue active)
 Oct 19 15:40:01 vps postfix/smtp[3577]: 5DBFA4100B2B:
 to=i...@vps.ozses.net, orig_to=iegg, relay=none, delay=0.04,
 delays=0.02/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or domain name
 not found. Name service error for name=vps.ozses.net type=A: Host not
 found)
 Oct 19 15:40:01 vps postfix/cleanup[3575]: 66B774100B2C:
 message-id=20111019124001.66b774100...@mail.bilgisayarciniz.org
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: from=,
 size=2672, nrcpt=1 (queue active)
 Oct 19 15:40:01 vps postfix/bounce[3579]: 5DBFA4100B2B: sender
 non-delivery notification: 66B774100B2C
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: removed
 Oct 19 15:40:01 vps postfix/smtp[3577]: 66B774100B2C:
 to=i...@vps.ozses.net, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.4,
 status=bounced (Host or domain name not found. Name service error for
 name=vps.ozses.net type=A: Host not found)
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: removed
 
 I have these logs and below postconf -n:
 
 alias_database = hash:/etc/aliases
 alias_maps = hash:/etc/aliases
 append_dot_mydomain = no
 biff = no
 broken_sasl_auth_clients = yes
 config_directory = /etc/postfix
 html_directory = /usr/share/doc/postfix/html
 inet_interfaces = all
 mailbox_command = procmail -a $EXTENSION
 mailbox_size_limit = 0
 mydestination = localhost
 myhostname = mail.bilgisayarciniz.org
 mynetworks = 127.0.0.0/8 127.0.0.2/32 184.82.40.0/24
 myorigin = /etc/mailname
 readme_directory = /usr/share/doc/postfix
 recipient_delimiter = +
 relayhost =
 smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
 smtpd_recipient_restrictions = permit_sasl_authenticated, 
 permit_mynetworks,  reject_unauth_destination, 
 reject_non_fqdn_hostname,  reject_non_fqdn_sender, 
 reject_non_fqdn_recipient,  reject_unauth_pipelining, 
 reject_invalid_hostname,  reject_rbl_client sbl.spamhaus.org, 
 reject_rbl_client xbl.spamhaus.org
 smtpd_sasl_auth_enable = yes
 smtpd_sasl_local_domain = $myhostname
 smtpd_sasl_path = private/auth
 smtpd_sasl_security_options = noanonymous
 smtpd_sasl_type = dovecot
 virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
 virtual_gid_maps = static:5000
 virtual_mailbox_base = /srv/vmail
 virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
 virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
 virtual_minimum_uid = 100
 virtual_transport = virtual
 virtual_uid_maps = static:5000
 
 When I add a new mailbox, I get Unable to send e-mail from
 postfixadmin. Where should I look for the problem?
 
 Regards,

havent looked all

but
vps.ozses.net does not exist in dns
so its ok to bounce

dig vps.ozses.net

;  DiG 9.7.0-P1  vps.ozses.net
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 56623
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;vps.ozses.net. IN  A

;; AUTHORITY SECTION:
ozses.net.  3600IN  SOA ns01.ozses.net.
root.ozses.net. 2011100101 10800 15 604800 10800

;; Query time: 112 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 19 14:59:42 2011
;; MSG SIZE  rcvd: 77


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: Unable to send e-mail

2011-10-19 Thread Reindl Harald


Am 19.10.2011 14:57, schrieb Tolga:
 Oct 19 15:40:01 vps postfix/pickup[3517]: 5DBFA4100B2B: uid=1005 from=iegg
 Oct 19 15:40:01 vps postfix/cleanup[3575]: 5DBFA4100B2B:
 message-id=20111019124001.5dbfa4100...@mail.bilgisayarciniz.org
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: 
 from=i...@vps.ozses.net, size=652, nrcpt=1 (queue active)
 Oct 19 15:40:01 vps postfix/smtp[3577]: 5DBFA4100B2B: 
 to=i...@vps.ozses.net, orig_to=iegg, relay=none,
 delay=0.04, delays=0.02/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or 
 domain name not found. Name service error
 for name=vps.ozses.net type=A: Host not found)
 Oct 19 15:40:01 vps postfix/cleanup[3575]: 66B774100B2C:
 message-id=20111019124001.66b774100...@mail.bilgisayarciniz.org
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: from=, size=2672, 
 nrcpt=1 (queue active)
 Oct 19 15:40:01 vps postfix/bounce[3579]: 5DBFA4100B2B: sender non-delivery 
 notification: 66B774100B2C
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: removed
 Oct 19 15:40:01 vps postfix/smtp[3577]: 66B774100B2C: 
 to=i...@vps.ozses.net, relay=none, delay=0, delays=0/0/0/0,
 dsn=5.4.4, status=bounced (Host or domain name not found. Name service error 
 for name=vps.ozses.net type=A: Host
 not found)
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: removed

what do you expect?
vps.ozses.net != ozses.net and has no MX or A-records



signature.asc
Description: OpenPGP digital signature


Re: Unable to send e-mail

2011-10-19 Thread Tolga



On 10/19/2011 04:01 PM, Reindl Harald wrote:


Am 19.10.2011 14:57, schrieb Tolga:

Oct 19 15:40:01 vps postfix/pickup[3517]: 5DBFA4100B2B: uid=1005 from=iegg
Oct 19 15:40:01 vps postfix/cleanup[3575]: 5DBFA4100B2B:
message-id=20111019124001.5dbfa4100...@mail.bilgisayarciniz.org
Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: 
from=i...@vps.ozses.net, size=652, nrcpt=1 (queue active)
Oct 19 15:40:01 vps postfix/smtp[3577]: 5DBFA4100B2B: to=i...@vps.ozses.net, 
orig_to=iegg, relay=none,
delay=0.04, delays=0.02/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or domain 
name not found. Name service error
for name=vps.ozses.net type=A: Host not found)
Oct 19 15:40:01 vps postfix/cleanup[3575]: 66B774100B2C:
message-id=20111019124001.66b774100...@mail.bilgisayarciniz.org
Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: from=, size=2672, 
nrcpt=1 (queue active)
Oct 19 15:40:01 vps postfix/bounce[3579]: 5DBFA4100B2B: sender non-delivery 
notification: 66B774100B2C
Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: removed
Oct 19 15:40:01 vps postfix/smtp[3577]: 66B774100B2C: to=i...@vps.ozses.net, 
relay=none, delay=0, delays=0/0/0/0,
dsn=5.4.4, status=bounced (Host or domain name not found. Name service error 
for name=vps.ozses.net type=A: Host
not found)
Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: removed

what do you expect?
vps.ozses.net != ozses.net and has no MX or A-records

Sorry, those were the logs of another transaction (didn't look closely 
enough :() For the postfixadmin transaction, I have no logs. Is this 
even possible?


Re: Unable to send e-mail

2011-10-19 Thread Reindl Harald


Am 19.10.2011 15:30, schrieb Tolga:
 what do you expect?
 vps.ozses.net != ozses.net and has no MX or A-records

 Sorry, those were the logs of another transaction (didn't look closely enough 
 :() 

 For the postfixadmin transaction,
 I have no logs. Is this even possible?

everything touching postfix is producing logs but if you get a error in
postfixadmin this has nothing to do with postfix himself

http://sourceforge.net/mail/?group_id=191583



signature.asc
Description: OpenPGP digital signature


Re: Unable to send e-mail

2011-10-19 Thread Tom Hendrikx
On 19/10/11 15:30, Tolga wrote:
 
 
 On 10/19/2011 04:01 PM, Reindl Harald wrote:

 Am 19.10.2011 14:57, schrieb Tolga:
 Oct 19 15:40:01 vps postfix/pickup[3517]: 5DBFA4100B2B: uid=1005
 from=iegg
 Oct 19 15:40:01 vps postfix/cleanup[3575]: 5DBFA4100B2B:
 message-id=20111019124001.5dbfa4100...@mail.bilgisayarciniz.org
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B:
 from=i...@vps.ozses.net, size=652, nrcpt=1 (queue active)
 Oct 19 15:40:01 vps postfix/smtp[3577]: 5DBFA4100B2B:
 to=i...@vps.ozses.net, orig_to=iegg, relay=none,
 delay=0.04, delays=0.02/0.01/0.01/0, dsn=5.4.4, status=bounced (Host
 or domain name not found. Name service error
 for name=vps.ozses.net type=A: Host not found)
 Oct 19 15:40:01 vps postfix/cleanup[3575]: 66B774100B2C:
 message-id=20111019124001.66b774100...@mail.bilgisayarciniz.org
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: from=,
 size=2672, nrcpt=1 (queue active)
 Oct 19 15:40:01 vps postfix/bounce[3579]: 5DBFA4100B2B: sender
 non-delivery notification: 66B774100B2C
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 5DBFA4100B2B: removed
 Oct 19 15:40:01 vps postfix/smtp[3577]: 66B774100B2C:
 to=i...@vps.ozses.net, relay=none, delay=0, delays=0/0/0/0,
 dsn=5.4.4, status=bounced (Host or domain name not found. Name
 service error for name=vps.ozses.net type=A: Host
 not found)
 Oct 19 15:40:01 vps postfix/qmgr[5859]: 66B774100B2C: removed
 what do you expect?
 vps.ozses.net != ozses.net and has no MX or A-records

 Sorry, those were the logs of another transaction (didn't look closely
 enough :() For the postfixadmin transaction, I have no logs. Is this
 even possible?
 

Postfixadmin will try to send the mail using the mail() function in
postfix. This command should work in the first place: check your PHP logs.

Most likely (but depending on your setup in php) this will handoff the
mail to the sendmail(1) binary on the webserver hosting postfixadmin.
This will try to send the message to the recipient: the mailaccount you
just created. If this message never arrives on your postfix mailserver
because something is wrong, there will be no postfix logging.

So: to check why postfixadmin cannot send the e-mail, check the error
logging of php/apache until you find an error line telling you why the
message could not be sent by PHP. This is not a postfix-related issue
until the message hits your postfix install.


-- 
Regards,
Tom